@togglhq/cli 1.11.13 → 1.11.14
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-B7Lcg1Uv.js → program-Ctq7SFIk.js} +99 -368
- package/build/program.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Ctq7SFIk.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-Ctq7SFIk.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9143,7 +9143,6 @@ 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."))),
|
|
9147
9146
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9148
9147
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9149
9148
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9205,7 +9204,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9205
9204
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9206
9205
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9207
9206
|
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."))),
|
|
9209
9207
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9210
9208
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9211
9209
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9388,8 +9386,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9388
9386
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9389
9387
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9390
9388
|
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."))),
|
|
9393
9389
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9394
9390
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9395
9391
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9554,8 +9550,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9554
9550
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9555
9551
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9556
9552
|
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."))),
|
|
9559
9553
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9560
9554
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9561
9555
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9786,7 +9780,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9786
9780
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9787
9781
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9788
9782
|
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."))),
|
|
9790
9783
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9791
9784
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9792
9785
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9823,7 +9816,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9823
9816
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9824
9817
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9825
9818
|
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."))),
|
|
9827
9819
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9828
9820
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9829
9821
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -10362,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10362
10354
|
}
|
|
10363
10355
|
//#endregion
|
|
10364
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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
|
|
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) {
|
|
10366
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10367
10359
|
signal,
|
|
10368
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10413,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10413
10405
|
include_assignees,
|
|
10414
10406
|
include_parent_matches,
|
|
10415
10407
|
disable_aggregations,
|
|
10416
|
-
cf_filter
|
|
10417
|
-
recurring_occurrences_after,
|
|
10418
|
-
max_recurring_occurrences_after,
|
|
10419
|
-
recurring_task_read,
|
|
10420
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10421
10409
|
})
|
|
10422
10410
|
}).json();
|
|
10423
10411
|
}
|
|
@@ -10492,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10492
10480
|
})
|
|
10493
10481
|
}).json();
|
|
10494
10482
|
}
|
|
10495
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10483
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10496
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10497
10485
|
signal,
|
|
10498
10486
|
searchParams: buildSearchParams$2({
|
|
10499
10487
|
date_from,
|
|
10500
|
-
date_to
|
|
10501
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10502
10489
|
})
|
|
10503
10490
|
}).json();
|
|
10504
10491
|
}
|
|
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
|
|
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) {
|
|
10506
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10507
10494
|
signal,
|
|
10508
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10518,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10518
10505
|
assignee_team_id,
|
|
10519
10506
|
assignee_user_id,
|
|
10520
10507
|
tag_id,
|
|
10521
|
-
include_assignees
|
|
10522
|
-
recurring_occurrences_after,
|
|
10523
|
-
max_recurring_occurrences_after,
|
|
10524
|
-
recurring_task_read,
|
|
10525
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10526
10509
|
})
|
|
10527
10510
|
}).json();
|
|
10528
10511
|
}
|
|
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
|
|
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) {
|
|
10530
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10531
10514
|
signal,
|
|
10532
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10571,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10571
10554
|
recurring_task_ids,
|
|
10572
10555
|
client_id,
|
|
10573
10556
|
include_assignees,
|
|
10574
|
-
cf_filter
|
|
10575
|
-
recurring_occurrences_after,
|
|
10576
|
-
max_recurring_occurrences_after,
|
|
10577
|
-
recurring_task_read,
|
|
10578
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10579
10558
|
})
|
|
10580
10559
|
}).json();
|
|
10581
10560
|
}
|
|
@@ -10630,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10630
10609
|
})
|
|
10631
10610
|
}).json();
|
|
10632
10611
|
}
|
|
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
|
-
}
|
|
10639
10612
|
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) {
|
|
10640
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10641
10614
|
signal,
|
|
@@ -10772,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10772
10745
|
})
|
|
10773
10746
|
}).json();
|
|
10774
10747
|
}
|
|
10775
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10776
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10777
10750
|
signal,
|
|
10778
|
-
json: data
|
|
10779
|
-
searchParams: buildSearchParams$2({
|
|
10780
|
-
from_recurring_task_id,
|
|
10781
|
-
return_occurrence
|
|
10782
|
-
})
|
|
10751
|
+
json: data
|
|
10783
10752
|
}).json();
|
|
10784
10753
|
}
|
|
10785
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10786
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10787
10756
|
signal,
|
|
10788
|
-
json: data
|
|
10789
|
-
searchParams: buildSearchParams$2({
|
|
10790
|
-
from_recurring_task_id,
|
|
10791
|
-
return_occurrence
|
|
10792
|
-
})
|
|
10757
|
+
json: data
|
|
10793
10758
|
}).json();
|
|
10794
10759
|
}
|
|
10795
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10840,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10840
10805
|
json: data
|
|
10841
10806
|
}).json();
|
|
10842
10807
|
}
|
|
10843
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
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) {
|
|
10844
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10845
10810
|
signal,
|
|
10846
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10848,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10848
10813
|
date_to,
|
|
10849
10814
|
task_id,
|
|
10850
10815
|
status_id,
|
|
10851
|
-
project_id,
|
|
10852
10816
|
type,
|
|
10853
10817
|
order_by,
|
|
10854
10818
|
archived,
|
|
@@ -10872,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10872
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10873
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10874
10838
|
}
|
|
10875
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10839
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10876
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10877
10841
|
signal,
|
|
10878
|
-
json: data
|
|
10879
|
-
searchParams: buildSearchParams$2({
|
|
10880
|
-
from_recurring_task_id,
|
|
10881
|
-
return_occurrence
|
|
10882
|
-
})
|
|
10842
|
+
json: data
|
|
10883
10843
|
}).json();
|
|
10884
10844
|
}
|
|
10885
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
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}`, { signal }).json();
|
|
10893
10847
|
}
|
|
10894
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10848
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10895
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10896
10850
|
signal,
|
|
10897
|
-
json: data
|
|
10898
|
-
searchParams: buildSearchParams$2({
|
|
10899
|
-
from_recurring_task_id,
|
|
10900
|
-
return_occurrence
|
|
10901
|
-
})
|
|
10851
|
+
json: data
|
|
10902
10852
|
}).json();
|
|
10903
10853
|
}
|
|
10904
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14744,15 +14694,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14744
14694
|
}
|
|
14745
14695
|
//#endregion
|
|
14746
14696
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14747
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14697
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14748
14698
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14749
14699
|
signal,
|
|
14750
14700
|
searchParams: buildSearchParams$2({
|
|
14751
14701
|
workspace_id,
|
|
14752
14702
|
entity_type,
|
|
14753
14703
|
entity_id,
|
|
14754
|
-
project_id,
|
|
14755
|
-
custom_field_id,
|
|
14756
14704
|
action,
|
|
14757
14705
|
user_id,
|
|
14758
14706
|
page_size,
|
|
@@ -14761,14 +14709,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14761
14709
|
})
|
|
14762
14710
|
}).json();
|
|
14763
14711
|
}
|
|
14764
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14712
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14765
14713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14766
14714
|
signal,
|
|
14767
14715
|
searchParams: buildSearchParams$2({
|
|
14768
14716
|
entity_type,
|
|
14769
14717
|
entity_id,
|
|
14770
|
-
project_id,
|
|
14771
|
-
custom_field_id,
|
|
14772
14718
|
action,
|
|
14773
14719
|
user_id,
|
|
14774
14720
|
page_size,
|
|
@@ -14921,14 +14867,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14921
14867
|
}
|
|
14922
14868
|
//#endregion
|
|
14923
14869
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14924
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14870
|
+
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) {
|
|
14925
14871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14926
14872
|
signal,
|
|
14927
14873
|
searchParams: buildSearchParams$2({
|
|
14874
|
+
user_id,
|
|
14928
14875
|
start_date,
|
|
14929
14876
|
end_date,
|
|
14930
|
-
user_id,
|
|
14931
|
-
team_id,
|
|
14932
14877
|
private: private_,
|
|
14933
14878
|
task_source,
|
|
14934
14879
|
unit,
|
|
@@ -14988,15 +14933,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14988
14933
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14989
14934
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14990
14935
|
}
|
|
14991
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14992
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14993
|
-
}
|
|
14994
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14995
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14996
|
-
signal,
|
|
14997
|
-
json: data
|
|
14998
|
-
}).json();
|
|
14999
|
-
}
|
|
15000
14936
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15001
14937
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15002
14938
|
signal,
|
|
@@ -15304,6 +15240,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15304
15240
|
json: data
|
|
15305
15241
|
}).json();
|
|
15306
15242
|
}
|
|
15243
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15244
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15245
|
+
}
|
|
15307
15246
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15308
15247
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15309
15248
|
}
|
|
@@ -15607,10 +15546,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15607
15546
|
}
|
|
15608
15547
|
//#endregion
|
|
15609
15548
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15610
|
-
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
|
|
15549
|
+
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) {
|
|
15611
15550
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15612
15551
|
signal,
|
|
15613
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15614
15552
|
searchParams: buildSearchParams$2({
|
|
15615
15553
|
project_id,
|
|
15616
15554
|
source,
|
|
@@ -15639,18 +15577,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15639
15577
|
min_days,
|
|
15640
15578
|
include_drafts,
|
|
15641
15579
|
cf_filter,
|
|
15642
|
-
user_cf_filter
|
|
15643
|
-
recurring_occurrences_after,
|
|
15644
|
-
max_recurring_occurrences_after,
|
|
15645
|
-
recurring_task_read,
|
|
15646
|
-
include_projected_occurrences
|
|
15580
|
+
user_cf_filter
|
|
15647
15581
|
})
|
|
15648
15582
|
}).json();
|
|
15649
15583
|
}
|
|
15650
|
-
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
|
|
15584
|
+
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) {
|
|
15651
15585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15652
15586
|
signal,
|
|
15653
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15654
15587
|
searchParams: buildSearchParams$2({
|
|
15655
15588
|
team_id,
|
|
15656
15589
|
project_id,
|
|
@@ -15679,18 +15612,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15679
15612
|
min_days,
|
|
15680
15613
|
include_drafts,
|
|
15681
15614
|
cf_filter,
|
|
15682
|
-
user_cf_filter
|
|
15683
|
-
recurring_occurrences_after,
|
|
15684
|
-
max_recurring_occurrences_after,
|
|
15685
|
-
recurring_task_read,
|
|
15686
|
-
include_projected_occurrences
|
|
15615
|
+
user_cf_filter
|
|
15687
15616
|
})
|
|
15688
15617
|
}).json();
|
|
15689
15618
|
}
|
|
15690
|
-
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,
|
|
15619
|
+
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) {
|
|
15691
15620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15692
15621
|
signal,
|
|
15693
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15694
15622
|
searchParams: buildSearchParams$2({
|
|
15695
15623
|
source,
|
|
15696
15624
|
priority,
|
|
@@ -15720,10 +15648,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15720
15648
|
include_drafts,
|
|
15721
15649
|
cf_filter,
|
|
15722
15650
|
user_cf_filter,
|
|
15723
|
-
recurring_occurrences_after,
|
|
15724
|
-
max_recurring_occurrences_after,
|
|
15725
|
-
recurring_task_read,
|
|
15726
|
-
include_projected_occurrences,
|
|
15727
15651
|
page,
|
|
15728
15652
|
per_page,
|
|
15729
15653
|
order_by
|
|
@@ -15959,12 +15883,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15959
15883
|
}
|
|
15960
15884
|
//#endregion
|
|
15961
15885
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15962
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15963
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15964
|
-
}
|
|
15965
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15966
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15967
|
-
}
|
|
15968
15886
|
async function getUserSettings(httpClient, signal) {
|
|
15969
15887
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15970
15888
|
}
|
|
@@ -16204,7 +16122,6 @@ const generatedFocusOperations = [
|
|
|
16204
16122
|
mcp: { entityTool: "audit-log" },
|
|
16205
16123
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16206
16124
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16208
16125
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16209
16126
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16210
16127
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16212,7 +16129,6 @@ const generatedFocusOperations = [
|
|
|
16212
16129
|
from: /* @__PURE__ */ string$1(),
|
|
16213
16130
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16214
16131
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16215
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16216
16132
|
to: /* @__PURE__ */ string$1(),
|
|
16217
16133
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16218
16134
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16246,7 +16162,6 @@ const generatedFocusOperations = [
|
|
|
16246
16162
|
mcp: { entityTool: "audit-log" },
|
|
16247
16163
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16248
16164
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16249
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16250
16165
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16251
16166
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16252
16167
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16254,7 +16169,6 @@ const generatedFocusOperations = [
|
|
|
16254
16169
|
from: /* @__PURE__ */ string$1(),
|
|
16255
16170
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16256
16171
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16257
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16258
16172
|
to: /* @__PURE__ */ string$1(),
|
|
16259
16173
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16260
16174
|
}),
|
|
@@ -16294,7 +16208,6 @@ const generatedFocusOperations = [
|
|
|
16294
16208
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16295
16209
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16296
16210
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16297
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16298
16211
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16299
16212
|
user_id: /* @__PURE__ */ number$2()
|
|
16300
16213
|
}),
|
|
@@ -16735,33 +16648,6 @@ const generatedFocusOperations = [
|
|
|
16735
16648
|
]));
|
|
16736
16649
|
}
|
|
16737
16650
|
},
|
|
16738
|
-
{
|
|
16739
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16740
|
-
family: "focus",
|
|
16741
|
-
resource: "custom-fields",
|
|
16742
|
-
action: "get-allowed-users",
|
|
16743
|
-
title: "Get Allowed Users Custom Fields",
|
|
16744
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16745
|
-
safety: "read",
|
|
16746
|
-
destructive: false,
|
|
16747
|
-
cli: {
|
|
16748
|
-
group: ["custom-fields"],
|
|
16749
|
-
command: "get-allowed-users",
|
|
16750
|
-
interactive: "available"
|
|
16751
|
-
},
|
|
16752
|
-
mcp: { entityTool: "custom-fields" },
|
|
16753
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16754
|
-
execute: (input, { client }) => {
|
|
16755
|
-
const data = input;
|
|
16756
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16757
|
-
client.httpClient,
|
|
16758
|
-
client.organizationId,
|
|
16759
|
-
client.workspaceIdNumber,
|
|
16760
|
-
data.custom_field_id,
|
|
16761
|
-
void 0
|
|
16762
|
-
]));
|
|
16763
|
-
}
|
|
16764
|
-
},
|
|
16765
16651
|
{
|
|
16766
16652
|
id: "focus.custom-fields.list",
|
|
16767
16653
|
family: "focus",
|
|
@@ -16931,37 +16817,6 @@ const generatedFocusOperations = [
|
|
|
16931
16817
|
]));
|
|
16932
16818
|
}
|
|
16933
16819
|
},
|
|
16934
|
-
{
|
|
16935
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16936
|
-
family: "focus",
|
|
16937
|
-
resource: "custom-fields",
|
|
16938
|
-
action: "replace-custom-field-allowed-users",
|
|
16939
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16940
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16941
|
-
safety: "update",
|
|
16942
|
-
destructive: false,
|
|
16943
|
-
cli: {
|
|
16944
|
-
group: ["custom-fields"],
|
|
16945
|
-
command: "replace-custom-field-allowed-users",
|
|
16946
|
-
interactive: "default"
|
|
16947
|
-
},
|
|
16948
|
-
mcp: { entityTool: "custom-fields" },
|
|
16949
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16950
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16951
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16952
|
-
}),
|
|
16953
|
-
execute: (input, { client }) => {
|
|
16954
|
-
const data = input;
|
|
16955
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16956
|
-
client.httpClient,
|
|
16957
|
-
client.organizationId,
|
|
16958
|
-
client.workspaceIdNumber,
|
|
16959
|
-
data.custom_field_id,
|
|
16960
|
-
data.payload ?? data.data ?? data,
|
|
16961
|
-
void 0
|
|
16962
|
-
]));
|
|
16963
|
-
}
|
|
16964
|
-
},
|
|
16965
16820
|
{
|
|
16966
16821
|
id: "focus.custom-fields.update",
|
|
16967
16822
|
family: "focus",
|
|
@@ -17108,7 +16963,13 @@ const generatedFocusOperations = [
|
|
|
17108
16963
|
},
|
|
17109
16964
|
mcp: { entityTool: "goals" },
|
|
17110
16965
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16966
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17111
16967
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16968
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16969
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16970
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16971
|
+
name: /* @__PURE__ */ string$1(),
|
|
16972
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17112
16973
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17113
16974
|
"daily",
|
|
17114
16975
|
"weekly",
|
|
@@ -17116,18 +16977,12 @@ const generatedFocusOperations = [
|
|
|
17116
16977
|
"monthly"
|
|
17117
16978
|
]),
|
|
17118
16979
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16980
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17119
16981
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17120
|
-
|
|
16982
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16983
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17121
16984
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17122
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17123
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17124
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17125
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17126
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17127
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17128
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17129
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17130
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16985
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17131
16986
|
}) }),
|
|
17132
16987
|
execute: (input, { client }) => {
|
|
17133
16988
|
const data = input;
|
|
@@ -17233,6 +17088,13 @@ const generatedFocusOperations = [
|
|
|
17233
17088
|
},
|
|
17234
17089
|
mcp: { entityTool: "goals" },
|
|
17235
17090
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17091
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17092
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17093
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17094
|
+
icon: /* @__PURE__ */ string$1(),
|
|
17095
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17096
|
+
name: /* @__PURE__ */ string$1(),
|
|
17097
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17236
17098
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17237
17099
|
"daily",
|
|
17238
17100
|
"weekly",
|
|
@@ -17240,19 +17102,12 @@ const generatedFocusOperations = [
|
|
|
17240
17102
|
"monthly"
|
|
17241
17103
|
]),
|
|
17242
17104
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17243
|
-
|
|
17105
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17106
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
17107
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17108
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17244
17109
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17245
|
-
|
|
17246
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17247
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17248
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17249
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17250
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17251
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17252
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17253
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17254
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17255
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17110
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17256
17111
|
}) }),
|
|
17257
17112
|
execute: (input, { client }) => {
|
|
17258
17113
|
const data = input;
|
|
@@ -18219,17 +18074,9 @@ const generatedFocusOperations = [
|
|
|
18219
18074
|
mcp: { entityTool: "projects" },
|
|
18220
18075
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18221
18076
|
payload: /* @__PURE__ */ looseObject({
|
|
18222
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18223
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18224
18077
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18225
18078
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18226
18079
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18227
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18228
|
-
"expire",
|
|
18229
|
-
"carry_all",
|
|
18230
|
-
"carry_over"
|
|
18231
|
-
])),
|
|
18232
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18233
18080
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18234
18081
|
}),
|
|
18235
18082
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18775,6 +18622,29 @@ const generatedFocusOperations = [
|
|
|
18775
18622
|
]));
|
|
18776
18623
|
}
|
|
18777
18624
|
},
|
|
18625
|
+
{
|
|
18626
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18627
|
+
family: "focus",
|
|
18628
|
+
resource: "projects",
|
|
18629
|
+
action: "margin-targets-clear-workspace",
|
|
18630
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18631
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18632
|
+
safety: "delete",
|
|
18633
|
+
destructive: true,
|
|
18634
|
+
cli: {
|
|
18635
|
+
group: ["projects", "margin-targets"],
|
|
18636
|
+
command: "clear-workspace",
|
|
18637
|
+
interactive: "default"
|
|
18638
|
+
},
|
|
18639
|
+
mcp: { entityTool: "projects" },
|
|
18640
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18641
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18642
|
+
client.httpClient,
|
|
18643
|
+
client.organizationId,
|
|
18644
|
+
client.workspaceIdNumber,
|
|
18645
|
+
void 0
|
|
18646
|
+
]))
|
|
18647
|
+
},
|
|
18778
18648
|
{
|
|
18779
18649
|
id: "focus.projects.margin-targets-get",
|
|
18780
18650
|
family: "focus",
|
|
@@ -21177,7 +21047,7 @@ const generatedFocusOperations = [
|
|
|
21177
21047
|
cli: {
|
|
21178
21048
|
group: ["reportschedules"],
|
|
21179
21049
|
command: "upsert-saved-view-schedule",
|
|
21180
|
-
interactive: "
|
|
21050
|
+
interactive: "default"
|
|
21181
21051
|
},
|
|
21182
21052
|
mcp: { entityTool: "reportschedules" },
|
|
21183
21053
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21188,10 +21058,8 @@ const generatedFocusOperations = [
|
|
|
21188
21058
|
"weekly",
|
|
21189
21059
|
"monthly"
|
|
21190
21060
|
]),
|
|
21191
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21192
21061
|
time: /* @__PURE__ */ string$1(),
|
|
21193
21062
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21194
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21195
21063
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21196
21064
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21197
21065
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22740,37 +22608,6 @@ const generatedFocusOperations = [
|
|
|
22740
22608
|
return client.createTask(data);
|
|
22741
22609
|
}
|
|
22742
22610
|
},
|
|
22743
|
-
{
|
|
22744
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22745
|
-
family: "focus",
|
|
22746
|
-
resource: "tasks",
|
|
22747
|
-
action: "create-recurring-occurrence",
|
|
22748
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22749
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22750
|
-
safety: "create",
|
|
22751
|
-
destructive: false,
|
|
22752
|
-
cli: {
|
|
22753
|
-
group: ["tasks"],
|
|
22754
|
-
command: "create-recurring-occurrence",
|
|
22755
|
-
interactive: "default"
|
|
22756
|
-
},
|
|
22757
|
-
mcp: { entityTool: "tasks" },
|
|
22758
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22759
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22760
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22761
|
-
}),
|
|
22762
|
-
execute: (input, { client }) => {
|
|
22763
|
-
const data = input;
|
|
22764
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22765
|
-
client.httpClient,
|
|
22766
|
-
client.organizationId,
|
|
22767
|
-
client.workspaceIdNumber,
|
|
22768
|
-
data.task_id,
|
|
22769
|
-
data.return_occurrence,
|
|
22770
|
-
void 0
|
|
22771
|
-
]));
|
|
22772
|
-
}
|
|
22773
|
-
},
|
|
22774
22611
|
{
|
|
22775
22612
|
id: "focus.tasks.delete",
|
|
22776
22613
|
family: "focus",
|
|
@@ -23018,13 +22855,9 @@ const generatedFocusOperations = [
|
|
|
23018
22855
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23019
22856
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23020
22857
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23021
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23022
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23023
22858
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23024
22859
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23025
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23026
22860
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23027
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23028
22861
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23029
22862
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23030
22863
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23076,9 +22909,7 @@ const generatedFocusOperations = [
|
|
|
23076
22909
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
22910
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23078
22911
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23080
22912
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23081
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23082
22913
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
22914
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
22915
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23087,9 +22918,7 @@ const generatedFocusOperations = [
|
|
|
23087
22918
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23088
22919
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23089
22920
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
22921
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
22922
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23094
22923
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23095
22924
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23227,10 +23056,8 @@ const generatedFocusOperations = [
|
|
|
23227
23056
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23228
23057
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23229
23058
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23231
23059
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23232
23060
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23234
23061
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
23062
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23236
23063
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23239,8 +23066,6 @@ const generatedFocusOperations = [
|
|
|
23239
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23240
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23242
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23243
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23246
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23249,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23249
23074
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23250
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23251
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23252
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23253
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23254
23078
|
}),
|
|
23255
23079
|
execute: (input, { client }) => {
|
|
23256
23080
|
const data = input;
|
|
@@ -23292,17 +23116,13 @@ const generatedFocusOperations = [
|
|
|
23292
23116
|
group_id: /* @__PURE__ */ number$2(),
|
|
23293
23117
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23294
23118
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23295
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23296
23119
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23297
23120
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23298
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23299
23121
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23300
23122
|
name: /* @__PURE__ */ unknown$1(),
|
|
23301
23123
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23302
23124
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23303
23125
|
project_id: /* @__PURE__ */ number$2(),
|
|
23304
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23305
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23306
23126
|
source: /* @__PURE__ */ unknown$1(),
|
|
23307
23127
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23308
23128
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23311,8 +23131,7 @@ const generatedFocusOperations = [
|
|
|
23311
23131
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23312
23132
|
team_id: /* @__PURE__ */ number$2(),
|
|
23313
23133
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23314
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23315
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23134
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23316
23135
|
}),
|
|
23317
23136
|
execute: (input, { client }) => {
|
|
23318
23137
|
const data = input;
|
|
@@ -23353,17 +23172,13 @@ const generatedFocusOperations = [
|
|
|
23353
23172
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23354
23173
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23355
23174
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23356
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23357
23175
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23358
23176
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23359
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23360
23177
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23361
23178
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23362
23179
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23363
23180
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
23181
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23365
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
23182
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23368
23183
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23369
23184
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23372,8 +23187,7 @@ const generatedFocusOperations = [
|
|
|
23372
23187
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23373
23188
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23374
23189
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23375
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23376
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23190
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23377
23191
|
}),
|
|
23378
23192
|
execute: (input, { client }) => {
|
|
23379
23193
|
const data = input;
|
|
@@ -23644,8 +23458,7 @@ const generatedFocusOperations = [
|
|
|
23644
23458
|
mcp: { entityTool: "tasks" },
|
|
23645
23459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23646
23460
|
date_from: /* @__PURE__ */ string$1(),
|
|
23647
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23648
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23461
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23649
23462
|
}),
|
|
23650
23463
|
execute: (input, { client }) => {
|
|
23651
23464
|
const data = input;
|
|
@@ -23655,7 +23468,6 @@ const generatedFocusOperations = [
|
|
|
23655
23468
|
client.workspaceIdNumber,
|
|
23656
23469
|
data.date_from,
|
|
23657
23470
|
data.date_to,
|
|
23658
|
-
data.skip_provider_refresh,
|
|
23659
23471
|
void 0
|
|
23660
23472
|
]));
|
|
23661
23473
|
}
|
|
@@ -24242,8 +24054,7 @@ const generatedFocusOperations = [
|
|
|
24242
24054
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24243
24055
|
"project",
|
|
24244
24056
|
"task",
|
|
24245
|
-
"description"
|
|
24246
|
-
"tags"
|
|
24057
|
+
"description"
|
|
24247
24058
|
]) })),
|
|
24248
24059
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24249
24060
|
}) }),
|
|
@@ -24273,7 +24084,6 @@ const generatedFocusOperations = [
|
|
|
24273
24084
|
},
|
|
24274
24085
|
mcp: { entityTool: "time-entries" },
|
|
24275
24086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24276
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24277
24087
|
payload: /* @__PURE__ */ looseObject({
|
|
24278
24088
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24279
24089
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24284,13 +24094,11 @@ const generatedFocusOperations = [
|
|
|
24284
24094
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24285
24095
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24286
24096
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24288
24097
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24289
24098
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24290
24099
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24291
24100
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24292
24101
|
}),
|
|
24293
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24294
24102
|
task_id: /* @__PURE__ */ number$2()
|
|
24295
24103
|
}),
|
|
24296
24104
|
execute: (input, { client }) => {
|
|
@@ -24301,8 +24109,6 @@ const generatedFocusOperations = [
|
|
|
24301
24109
|
client.workspaceIdNumber,
|
|
24302
24110
|
data.task_id,
|
|
24303
24111
|
data.payload ?? data.data ?? data,
|
|
24304
|
-
data.from_recurring_task_id,
|
|
24305
|
-
data.return_occurrence,
|
|
24306
24112
|
void 0
|
|
24307
24113
|
]));
|
|
24308
24114
|
}
|
|
@@ -24322,26 +24128,21 @@ const generatedFocusOperations = [
|
|
|
24322
24128
|
interactive: "default"
|
|
24323
24129
|
},
|
|
24324
24130
|
mcp: { entityTool: "time-entries" },
|
|
24325
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24326
|
-
|
|
24327
|
-
|
|
24328
|
-
|
|
24329
|
-
|
|
24330
|
-
|
|
24331
|
-
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24341
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24342
|
-
}),
|
|
24343
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24344
|
-
}),
|
|
24131
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24132
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24133
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24134
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24135
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24136
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24137
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24138
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24139
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24140
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24141
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24142
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24143
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24144
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24145
|
+
}) }),
|
|
24345
24146
|
execute: (input, { client }) => {
|
|
24346
24147
|
const data = input;
|
|
24347
24148
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24349,8 +24150,6 @@ const generatedFocusOperations = [
|
|
|
24349
24150
|
client.organizationId,
|
|
24350
24151
|
client.workspaceIdNumber,
|
|
24351
24152
|
data.payload ?? data.data ?? data,
|
|
24352
|
-
data.from_recurring_task_id,
|
|
24353
|
-
data.return_occurrence,
|
|
24354
24153
|
void 0
|
|
24355
24154
|
]));
|
|
24356
24155
|
}
|
|
@@ -24370,11 +24169,7 @@ const generatedFocusOperations = [
|
|
|
24370
24169
|
interactive: "default"
|
|
24371
24170
|
},
|
|
24372
24171
|
mcp: { entityTool: "time-entries" },
|
|
24373
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24374
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24375
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24376
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24377
|
-
}),
|
|
24172
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24378
24173
|
execute: (input, { client }) => {
|
|
24379
24174
|
const data = input;
|
|
24380
24175
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24382,8 +24177,6 @@ const generatedFocusOperations = [
|
|
|
24382
24177
|
client.organizationId,
|
|
24383
24178
|
client.workspaceIdNumber,
|
|
24384
24179
|
data.time_entry_id,
|
|
24385
|
-
data.from_recurring_task_id,
|
|
24386
|
-
data.return_occurrence,
|
|
24387
24180
|
void 0
|
|
24388
24181
|
]));
|
|
24389
24182
|
}
|
|
@@ -24464,7 +24257,6 @@ const generatedFocusOperations = [
|
|
|
24464
24257
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24465
24258
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24466
24259
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24467
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24468
24260
|
status_id: /* @__PURE__ */ number$2(),
|
|
24469
24261
|
task_id: /* @__PURE__ */ number$2(),
|
|
24470
24262
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24641,14 +24433,12 @@ const generatedFocusOperations = [
|
|
|
24641
24433
|
},
|
|
24642
24434
|
mcp: { entityTool: "time-entries" },
|
|
24643
24435
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24644
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24645
24436
|
payload: /* @__PURE__ */ looseObject({
|
|
24646
24437
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24647
24438
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24648
24439
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24649
24440
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24650
24441
|
}),
|
|
24651
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24652
24442
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24653
24443
|
}),
|
|
24654
24444
|
execute: (input, { client }) => {
|
|
@@ -24659,8 +24449,6 @@ const generatedFocusOperations = [
|
|
|
24659
24449
|
client.workspaceIdNumber,
|
|
24660
24450
|
data.time_entry_id,
|
|
24661
24451
|
data.payload ?? data.data ?? data,
|
|
24662
|
-
data.from_recurring_task_id,
|
|
24663
|
-
data.return_occurrence,
|
|
24664
24452
|
void 0
|
|
24665
24453
|
]));
|
|
24666
24454
|
}
|
|
@@ -24918,7 +24706,6 @@ const generatedFocusOperations = [
|
|
|
24918
24706
|
},
|
|
24919
24707
|
mcp: { entityTool: "time-entries" },
|
|
24920
24708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24921
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24922
24709
|
payload: /* @__PURE__ */ looseObject({
|
|
24923
24710
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24924
24711
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24931,7 +24718,6 @@ const generatedFocusOperations = [
|
|
|
24931
24718
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24932
24719
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24933
24720
|
}),
|
|
24934
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24935
24721
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24936
24722
|
}),
|
|
24937
24723
|
execute: (input, { client }) => {
|
|
@@ -24942,8 +24728,6 @@ const generatedFocusOperations = [
|
|
|
24942
24728
|
client.workspaceIdNumber,
|
|
24943
24729
|
data.time_entry_id,
|
|
24944
24730
|
data.payload ?? data.data ?? data,
|
|
24945
|
-
data.from_recurring_task_id,
|
|
24946
|
-
data.return_occurrence,
|
|
24947
24731
|
void 0
|
|
24948
24732
|
]));
|
|
24949
24733
|
}
|
|
@@ -26029,56 +25813,6 @@ const generatedFocusOperations = [
|
|
|
26029
25813
|
return client.listOrgUsers(data);
|
|
26030
25814
|
}
|
|
26031
25815
|
},
|
|
26032
|
-
{
|
|
26033
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26034
|
-
family: "focus",
|
|
26035
|
-
resource: "users",
|
|
26036
|
-
action: "settings-email-unsubscribe",
|
|
26037
|
-
title: "Settings Email Unsubscribe Users",
|
|
26038
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26039
|
-
safety: "update",
|
|
26040
|
-
destructive: false,
|
|
26041
|
-
cli: {
|
|
26042
|
-
group: ["users", "settings"],
|
|
26043
|
-
command: "email-unsubscribe",
|
|
26044
|
-
interactive: "default"
|
|
26045
|
-
},
|
|
26046
|
-
mcp: { entityTool: "users" },
|
|
26047
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26048
|
-
execute: (input, { client }) => {
|
|
26049
|
-
const data = input;
|
|
26050
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26051
|
-
client.httpClient,
|
|
26052
|
-
data.token,
|
|
26053
|
-
void 0
|
|
26054
|
-
]));
|
|
26055
|
-
}
|
|
26056
|
-
},
|
|
26057
|
-
{
|
|
26058
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26059
|
-
family: "focus",
|
|
26060
|
-
resource: "users",
|
|
26061
|
-
action: "settings-email-unsubscribe-page",
|
|
26062
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26063
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26064
|
-
safety: "read",
|
|
26065
|
-
destructive: false,
|
|
26066
|
-
cli: {
|
|
26067
|
-
group: ["users", "settings"],
|
|
26068
|
-
command: "email-unsubscribe-page",
|
|
26069
|
-
interactive: "available"
|
|
26070
|
-
},
|
|
26071
|
-
mcp: { entityTool: "users" },
|
|
26072
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26073
|
-
execute: (input, { client }) => {
|
|
26074
|
-
const data = input;
|
|
26075
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26076
|
-
client.httpClient,
|
|
26077
|
-
data.token,
|
|
26078
|
-
void 0
|
|
26079
|
-
]));
|
|
26080
|
-
}
|
|
26081
|
-
},
|
|
26082
25816
|
{
|
|
26083
25817
|
id: "focus.users.settings-list",
|
|
26084
25818
|
family: "focus",
|
|
@@ -26140,9 +25874,6 @@ const generatedFocusOperations = [
|
|
|
26140
25874
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26141
25875
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26142
25876
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26143
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26144
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26145
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26146
25877
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26147
25878
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26148
25879
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28189,4 +27920,4 @@ Common commands:
|
|
|
28189
27920
|
//#endregion
|
|
28190
27921
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28191
27922
|
|
|
28192
|
-
//# sourceMappingURL=program-
|
|
27923
|
+
//# sourceMappingURL=program-Ctq7SFIk.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-Ctq7SFIk.js";
|
|
2
2
|
export { createProgram };
|