@togglhq/cli 1.11.4 → 1.11.5
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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-D1YXUttr.js → program-DA8QvT5D.js} +443 -162
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -9143,6 +9143,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9143
9143
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9144
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9145
9145
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9146
|
+
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."))),
|
|
9146
9147
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9147
9148
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9148
9149
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9204,6 +9205,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9204
9205
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9205
9206
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9206
9207
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9208
|
+
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."))),
|
|
9207
9209
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9208
9210
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9209
9211
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9386,6 +9388,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9386
9388
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9387
9389
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9388
9390
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9391
|
+
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."))),
|
|
9392
|
+
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."))),
|
|
9389
9393
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9390
9394
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9391
9395
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9550,6 +9554,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9550
9554
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9551
9555
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9552
9556
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9557
|
+
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."))),
|
|
9558
|
+
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."))),
|
|
9553
9559
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9554
9560
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9555
9561
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9780,6 +9786,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9780
9786
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9781
9787
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9782
9788
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9789
|
+
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."))),
|
|
9783
9790
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9784
9791
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9785
9792
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9816,6 +9823,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9816
9823
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9817
9824
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9818
9825
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9826
|
+
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."))),
|
|
9819
9827
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9820
9828
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9821
9829
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -10354,7 +10362,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10354
10362
|
}
|
|
10355
10363
|
//#endregion
|
|
10356
10364
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10357
|
-
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) {
|
|
10365
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10358
10366
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10359
10367
|
signal,
|
|
10360
10368
|
searchParams: buildSearchParams$2({
|
|
@@ -10405,7 +10413,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10405
10413
|
include_assignees,
|
|
10406
10414
|
include_parent_matches,
|
|
10407
10415
|
disable_aggregations,
|
|
10408
|
-
cf_filter
|
|
10416
|
+
cf_filter,
|
|
10417
|
+
recurring_occurrences_after,
|
|
10418
|
+
max_recurring_occurrences_after,
|
|
10419
|
+
recurring_task_read,
|
|
10420
|
+
include_projected_occurrences
|
|
10409
10421
|
})
|
|
10410
10422
|
}).json();
|
|
10411
10423
|
}
|
|
@@ -10480,16 +10492,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10480
10492
|
})
|
|
10481
10493
|
}).json();
|
|
10482
10494
|
}
|
|
10483
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10495
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10484
10496
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10485
10497
|
signal,
|
|
10486
10498
|
searchParams: buildSearchParams$2({
|
|
10487
10499
|
date_from,
|
|
10488
|
-
date_to
|
|
10500
|
+
date_to,
|
|
10501
|
+
skip_provider_refresh
|
|
10489
10502
|
})
|
|
10490
10503
|
}).json();
|
|
10491
10504
|
}
|
|
10492
|
-
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) {
|
|
10505
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10493
10506
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10494
10507
|
signal,
|
|
10495
10508
|
searchParams: buildSearchParams$2({
|
|
@@ -10505,11 +10518,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10505
10518
|
assignee_team_id,
|
|
10506
10519
|
assignee_user_id,
|
|
10507
10520
|
tag_id,
|
|
10508
|
-
include_assignees
|
|
10521
|
+
include_assignees,
|
|
10522
|
+
recurring_occurrences_after,
|
|
10523
|
+
max_recurring_occurrences_after,
|
|
10524
|
+
recurring_task_read,
|
|
10525
|
+
include_projected_occurrences
|
|
10509
10526
|
})
|
|
10510
10527
|
}).json();
|
|
10511
10528
|
}
|
|
10512
|
-
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) {
|
|
10529
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10513
10530
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10514
10531
|
signal,
|
|
10515
10532
|
searchParams: buildSearchParams$2({
|
|
@@ -10554,7 +10571,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10554
10571
|
recurring_task_ids,
|
|
10555
10572
|
client_id,
|
|
10556
10573
|
include_assignees,
|
|
10557
|
-
cf_filter
|
|
10574
|
+
cf_filter,
|
|
10575
|
+
recurring_occurrences_after,
|
|
10576
|
+
max_recurring_occurrences_after,
|
|
10577
|
+
recurring_task_read,
|
|
10578
|
+
include_projected_occurrences
|
|
10558
10579
|
})
|
|
10559
10580
|
}).json();
|
|
10560
10581
|
}
|
|
@@ -10609,6 +10630,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10609
10630
|
})
|
|
10610
10631
|
}).json();
|
|
10611
10632
|
}
|
|
10633
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10634
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10635
|
+
signal,
|
|
10636
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10637
|
+
}).json();
|
|
10638
|
+
}
|
|
10612
10639
|
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) {
|
|
10613
10640
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10614
10641
|
signal,
|
|
@@ -10745,16 +10772,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10745
10772
|
})
|
|
10746
10773
|
}).json();
|
|
10747
10774
|
}
|
|
10748
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10775
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10749
10776
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10750
10777
|
signal,
|
|
10751
|
-
json: data
|
|
10778
|
+
json: data,
|
|
10779
|
+
searchParams: buildSearchParams$2({
|
|
10780
|
+
from_recurring_task_id,
|
|
10781
|
+
return_occurrence
|
|
10782
|
+
})
|
|
10752
10783
|
}).json();
|
|
10753
10784
|
}
|
|
10754
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10785
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10755
10786
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10756
10787
|
signal,
|
|
10757
|
-
json: data
|
|
10788
|
+
json: data,
|
|
10789
|
+
searchParams: buildSearchParams$2({
|
|
10790
|
+
from_recurring_task_id,
|
|
10791
|
+
return_occurrence
|
|
10792
|
+
})
|
|
10758
10793
|
}).json();
|
|
10759
10794
|
}
|
|
10760
10795
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10805,7 +10840,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10805
10840
|
json: data
|
|
10806
10841
|
}).json();
|
|
10807
10842
|
}
|
|
10808
|
-
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) {
|
|
10843
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10809
10844
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10810
10845
|
signal,
|
|
10811
10846
|
searchParams: buildSearchParams$2({
|
|
@@ -10813,6 +10848,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10813
10848
|
date_to,
|
|
10814
10849
|
task_id,
|
|
10815
10850
|
status_id,
|
|
10851
|
+
project_id,
|
|
10816
10852
|
type,
|
|
10817
10853
|
order_by,
|
|
10818
10854
|
archived,
|
|
@@ -10836,19 +10872,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10836
10872
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10837
10873
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10838
10874
|
}
|
|
10839
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10875
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10840
10876
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10841
10877
|
signal,
|
|
10842
|
-
json: data
|
|
10878
|
+
json: data,
|
|
10879
|
+
searchParams: buildSearchParams$2({
|
|
10880
|
+
from_recurring_task_id,
|
|
10881
|
+
return_occurrence
|
|
10882
|
+
})
|
|
10843
10883
|
}).json();
|
|
10844
10884
|
}
|
|
10845
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10846
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10885
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10886
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10887
|
+
signal,
|
|
10888
|
+
searchParams: buildSearchParams$2({
|
|
10889
|
+
from_recurring_task_id,
|
|
10890
|
+
return_occurrence
|
|
10891
|
+
})
|
|
10892
|
+
}).json();
|
|
10847
10893
|
}
|
|
10848
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10894
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10849
10895
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10850
10896
|
signal,
|
|
10851
|
-
json: data
|
|
10897
|
+
json: data,
|
|
10898
|
+
searchParams: buildSearchParams$2({
|
|
10899
|
+
from_recurring_task_id,
|
|
10900
|
+
return_occurrence
|
|
10901
|
+
})
|
|
10852
10902
|
}).json();
|
|
10853
10903
|
}
|
|
10854
10904
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14706,13 +14756,14 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14706
14756
|
}
|
|
14707
14757
|
//#endregion
|
|
14708
14758
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14709
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14759
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14710
14760
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14711
14761
|
signal,
|
|
14712
14762
|
searchParams: buildSearchParams$2({
|
|
14713
14763
|
workspace_id,
|
|
14714
14764
|
entity_type,
|
|
14715
14765
|
entity_id,
|
|
14766
|
+
project_id,
|
|
14716
14767
|
action,
|
|
14717
14768
|
user_id,
|
|
14718
14769
|
page_size,
|
|
@@ -14721,12 +14772,13 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14721
14772
|
})
|
|
14722
14773
|
}).json();
|
|
14723
14774
|
}
|
|
14724
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14775
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14725
14776
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14726
14777
|
signal,
|
|
14727
14778
|
searchParams: buildSearchParams$2({
|
|
14728
14779
|
entity_type,
|
|
14729
14780
|
entity_id,
|
|
14781
|
+
project_id,
|
|
14730
14782
|
action,
|
|
14731
14783
|
user_id,
|
|
14732
14784
|
page_size,
|
|
@@ -14879,13 +14931,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14879
14931
|
}
|
|
14880
14932
|
//#endregion
|
|
14881
14933
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14882
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14934
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14883
14935
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14884
14936
|
signal,
|
|
14885
14937
|
searchParams: buildSearchParams$2({
|
|
14886
|
-
user_id,
|
|
14887
14938
|
start_date,
|
|
14888
14939
|
end_date,
|
|
14940
|
+
user_id,
|
|
14941
|
+
team_id,
|
|
14889
14942
|
private: private_,
|
|
14890
14943
|
task_source,
|
|
14891
14944
|
unit,
|
|
@@ -14945,6 +14998,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14945
14998
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14946
14999
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14947
15000
|
}
|
|
15001
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15002
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15003
|
+
}
|
|
15004
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15005
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15006
|
+
signal,
|
|
15007
|
+
json: data
|
|
15008
|
+
}).json();
|
|
15009
|
+
}
|
|
14948
15010
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14949
15011
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14950
15012
|
signal,
|
|
@@ -15252,9 +15314,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15252
15314
|
json: data
|
|
15253
15315
|
}).json();
|
|
15254
15316
|
}
|
|
15255
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15256
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15257
|
-
}
|
|
15258
15317
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15259
15318
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15260
15319
|
}
|
|
@@ -15558,9 +15617,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15558
15617
|
}
|
|
15559
15618
|
//#endregion
|
|
15560
15619
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15561
|
-
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) {
|
|
15620
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15562
15621
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15563
15622
|
signal,
|
|
15623
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15564
15624
|
searchParams: buildSearchParams$2({
|
|
15565
15625
|
project_id,
|
|
15566
15626
|
source,
|
|
@@ -15589,13 +15649,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15589
15649
|
min_days,
|
|
15590
15650
|
include_drafts,
|
|
15591
15651
|
cf_filter,
|
|
15592
|
-
user_cf_filter
|
|
15652
|
+
user_cf_filter,
|
|
15653
|
+
recurring_occurrences_after,
|
|
15654
|
+
max_recurring_occurrences_after,
|
|
15655
|
+
recurring_task_read,
|
|
15656
|
+
include_projected_occurrences
|
|
15593
15657
|
})
|
|
15594
15658
|
}).json();
|
|
15595
15659
|
}
|
|
15596
|
-
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) {
|
|
15660
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
15597
15661
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15598
15662
|
signal,
|
|
15663
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15599
15664
|
searchParams: buildSearchParams$2({
|
|
15600
15665
|
team_id,
|
|
15601
15666
|
project_id,
|
|
@@ -15624,13 +15689,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15624
15689
|
min_days,
|
|
15625
15690
|
include_drafts,
|
|
15626
15691
|
cf_filter,
|
|
15627
|
-
user_cf_filter
|
|
15692
|
+
user_cf_filter,
|
|
15693
|
+
recurring_occurrences_after,
|
|
15694
|
+
max_recurring_occurrences_after,
|
|
15695
|
+
recurring_task_read,
|
|
15696
|
+
include_projected_occurrences
|
|
15628
15697
|
})
|
|
15629
15698
|
}).json();
|
|
15630
15699
|
}
|
|
15631
|
-
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) {
|
|
15700
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15632
15701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15633
15702
|
signal,
|
|
15703
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15634
15704
|
searchParams: buildSearchParams$2({
|
|
15635
15705
|
source,
|
|
15636
15706
|
priority,
|
|
@@ -15660,6 +15730,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15660
15730
|
include_drafts,
|
|
15661
15731
|
cf_filter,
|
|
15662
15732
|
user_cf_filter,
|
|
15733
|
+
recurring_occurrences_after,
|
|
15734
|
+
max_recurring_occurrences_after,
|
|
15735
|
+
recurring_task_read,
|
|
15736
|
+
include_projected_occurrences,
|
|
15663
15737
|
page,
|
|
15664
15738
|
per_page,
|
|
15665
15739
|
order_by
|
|
@@ -15895,6 +15969,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15895
15969
|
}
|
|
15896
15970
|
//#endregion
|
|
15897
15971
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15972
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15973
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15974
|
+
}
|
|
15975
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15976
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15977
|
+
}
|
|
15898
15978
|
async function getUserSettings(httpClient, signal) {
|
|
15899
15979
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15900
15980
|
}
|
|
@@ -16138,10 +16218,11 @@ const generatedFocusOperations = [
|
|
|
16138
16218
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16139
16219
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16140
16220
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16141
|
-
from: /* @__PURE__ */
|
|
16221
|
+
from: /* @__PURE__ */ string$1(),
|
|
16142
16222
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16143
16223
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16144
|
-
|
|
16224
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16225
|
+
to: /* @__PURE__ */ string$1(),
|
|
16145
16226
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16146
16227
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16147
16228
|
}),
|
|
@@ -16178,10 +16259,11 @@ const generatedFocusOperations = [
|
|
|
16178
16259
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16179
16260
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16180
16261
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16181
|
-
from: /* @__PURE__ */
|
|
16262
|
+
from: /* @__PURE__ */ string$1(),
|
|
16182
16263
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16183
16264
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16184
|
-
|
|
16265
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16266
|
+
to: /* @__PURE__ */ string$1(),
|
|
16185
16267
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16186
16268
|
}),
|
|
16187
16269
|
execute: (input, { client }) => {
|
|
@@ -16214,12 +16296,13 @@ const generatedFocusOperations = [
|
|
|
16214
16296
|
mcp: { entityTool: "capacities" },
|
|
16215
16297
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16216
16298
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16217
|
-
group: /* @__PURE__ */
|
|
16299
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16218
16300
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16219
16301
|
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16220
16302
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16221
16303
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16222
16304
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16305
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16223
16306
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16224
16307
|
user_id: /* @__PURE__ */ number$2()
|
|
16225
16308
|
}),
|
|
@@ -16660,6 +16743,33 @@ const generatedFocusOperations = [
|
|
|
16660
16743
|
]));
|
|
16661
16744
|
}
|
|
16662
16745
|
},
|
|
16746
|
+
{
|
|
16747
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16748
|
+
family: "focus",
|
|
16749
|
+
resource: "custom-fields",
|
|
16750
|
+
action: "get-allowed-users",
|
|
16751
|
+
title: "Get Allowed Users Custom Fields",
|
|
16752
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16753
|
+
safety: "read",
|
|
16754
|
+
destructive: false,
|
|
16755
|
+
cli: {
|
|
16756
|
+
group: ["custom-fields"],
|
|
16757
|
+
command: "get-allowed-users",
|
|
16758
|
+
interactive: "available"
|
|
16759
|
+
},
|
|
16760
|
+
mcp: { entityTool: "custom-fields" },
|
|
16761
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16762
|
+
execute: (input, { client }) => {
|
|
16763
|
+
const data = input;
|
|
16764
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16765
|
+
client.httpClient,
|
|
16766
|
+
client.organizationId,
|
|
16767
|
+
client.workspaceIdNumber,
|
|
16768
|
+
data.custom_field_id,
|
|
16769
|
+
void 0
|
|
16770
|
+
]));
|
|
16771
|
+
}
|
|
16772
|
+
},
|
|
16663
16773
|
{
|
|
16664
16774
|
id: "focus.custom-fields.list",
|
|
16665
16775
|
family: "focus",
|
|
@@ -16829,6 +16939,37 @@ const generatedFocusOperations = [
|
|
|
16829
16939
|
]));
|
|
16830
16940
|
}
|
|
16831
16941
|
},
|
|
16942
|
+
{
|
|
16943
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16944
|
+
family: "focus",
|
|
16945
|
+
resource: "custom-fields",
|
|
16946
|
+
action: "replace-custom-field-allowed-users",
|
|
16947
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16948
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16949
|
+
safety: "update",
|
|
16950
|
+
destructive: false,
|
|
16951
|
+
cli: {
|
|
16952
|
+
group: ["custom-fields"],
|
|
16953
|
+
command: "replace-custom-field-allowed-users",
|
|
16954
|
+
interactive: "default"
|
|
16955
|
+
},
|
|
16956
|
+
mcp: { entityTool: "custom-fields" },
|
|
16957
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16958
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16959
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16960
|
+
}),
|
|
16961
|
+
execute: (input, { client }) => {
|
|
16962
|
+
const data = input;
|
|
16963
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16964
|
+
client.httpClient,
|
|
16965
|
+
client.organizationId,
|
|
16966
|
+
client.workspaceIdNumber,
|
|
16967
|
+
data.custom_field_id,
|
|
16968
|
+
data.payload ?? data.data ?? data,
|
|
16969
|
+
void 0
|
|
16970
|
+
]));
|
|
16971
|
+
}
|
|
16972
|
+
},
|
|
16832
16973
|
{
|
|
16833
16974
|
id: "focus.custom-fields.update",
|
|
16834
16975
|
family: "focus",
|
|
@@ -16975,13 +17116,7 @@ const generatedFocusOperations = [
|
|
|
16975
17116
|
},
|
|
16976
17117
|
mcp: { entityTool: "goals" },
|
|
16977
17118
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
17119
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
-
name: /* @__PURE__ */ string$1(),
|
|
16984
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16985
17120
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16986
17121
|
"daily",
|
|
16987
17122
|
"weekly",
|
|
@@ -16989,12 +17124,18 @@ const generatedFocusOperations = [
|
|
|
16989
17124
|
"monthly"
|
|
16990
17125
|
]),
|
|
16991
17126
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16992
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16993
17127
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
-
|
|
16995
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17128
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16996
17129
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16997
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17130
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17131
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17132
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17133
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17134
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17135
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17136
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17137
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17138
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16998
17139
|
}) }),
|
|
16999
17140
|
execute: (input, { client }) => {
|
|
17000
17141
|
const data = input;
|
|
@@ -17100,13 +17241,6 @@ const generatedFocusOperations = [
|
|
|
17100
17241
|
},
|
|
17101
17242
|
mcp: { entityTool: "goals" },
|
|
17102
17243
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17103
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
17104
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17105
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17106
|
-
icon: /* @__PURE__ */ string$1(),
|
|
17107
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17108
|
-
name: /* @__PURE__ */ string$1(),
|
|
17109
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17110
17244
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17111
17245
|
"daily",
|
|
17112
17246
|
"weekly",
|
|
@@ -17114,12 +17248,19 @@ const generatedFocusOperations = [
|
|
|
17114
17248
|
"monthly"
|
|
17115
17249
|
]),
|
|
17116
17250
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17117
|
-
|
|
17118
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
17119
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17120
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17251
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17121
17252
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17122
|
-
|
|
17253
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17254
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17255
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17256
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17257
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17258
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17259
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17260
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17261
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17262
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17263
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17123
17264
|
}) }),
|
|
17124
17265
|
execute: (input, { client }) => {
|
|
17125
17266
|
const data = input;
|
|
@@ -17875,7 +18016,7 @@ const generatedFocusOperations = [
|
|
|
17875
18016
|
},
|
|
17876
18017
|
mcp: { entityTool: "projects" },
|
|
17877
18018
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17878
|
-
attachment_id: /* @__PURE__ */
|
|
18019
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
17879
18020
|
payload: /* @__PURE__ */ looseObject({
|
|
17880
18021
|
display_order: /* @__PURE__ */ number$2(),
|
|
17881
18022
|
name: /* @__PURE__ */ string$1()
|
|
@@ -18086,9 +18227,17 @@ const generatedFocusOperations = [
|
|
|
18086
18227
|
mcp: { entityTool: "projects" },
|
|
18087
18228
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18088
18229
|
payload: /* @__PURE__ */ looseObject({
|
|
18230
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18231
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18089
18232
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18090
18233
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18091
18234
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18235
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18236
|
+
"expire",
|
|
18237
|
+
"carry_all",
|
|
18238
|
+
"carry_over"
|
|
18239
|
+
])),
|
|
18240
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18092
18241
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18093
18242
|
}),
|
|
18094
18243
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18529,7 +18678,7 @@ const generatedFocusOperations = [
|
|
|
18529
18678
|
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18530
18679
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18531
18680
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18532
|
-
group: /* @__PURE__ */
|
|
18681
|
+
group: /* @__PURE__ */ string$1(),
|
|
18533
18682
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18534
18683
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18535
18684
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18634,29 +18783,6 @@ const generatedFocusOperations = [
|
|
|
18634
18783
|
]));
|
|
18635
18784
|
}
|
|
18636
18785
|
},
|
|
18637
|
-
{
|
|
18638
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18639
|
-
family: "focus",
|
|
18640
|
-
resource: "projects",
|
|
18641
|
-
action: "margin-targets-clear-workspace",
|
|
18642
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18643
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18644
|
-
safety: "delete",
|
|
18645
|
-
destructive: true,
|
|
18646
|
-
cli: {
|
|
18647
|
-
group: ["projects", "margin-targets"],
|
|
18648
|
-
command: "clear-workspace",
|
|
18649
|
-
interactive: "default"
|
|
18650
|
-
},
|
|
18651
|
-
mcp: { entityTool: "projects" },
|
|
18652
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18653
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18654
|
-
client.httpClient,
|
|
18655
|
-
client.organizationId,
|
|
18656
|
-
client.workspaceIdNumber,
|
|
18657
|
-
void 0
|
|
18658
|
-
]))
|
|
18659
|
-
},
|
|
18660
18786
|
{
|
|
18661
18787
|
id: "focus.projects.margin-targets-get",
|
|
18662
18788
|
family: "focus",
|
|
@@ -19262,13 +19388,13 @@ const generatedFocusOperations = [
|
|
|
19262
19388
|
cli: {
|
|
19263
19389
|
group: ["rates", "billable"],
|
|
19264
19390
|
command: "delete-project-billable-rate-range",
|
|
19265
|
-
interactive: "
|
|
19391
|
+
interactive: "default"
|
|
19266
19392
|
},
|
|
19267
19393
|
mcp: { entityTool: "rates" },
|
|
19268
19394
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19269
|
-
from: /* @__PURE__ */
|
|
19395
|
+
from: /* @__PURE__ */ string$1(),
|
|
19270
19396
|
project_id: /* @__PURE__ */ number$2(),
|
|
19271
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19397
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
19272
19398
|
}),
|
|
19273
19399
|
execute: (input, { client }) => {
|
|
19274
19400
|
const data = input;
|
|
@@ -19295,13 +19421,13 @@ const generatedFocusOperations = [
|
|
|
19295
19421
|
cli: {
|
|
19296
19422
|
group: ["rates", "billable"],
|
|
19297
19423
|
command: "delete-project-user-billable-rate-range",
|
|
19298
|
-
interactive: "
|
|
19424
|
+
interactive: "default"
|
|
19299
19425
|
},
|
|
19300
19426
|
mcp: { entityTool: "rates" },
|
|
19301
19427
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19302
|
-
from: /* @__PURE__ */
|
|
19428
|
+
from: /* @__PURE__ */ string$1(),
|
|
19303
19429
|
project_id: /* @__PURE__ */ number$2(),
|
|
19304
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19430
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19305
19431
|
user_id: /* @__PURE__ */ number$2()
|
|
19306
19432
|
}),
|
|
19307
19433
|
execute: (input, { client }) => {
|
|
@@ -19330,12 +19456,12 @@ const generatedFocusOperations = [
|
|
|
19330
19456
|
cli: {
|
|
19331
19457
|
group: ["rates", "billable"],
|
|
19332
19458
|
command: "delete-workspace-billable-rate-range",
|
|
19333
|
-
interactive: "
|
|
19459
|
+
interactive: "default"
|
|
19334
19460
|
},
|
|
19335
19461
|
mcp: { entityTool: "rates" },
|
|
19336
19462
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19337
|
-
from: /* @__PURE__ */
|
|
19338
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19463
|
+
from: /* @__PURE__ */ string$1(),
|
|
19464
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
19339
19465
|
}),
|
|
19340
19466
|
execute: (input, { client }) => {
|
|
19341
19467
|
const data = input;
|
|
@@ -19361,12 +19487,12 @@ const generatedFocusOperations = [
|
|
|
19361
19487
|
cli: {
|
|
19362
19488
|
group: ["rates", "billable"],
|
|
19363
19489
|
command: "delete-workspace-user-billable-rate-range",
|
|
19364
|
-
interactive: "
|
|
19490
|
+
interactive: "default"
|
|
19365
19491
|
},
|
|
19366
19492
|
mcp: { entityTool: "rates" },
|
|
19367
19493
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19368
|
-
from: /* @__PURE__ */
|
|
19369
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19494
|
+
from: /* @__PURE__ */ string$1(),
|
|
19495
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19370
19496
|
user_id: /* @__PURE__ */ number$2()
|
|
19371
19497
|
}),
|
|
19372
19498
|
execute: (input, { client }) => {
|
|
@@ -19797,13 +19923,13 @@ const generatedFocusOperations = [
|
|
|
19797
19923
|
cli: {
|
|
19798
19924
|
group: ["rates"],
|
|
19799
19925
|
command: "delete-project",
|
|
19800
|
-
interactive: "
|
|
19926
|
+
interactive: "default"
|
|
19801
19927
|
},
|
|
19802
19928
|
mcp: { entityTool: "rates" },
|
|
19803
19929
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19804
|
-
from: /* @__PURE__ */
|
|
19930
|
+
from: /* @__PURE__ */ string$1(),
|
|
19805
19931
|
project_id: /* @__PURE__ */ number$2(),
|
|
19806
|
-
to: /* @__PURE__ */
|
|
19932
|
+
to: /* @__PURE__ */ string$1()
|
|
19807
19933
|
}),
|
|
19808
19934
|
execute: (input, { client }) => {
|
|
19809
19935
|
const data = input;
|
|
@@ -20042,13 +20168,13 @@ const generatedFocusOperations = [
|
|
|
20042
20168
|
cli: {
|
|
20043
20169
|
group: ["rates", "labor"],
|
|
20044
20170
|
command: "delete-project-labor-cost-rate-range",
|
|
20045
|
-
interactive: "
|
|
20171
|
+
interactive: "default"
|
|
20046
20172
|
},
|
|
20047
20173
|
mcp: { entityTool: "rates" },
|
|
20048
20174
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20049
|
-
from: /* @__PURE__ */
|
|
20175
|
+
from: /* @__PURE__ */ string$1(),
|
|
20050
20176
|
project_id: /* @__PURE__ */ number$2(),
|
|
20051
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20177
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20052
20178
|
}),
|
|
20053
20179
|
execute: (input, { client }) => {
|
|
20054
20180
|
const data = input;
|
|
@@ -20075,13 +20201,13 @@ const generatedFocusOperations = [
|
|
|
20075
20201
|
cli: {
|
|
20076
20202
|
group: ["rates", "labor"],
|
|
20077
20203
|
command: "delete-project-user-labor-cost-rate-range",
|
|
20078
|
-
interactive: "
|
|
20204
|
+
interactive: "default"
|
|
20079
20205
|
},
|
|
20080
20206
|
mcp: { entityTool: "rates" },
|
|
20081
20207
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20082
|
-
from: /* @__PURE__ */
|
|
20208
|
+
from: /* @__PURE__ */ string$1(),
|
|
20083
20209
|
project_id: /* @__PURE__ */ number$2(),
|
|
20084
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20210
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20085
20211
|
user_id: /* @__PURE__ */ number$2()
|
|
20086
20212
|
}),
|
|
20087
20213
|
execute: (input, { client }) => {
|
|
@@ -20137,12 +20263,12 @@ const generatedFocusOperations = [
|
|
|
20137
20263
|
cli: {
|
|
20138
20264
|
group: ["rates", "labor"],
|
|
20139
20265
|
command: "delete-workspace-labor-cost-rate-range",
|
|
20140
|
-
interactive: "
|
|
20266
|
+
interactive: "default"
|
|
20141
20267
|
},
|
|
20142
20268
|
mcp: { entityTool: "rates" },
|
|
20143
20269
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20144
|
-
from: /* @__PURE__ */
|
|
20145
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20270
|
+
from: /* @__PURE__ */ string$1(),
|
|
20271
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20146
20272
|
}),
|
|
20147
20273
|
execute: (input, { client }) => {
|
|
20148
20274
|
const data = input;
|
|
@@ -20168,12 +20294,12 @@ const generatedFocusOperations = [
|
|
|
20168
20294
|
cli: {
|
|
20169
20295
|
group: ["rates", "labor"],
|
|
20170
20296
|
command: "delete-workspace-user-labor-cost-rate-range",
|
|
20171
|
-
interactive: "
|
|
20297
|
+
interactive: "default"
|
|
20172
20298
|
},
|
|
20173
20299
|
mcp: { entityTool: "rates" },
|
|
20174
20300
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20175
|
-
from: /* @__PURE__ */
|
|
20176
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20301
|
+
from: /* @__PURE__ */ string$1(),
|
|
20302
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20177
20303
|
user_id: /* @__PURE__ */ number$2()
|
|
20178
20304
|
}),
|
|
20179
20305
|
execute: (input, { client }) => {
|
|
@@ -20801,7 +20927,7 @@ const generatedFocusOperations = [
|
|
|
20801
20927
|
},
|
|
20802
20928
|
mcp: { entityTool: "reports" },
|
|
20803
20929
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20804
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20930
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
20805
20931
|
payload: /* @__PURE__ */ looseObject({
|
|
20806
20932
|
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20807
20933
|
aggregation: /* @__PURE__ */ looseObject({
|
|
@@ -20849,8 +20975,12 @@ const generatedFocusOperations = [
|
|
|
20849
20975
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20850
20976
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20851
20977
|
}),
|
|
20852
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20853
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20978
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20979
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20980
|
+
"csv",
|
|
20981
|
+
"xlsx",
|
|
20982
|
+
"pdf"
|
|
20983
|
+
]))
|
|
20854
20984
|
}),
|
|
20855
20985
|
execute: (input, { client }) => {
|
|
20856
20986
|
const data = input;
|
|
@@ -21000,7 +21130,11 @@ const generatedFocusOperations = [
|
|
|
21000
21130
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21001
21131
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21002
21132
|
}),
|
|
21003
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
21133
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21134
|
+
"csv",
|
|
21135
|
+
"xlsx",
|
|
21136
|
+
"pdf"
|
|
21137
|
+
]))
|
|
21004
21138
|
}),
|
|
21005
21139
|
execute: (input, { client }) => {
|
|
21006
21140
|
const data = input;
|
|
@@ -21025,10 +21159,10 @@ const generatedFocusOperations = [
|
|
|
21025
21159
|
cli: {
|
|
21026
21160
|
group: ["reportschedules"],
|
|
21027
21161
|
command: "delete-shared-report-schedule",
|
|
21028
|
-
interactive: "
|
|
21162
|
+
interactive: "default"
|
|
21029
21163
|
},
|
|
21030
21164
|
mcp: { entityTool: "reportschedules" },
|
|
21031
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21165
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21032
21166
|
execute: (input, { client }) => {
|
|
21033
21167
|
const data = input;
|
|
21034
21168
|
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
@@ -21055,15 +21189,17 @@ const generatedFocusOperations = [
|
|
|
21055
21189
|
},
|
|
21056
21190
|
mcp: { entityTool: "reportschedules" },
|
|
21057
21191
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21058
|
-
id: /* @__PURE__ */
|
|
21192
|
+
id: /* @__PURE__ */ number$2(),
|
|
21059
21193
|
payload: /* @__PURE__ */ looseObject({
|
|
21060
21194
|
cadence: /* @__PURE__ */ picklist$1([
|
|
21061
21195
|
"daily",
|
|
21062
21196
|
"weekly",
|
|
21063
21197
|
"monthly"
|
|
21064
21198
|
]),
|
|
21199
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21065
21200
|
time: /* @__PURE__ */ string$1(),
|
|
21066
21201
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21202
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21067
21203
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21068
21204
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21069
21205
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21092,11 +21228,11 @@ const generatedFocusOperations = [
|
|
|
21092
21228
|
cli: {
|
|
21093
21229
|
group: ["reportschedules"],
|
|
21094
21230
|
command: "upsert-shared-report-schedule",
|
|
21095
|
-
interactive: "
|
|
21231
|
+
interactive: "default"
|
|
21096
21232
|
},
|
|
21097
21233
|
mcp: { entityTool: "reportschedules" },
|
|
21098
21234
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21099
|
-
id: /* @__PURE__ */
|
|
21235
|
+
id: /* @__PURE__ */ number$2(),
|
|
21100
21236
|
payload: /* @__PURE__ */ looseObject({
|
|
21101
21237
|
cadence: /* @__PURE__ */ picklist$1([
|
|
21102
21238
|
"daily",
|
|
@@ -21348,11 +21484,11 @@ const generatedFocusOperations = [
|
|
|
21348
21484
|
cli: {
|
|
21349
21485
|
group: ["sharedreports"],
|
|
21350
21486
|
command: "add-shared-report-grants",
|
|
21351
|
-
interactive: "
|
|
21487
|
+
interactive: "default"
|
|
21352
21488
|
},
|
|
21353
21489
|
mcp: { entityTool: "sharedreports" },
|
|
21354
21490
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21355
|
-
id: /* @__PURE__ */
|
|
21491
|
+
id: /* @__PURE__ */ number$2(),
|
|
21356
21492
|
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21357
21493
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21358
21494
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -21382,10 +21518,10 @@ const generatedFocusOperations = [
|
|
|
21382
21518
|
cli: {
|
|
21383
21519
|
group: ["sharedreports"],
|
|
21384
21520
|
command: "get-saved-view-shared-report",
|
|
21385
|
-
interactive: "
|
|
21521
|
+
interactive: "available"
|
|
21386
21522
|
},
|
|
21387
21523
|
mcp: { entityTool: "sharedreports" },
|
|
21388
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21524
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21389
21525
|
execute: (input, { client }) => {
|
|
21390
21526
|
const data = input;
|
|
21391
21527
|
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
@@ -21408,10 +21544,10 @@ const generatedFocusOperations = [
|
|
|
21408
21544
|
cli: {
|
|
21409
21545
|
group: ["sharedreports"],
|
|
21410
21546
|
command: "get-shared-report-for-viewer",
|
|
21411
|
-
interactive: "
|
|
21547
|
+
interactive: "available"
|
|
21412
21548
|
},
|
|
21413
21549
|
mcp: { entityTool: "sharedreports" },
|
|
21414
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21550
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21415
21551
|
execute: (input, { client }) => {
|
|
21416
21552
|
const data = input;
|
|
21417
21553
|
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
@@ -21478,12 +21614,12 @@ const generatedFocusOperations = [
|
|
|
21478
21614
|
cli: {
|
|
21479
21615
|
group: ["sharedreports"],
|
|
21480
21616
|
command: "revoke-shared-report-grant",
|
|
21481
|
-
interactive: "
|
|
21617
|
+
interactive: "default"
|
|
21482
21618
|
},
|
|
21483
21619
|
mcp: { entityTool: "sharedreports" },
|
|
21484
21620
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21485
21621
|
grant_id: /* @__PURE__ */ number$2(),
|
|
21486
|
-
id: /* @__PURE__ */
|
|
21622
|
+
id: /* @__PURE__ */ number$2()
|
|
21487
21623
|
}),
|
|
21488
21624
|
execute: (input, { client }) => {
|
|
21489
21625
|
const data = input;
|
|
@@ -21512,7 +21648,7 @@ const generatedFocusOperations = [
|
|
|
21512
21648
|
},
|
|
21513
21649
|
mcp: { entityTool: "sharedreports" },
|
|
21514
21650
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21515
|
-
id: /* @__PURE__ */
|
|
21651
|
+
id: /* @__PURE__ */ number$2(),
|
|
21516
21652
|
payload: /* @__PURE__ */ looseObject({
|
|
21517
21653
|
charts: /* @__PURE__ */ unknown$1(),
|
|
21518
21654
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21548,7 +21684,7 @@ const generatedFocusOperations = [
|
|
|
21548
21684
|
},
|
|
21549
21685
|
mcp: { entityTool: "sharedreports" },
|
|
21550
21686
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21551
|
-
id: /* @__PURE__ */
|
|
21687
|
+
id: /* @__PURE__ */ number$2(),
|
|
21552
21688
|
payload: /* @__PURE__ */ looseObject({
|
|
21553
21689
|
charts: /* @__PURE__ */ unknown$1(),
|
|
21554
21690
|
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
@@ -21941,10 +22077,10 @@ const generatedFocusOperations = [
|
|
|
21941
22077
|
cli: {
|
|
21942
22078
|
group: ["tags", "bulk"],
|
|
21943
22079
|
command: "delete",
|
|
21944
|
-
interactive: "
|
|
22080
|
+
interactive: "default"
|
|
21945
22081
|
},
|
|
21946
22082
|
mcp: { entityTool: "tags" },
|
|
21947
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */
|
|
22083
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21948
22084
|
execute: (input, { client }) => {
|
|
21949
22085
|
const data = input;
|
|
21950
22086
|
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
@@ -22348,7 +22484,7 @@ const generatedFocusOperations = [
|
|
|
22348
22484
|
},
|
|
22349
22485
|
mcp: { entityTool: "tasks" },
|
|
22350
22486
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22351
|
-
attachment_id: /* @__PURE__ */
|
|
22487
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
22352
22488
|
payload: /* @__PURE__ */ looseObject({
|
|
22353
22489
|
display_order: /* @__PURE__ */ number$2(),
|
|
22354
22490
|
name: /* @__PURE__ */ string$1()
|
|
@@ -22612,6 +22748,37 @@ const generatedFocusOperations = [
|
|
|
22612
22748
|
return client.createTask(data);
|
|
22613
22749
|
}
|
|
22614
22750
|
},
|
|
22751
|
+
{
|
|
22752
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
22753
|
+
family: "focus",
|
|
22754
|
+
resource: "tasks",
|
|
22755
|
+
action: "create-recurring-occurrence",
|
|
22756
|
+
title: "Create Recurring Occurrence Tasks",
|
|
22757
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
22758
|
+
safety: "create",
|
|
22759
|
+
destructive: false,
|
|
22760
|
+
cli: {
|
|
22761
|
+
group: ["tasks"],
|
|
22762
|
+
command: "create-recurring-occurrence",
|
|
22763
|
+
interactive: "default"
|
|
22764
|
+
},
|
|
22765
|
+
mcp: { entityTool: "tasks" },
|
|
22766
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22767
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22768
|
+
task_id: /* @__PURE__ */ number$2()
|
|
22769
|
+
}),
|
|
22770
|
+
execute: (input, { client }) => {
|
|
22771
|
+
const data = input;
|
|
22772
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22773
|
+
client.httpClient,
|
|
22774
|
+
client.organizationId,
|
|
22775
|
+
client.workspaceIdNumber,
|
|
22776
|
+
data.task_id,
|
|
22777
|
+
data.return_occurrence,
|
|
22778
|
+
void 0
|
|
22779
|
+
]));
|
|
22780
|
+
}
|
|
22781
|
+
},
|
|
22615
22782
|
{
|
|
22616
22783
|
id: "focus.tasks.delete",
|
|
22617
22784
|
family: "focus",
|
|
@@ -22676,11 +22843,11 @@ const generatedFocusOperations = [
|
|
|
22676
22843
|
cli: {
|
|
22677
22844
|
group: ["tasks", "estimate-allocations"],
|
|
22678
22845
|
command: "delete",
|
|
22679
|
-
interactive: "
|
|
22846
|
+
interactive: "default"
|
|
22680
22847
|
},
|
|
22681
22848
|
mcp: { entityTool: "tasks" },
|
|
22682
22849
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22683
|
-
id: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
22850
|
+
id: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
22684
22851
|
task_id: /* @__PURE__ */ number$2()
|
|
22685
22852
|
}),
|
|
22686
22853
|
execute: (input, { client }) => {
|
|
@@ -22859,9 +23026,13 @@ const generatedFocusOperations = [
|
|
|
22859
23026
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22860
23027
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22861
23028
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23029
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23030
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22862
23031
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22863
23032
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23033
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22864
23034
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23035
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22865
23036
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22866
23037
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22867
23038
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22913,7 +23084,9 @@ const generatedFocusOperations = [
|
|
|
22913
23084
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22914
23085
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22915
23086
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22916
23088
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23089
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22917
23090
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22918
23091
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22919
23092
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22922,7 +23095,9 @@ const generatedFocusOperations = [
|
|
|
22922
23095
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22923
23096
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22924
23097
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23098
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22925
23099
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23100
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22926
23101
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22927
23102
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22928
23103
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23052,12 +23227,18 @@ const generatedFocusOperations = [
|
|
|
23052
23227
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23053
23228
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23054
23229
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23055
|
-
group: /* @__PURE__ */
|
|
23230
|
+
group: /* @__PURE__ */ picklist$1([
|
|
23231
|
+
"projects",
|
|
23232
|
+
"users",
|
|
23233
|
+
"tags"
|
|
23234
|
+
]),
|
|
23056
23235
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23057
23236
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
23237
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23238
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
23239
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
23240
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
23242
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
23243
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
23244
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23066,6 +23247,8 @@ const generatedFocusOperations = [
|
|
|
23066
23247
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
23248
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
23249
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23250
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23251
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23069
23252
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
23253
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
23254
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23074,7 +23257,8 @@ const generatedFocusOperations = [
|
|
|
23074
23257
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23075
23258
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
23259
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23260
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23261
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23078
23262
|
}),
|
|
23079
23263
|
execute: (input, { client }) => {
|
|
23080
23264
|
const data = input;
|
|
@@ -23116,13 +23300,17 @@ const generatedFocusOperations = [
|
|
|
23116
23300
|
group_id: /* @__PURE__ */ number$2(),
|
|
23117
23301
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23118
23302
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23303
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23119
23304
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23120
23305
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23306
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23121
23307
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23122
23308
|
name: /* @__PURE__ */ unknown$1(),
|
|
23123
23309
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23124
23310
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23125
23311
|
project_id: /* @__PURE__ */ number$2(),
|
|
23312
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23313
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23126
23314
|
source: /* @__PURE__ */ unknown$1(),
|
|
23127
23315
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23128
23316
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23131,7 +23319,8 @@ const generatedFocusOperations = [
|
|
|
23131
23319
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23132
23320
|
team_id: /* @__PURE__ */ number$2(),
|
|
23133
23321
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23134
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23322
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23323
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23135
23324
|
}),
|
|
23136
23325
|
execute: (input, { client }) => {
|
|
23137
23326
|
const data = input;
|
|
@@ -23172,13 +23361,17 @@ const generatedFocusOperations = [
|
|
|
23172
23361
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23173
23362
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
23363
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23175
23365
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
23366
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
23368
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
23369
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23179
23370
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
23371
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
23372
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23373
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23374
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23182
23375
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
23376
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
23377
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23187,7 +23380,8 @@ const generatedFocusOperations = [
|
|
|
23187
23380
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23188
23381
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23189
23382
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23190
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23383
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23384
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23191
23385
|
}),
|
|
23192
23386
|
execute: (input, { client }) => {
|
|
23193
23387
|
const data = input;
|
|
@@ -23216,7 +23410,11 @@ const generatedFocusOperations = [
|
|
|
23216
23410
|
},
|
|
23217
23411
|
mcp: { entityTool: "tasks" },
|
|
23218
23412
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23219
|
-
group: /* @__PURE__ */
|
|
23413
|
+
group: /* @__PURE__ */ picklist$1([
|
|
23414
|
+
"projects",
|
|
23415
|
+
"users",
|
|
23416
|
+
"tags"
|
|
23417
|
+
]),
|
|
23220
23418
|
payload: /* @__PURE__ */ unknown$1()
|
|
23221
23419
|
}),
|
|
23222
23420
|
execute: (input, { client }) => {
|
|
@@ -23449,12 +23647,13 @@ const generatedFocusOperations = [
|
|
|
23449
23647
|
cli: {
|
|
23450
23648
|
group: ["tasks"],
|
|
23451
23649
|
command: "update-calendar-range",
|
|
23452
|
-
interactive: "
|
|
23650
|
+
interactive: "default"
|
|
23453
23651
|
},
|
|
23454
23652
|
mcp: { entityTool: "tasks" },
|
|
23455
23653
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23456
|
-
date_from: /* @__PURE__ */
|
|
23457
|
-
date_to: /* @__PURE__ */
|
|
23654
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23655
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
23656
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23458
23657
|
}),
|
|
23459
23658
|
execute: (input, { client }) => {
|
|
23460
23659
|
const data = input;
|
|
@@ -23464,6 +23663,7 @@ const generatedFocusOperations = [
|
|
|
23464
23663
|
client.workspaceIdNumber,
|
|
23465
23664
|
data.date_from,
|
|
23466
23665
|
data.date_to,
|
|
23666
|
+
data.skip_provider_refresh,
|
|
23467
23667
|
void 0
|
|
23468
23668
|
]));
|
|
23469
23669
|
}
|
|
@@ -24050,7 +24250,8 @@ const generatedFocusOperations = [
|
|
|
24050
24250
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24051
24251
|
"project",
|
|
24052
24252
|
"task",
|
|
24053
|
-
"description"
|
|
24253
|
+
"description",
|
|
24254
|
+
"tags"
|
|
24054
24255
|
]) })),
|
|
24055
24256
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24056
24257
|
}) }),
|
|
@@ -24080,6 +24281,7 @@ const generatedFocusOperations = [
|
|
|
24080
24281
|
},
|
|
24081
24282
|
mcp: { entityTool: "time-entries" },
|
|
24082
24283
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24284
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24083
24285
|
payload: /* @__PURE__ */ looseObject({
|
|
24084
24286
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24085
24287
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24090,11 +24292,13 @@ const generatedFocusOperations = [
|
|
|
24090
24292
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24091
24293
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24092
24294
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24295
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24093
24296
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24094
24297
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24095
24298
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24096
24299
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24097
24300
|
}),
|
|
24301
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24098
24302
|
task_id: /* @__PURE__ */ number$2()
|
|
24099
24303
|
}),
|
|
24100
24304
|
execute: (input, { client }) => {
|
|
@@ -24105,6 +24309,8 @@ const generatedFocusOperations = [
|
|
|
24105
24309
|
client.workspaceIdNumber,
|
|
24106
24310
|
data.task_id,
|
|
24107
24311
|
data.payload ?? data.data ?? data,
|
|
24312
|
+
data.from_recurring_task_id,
|
|
24313
|
+
data.return_occurrence,
|
|
24108
24314
|
void 0
|
|
24109
24315
|
]));
|
|
24110
24316
|
}
|
|
@@ -24124,21 +24330,26 @@ const generatedFocusOperations = [
|
|
|
24124
24330
|
interactive: "default"
|
|
24125
24331
|
},
|
|
24126
24332
|
mcp: { entityTool: "time-entries" },
|
|
24127
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24333
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24334
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24335
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24336
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24337
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24338
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24339
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24340
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24341
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24342
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24343
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24344
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24345
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24346
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24347
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24348
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24349
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24350
|
+
}),
|
|
24351
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24352
|
+
}),
|
|
24142
24353
|
execute: (input, { client }) => {
|
|
24143
24354
|
const data = input;
|
|
24144
24355
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24146,6 +24357,8 @@ const generatedFocusOperations = [
|
|
|
24146
24357
|
client.organizationId,
|
|
24147
24358
|
client.workspaceIdNumber,
|
|
24148
24359
|
data.payload ?? data.data ?? data,
|
|
24360
|
+
data.from_recurring_task_id,
|
|
24361
|
+
data.return_occurrence,
|
|
24149
24362
|
void 0
|
|
24150
24363
|
]));
|
|
24151
24364
|
}
|
|
@@ -24165,7 +24378,11 @@ const generatedFocusOperations = [
|
|
|
24165
24378
|
interactive: "default"
|
|
24166
24379
|
},
|
|
24167
24380
|
mcp: { entityTool: "time-entries" },
|
|
24168
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24381
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24382
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24383
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24384
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24385
|
+
}),
|
|
24169
24386
|
execute: (input, { client }) => {
|
|
24170
24387
|
const data = input;
|
|
24171
24388
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24173,6 +24390,8 @@ const generatedFocusOperations = [
|
|
|
24173
24390
|
client.organizationId,
|
|
24174
24391
|
client.workspaceIdNumber,
|
|
24175
24392
|
data.time_entry_id,
|
|
24393
|
+
data.from_recurring_task_id,
|
|
24394
|
+
data.return_occurrence,
|
|
24176
24395
|
void 0
|
|
24177
24396
|
]));
|
|
24178
24397
|
}
|
|
@@ -24253,6 +24472,7 @@ const generatedFocusOperations = [
|
|
|
24253
24472
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24254
24473
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24255
24474
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24475
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24256
24476
|
status_id: /* @__PURE__ */ number$2(),
|
|
24257
24477
|
task_id: /* @__PURE__ */ number$2(),
|
|
24258
24478
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24429,12 +24649,14 @@ const generatedFocusOperations = [
|
|
|
24429
24649
|
},
|
|
24430
24650
|
mcp: { entityTool: "time-entries" },
|
|
24431
24651
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24652
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24432
24653
|
payload: /* @__PURE__ */ looseObject({
|
|
24433
24654
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24434
24655
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24435
24656
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24436
24657
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24437
24658
|
}),
|
|
24659
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24438
24660
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24439
24661
|
}),
|
|
24440
24662
|
execute: (input, { client }) => {
|
|
@@ -24445,6 +24667,8 @@ const generatedFocusOperations = [
|
|
|
24445
24667
|
client.workspaceIdNumber,
|
|
24446
24668
|
data.time_entry_id,
|
|
24447
24669
|
data.payload ?? data.data ?? data,
|
|
24670
|
+
data.from_recurring_task_id,
|
|
24671
|
+
data.return_occurrence,
|
|
24448
24672
|
void 0
|
|
24449
24673
|
]));
|
|
24450
24674
|
}
|
|
@@ -24561,11 +24785,11 @@ const generatedFocusOperations = [
|
|
|
24561
24785
|
cli: {
|
|
24562
24786
|
group: ["time-entries"],
|
|
24563
24787
|
command: "sync",
|
|
24564
|
-
interactive: "
|
|
24788
|
+
interactive: "default"
|
|
24565
24789
|
},
|
|
24566
24790
|
mcp: { entityTool: "time-entries" },
|
|
24567
24791
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24568
|
-
client_uuid: /* @__PURE__ */
|
|
24792
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24569
24793
|
payload: /* @__PURE__ */ looseObject({
|
|
24570
24794
|
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24571
24795
|
client_updated_at: apiDateTimeString,
|
|
@@ -24702,6 +24926,7 @@ const generatedFocusOperations = [
|
|
|
24702
24926
|
},
|
|
24703
24927
|
mcp: { entityTool: "time-entries" },
|
|
24704
24928
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24929
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24705
24930
|
payload: /* @__PURE__ */ looseObject({
|
|
24706
24931
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24707
24932
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24714,6 +24939,7 @@ const generatedFocusOperations = [
|
|
|
24714
24939
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24715
24940
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24716
24941
|
}),
|
|
24942
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24717
24943
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24718
24944
|
}),
|
|
24719
24945
|
execute: (input, { client }) => {
|
|
@@ -24724,6 +24950,8 @@ const generatedFocusOperations = [
|
|
|
24724
24950
|
client.workspaceIdNumber,
|
|
24725
24951
|
data.time_entry_id,
|
|
24726
24952
|
data.payload ?? data.data ?? data,
|
|
24953
|
+
data.from_recurring_task_id,
|
|
24954
|
+
data.return_occurrence,
|
|
24727
24955
|
void 0
|
|
24728
24956
|
]));
|
|
24729
24957
|
}
|
|
@@ -25809,6 +26037,56 @@ const generatedFocusOperations = [
|
|
|
25809
26037
|
return client.listOrgUsers(data);
|
|
25810
26038
|
}
|
|
25811
26039
|
},
|
|
26040
|
+
{
|
|
26041
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26042
|
+
family: "focus",
|
|
26043
|
+
resource: "users",
|
|
26044
|
+
action: "settings-email-unsubscribe",
|
|
26045
|
+
title: "Settings Email Unsubscribe Users",
|
|
26046
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26047
|
+
safety: "update",
|
|
26048
|
+
destructive: false,
|
|
26049
|
+
cli: {
|
|
26050
|
+
group: ["users", "settings"],
|
|
26051
|
+
command: "email-unsubscribe",
|
|
26052
|
+
interactive: "default"
|
|
26053
|
+
},
|
|
26054
|
+
mcp: { entityTool: "users" },
|
|
26055
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26056
|
+
execute: (input, { client }) => {
|
|
26057
|
+
const data = input;
|
|
26058
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26059
|
+
client.httpClient,
|
|
26060
|
+
data.token,
|
|
26061
|
+
void 0
|
|
26062
|
+
]));
|
|
26063
|
+
}
|
|
26064
|
+
},
|
|
26065
|
+
{
|
|
26066
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26067
|
+
family: "focus",
|
|
26068
|
+
resource: "users",
|
|
26069
|
+
action: "settings-email-unsubscribe-page",
|
|
26070
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26071
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26072
|
+
safety: "read",
|
|
26073
|
+
destructive: false,
|
|
26074
|
+
cli: {
|
|
26075
|
+
group: ["users", "settings"],
|
|
26076
|
+
command: "email-unsubscribe-page",
|
|
26077
|
+
interactive: "available"
|
|
26078
|
+
},
|
|
26079
|
+
mcp: { entityTool: "users" },
|
|
26080
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26081
|
+
execute: (input, { client }) => {
|
|
26082
|
+
const data = input;
|
|
26083
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26084
|
+
client.httpClient,
|
|
26085
|
+
data.token,
|
|
26086
|
+
void 0
|
|
26087
|
+
]));
|
|
26088
|
+
}
|
|
26089
|
+
},
|
|
25812
26090
|
{
|
|
25813
26091
|
id: "focus.users.settings-list",
|
|
25814
26092
|
family: "focus",
|
|
@@ -25870,6 +26148,9 @@ const generatedFocusOperations = [
|
|
|
25870
26148
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25871
26149
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25872
26150
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26151
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26152
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26153
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25873
26154
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25874
26155
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25875
26156
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27916,4 +28197,4 @@ Common commands:
|
|
|
27916
28197
|
//#endregion
|
|
27917
28198
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27918
28199
|
|
|
27919
|
-
//# sourceMappingURL=program-
|
|
28200
|
+
//# sourceMappingURL=program-DA8QvT5D.js.map
|