@togglhq/cli 1.11.14 → 1.11.16
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-Ctq7SFIk.js → program-B7Lcg1Uv.js} +368 -99
- 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-B7Lcg1Uv.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-B7Lcg1Uv.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -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) {
|
|
@@ -14694,13 +14744,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14694
14744
|
}
|
|
14695
14745
|
//#endregion
|
|
14696
14746
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
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) {
|
|
14747
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14698
14748
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14699
14749
|
signal,
|
|
14700
14750
|
searchParams: buildSearchParams$2({
|
|
14701
14751
|
workspace_id,
|
|
14702
14752
|
entity_type,
|
|
14703
14753
|
entity_id,
|
|
14754
|
+
project_id,
|
|
14755
|
+
custom_field_id,
|
|
14704
14756
|
action,
|
|
14705
14757
|
user_id,
|
|
14706
14758
|
page_size,
|
|
@@ -14709,12 +14761,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14709
14761
|
})
|
|
14710
14762
|
}).json();
|
|
14711
14763
|
}
|
|
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) {
|
|
14764
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14713
14765
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14714
14766
|
signal,
|
|
14715
14767
|
searchParams: buildSearchParams$2({
|
|
14716
14768
|
entity_type,
|
|
14717
14769
|
entity_id,
|
|
14770
|
+
project_id,
|
|
14771
|
+
custom_field_id,
|
|
14718
14772
|
action,
|
|
14719
14773
|
user_id,
|
|
14720
14774
|
page_size,
|
|
@@ -14867,13 +14921,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14867
14921
|
}
|
|
14868
14922
|
//#endregion
|
|
14869
14923
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14870
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14924
|
+
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) {
|
|
14871
14925
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14872
14926
|
signal,
|
|
14873
14927
|
searchParams: buildSearchParams$2({
|
|
14874
|
-
user_id,
|
|
14875
14928
|
start_date,
|
|
14876
14929
|
end_date,
|
|
14930
|
+
user_id,
|
|
14931
|
+
team_id,
|
|
14877
14932
|
private: private_,
|
|
14878
14933
|
task_source,
|
|
14879
14934
|
unit,
|
|
@@ -14933,6 +14988,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14933
14988
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14934
14989
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14935
14990
|
}
|
|
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
|
+
}
|
|
14936
15000
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14937
15001
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14938
15002
|
signal,
|
|
@@ -15240,9 +15304,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15240
15304
|
json: data
|
|
15241
15305
|
}).json();
|
|
15242
15306
|
}
|
|
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
|
-
}
|
|
15246
15307
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15247
15308
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15248
15309
|
}
|
|
@@ -15546,9 +15607,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15546
15607
|
}
|
|
15547
15608
|
//#endregion
|
|
15548
15609
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15550
15611
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15551
15612
|
signal,
|
|
15613
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15552
15614
|
searchParams: buildSearchParams$2({
|
|
15553
15615
|
project_id,
|
|
15554
15616
|
source,
|
|
@@ -15577,13 +15639,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15577
15639
|
min_days,
|
|
15578
15640
|
include_drafts,
|
|
15579
15641
|
cf_filter,
|
|
15580
|
-
user_cf_filter
|
|
15642
|
+
user_cf_filter,
|
|
15643
|
+
recurring_occurrences_after,
|
|
15644
|
+
max_recurring_occurrences_after,
|
|
15645
|
+
recurring_task_read,
|
|
15646
|
+
include_projected_occurrences
|
|
15581
15647
|
})
|
|
15582
15648
|
}).json();
|
|
15583
15649
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
15585
15651
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15586
15652
|
signal,
|
|
15653
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15587
15654
|
searchParams: buildSearchParams$2({
|
|
15588
15655
|
team_id,
|
|
15589
15656
|
project_id,
|
|
@@ -15612,13 +15679,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15612
15679
|
min_days,
|
|
15613
15680
|
include_drafts,
|
|
15614
15681
|
cf_filter,
|
|
15615
|
-
user_cf_filter
|
|
15682
|
+
user_cf_filter,
|
|
15683
|
+
recurring_occurrences_after,
|
|
15684
|
+
max_recurring_occurrences_after,
|
|
15685
|
+
recurring_task_read,
|
|
15686
|
+
include_projected_occurrences
|
|
15616
15687
|
})
|
|
15617
15688
|
}).json();
|
|
15618
15689
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15620
15691
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15621
15692
|
signal,
|
|
15693
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15622
15694
|
searchParams: buildSearchParams$2({
|
|
15623
15695
|
source,
|
|
15624
15696
|
priority,
|
|
@@ -15648,6 +15720,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15648
15720
|
include_drafts,
|
|
15649
15721
|
cf_filter,
|
|
15650
15722
|
user_cf_filter,
|
|
15723
|
+
recurring_occurrences_after,
|
|
15724
|
+
max_recurring_occurrences_after,
|
|
15725
|
+
recurring_task_read,
|
|
15726
|
+
include_projected_occurrences,
|
|
15651
15727
|
page,
|
|
15652
15728
|
per_page,
|
|
15653
15729
|
order_by
|
|
@@ -15883,6 +15959,12 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15883
15959
|
}
|
|
15884
15960
|
//#endregion
|
|
15885
15961
|
//#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
|
+
}
|
|
15886
15968
|
async function getUserSettings(httpClient, signal) {
|
|
15887
15969
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15888
15970
|
}
|
|
@@ -16122,6 +16204,7 @@ const generatedFocusOperations = [
|
|
|
16122
16204
|
mcp: { entityTool: "audit-log" },
|
|
16123
16205
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16124
16206
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16125
16208
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16126
16209
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16127
16210
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16129,6 +16212,7 @@ const generatedFocusOperations = [
|
|
|
16129
16212
|
from: /* @__PURE__ */ string$1(),
|
|
16130
16213
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16131
16214
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16215
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16132
16216
|
to: /* @__PURE__ */ string$1(),
|
|
16133
16217
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16134
16218
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16162,6 +16246,7 @@ const generatedFocusOperations = [
|
|
|
16162
16246
|
mcp: { entityTool: "audit-log" },
|
|
16163
16247
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16164
16248
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16249
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16165
16250
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16166
16251
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16167
16252
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16169,6 +16254,7 @@ const generatedFocusOperations = [
|
|
|
16169
16254
|
from: /* @__PURE__ */ string$1(),
|
|
16170
16255
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16171
16256
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16257
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16172
16258
|
to: /* @__PURE__ */ string$1(),
|
|
16173
16259
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16174
16260
|
}),
|
|
@@ -16208,6 +16294,7 @@ const generatedFocusOperations = [
|
|
|
16208
16294
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16209
16295
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16210
16296
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16297
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16211
16298
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16212
16299
|
user_id: /* @__PURE__ */ number$2()
|
|
16213
16300
|
}),
|
|
@@ -16648,6 +16735,33 @@ const generatedFocusOperations = [
|
|
|
16648
16735
|
]));
|
|
16649
16736
|
}
|
|
16650
16737
|
},
|
|
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
|
+
},
|
|
16651
16765
|
{
|
|
16652
16766
|
id: "focus.custom-fields.list",
|
|
16653
16767
|
family: "focus",
|
|
@@ -16817,6 +16931,37 @@ const generatedFocusOperations = [
|
|
|
16817
16931
|
]));
|
|
16818
16932
|
}
|
|
16819
16933
|
},
|
|
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
|
+
},
|
|
16820
16965
|
{
|
|
16821
16966
|
id: "focus.custom-fields.update",
|
|
16822
16967
|
family: "focus",
|
|
@@ -16963,13 +17108,7 @@ const generatedFocusOperations = [
|
|
|
16963
17108
|
},
|
|
16964
17109
|
mcp: { entityTool: "goals" },
|
|
16965
17110
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16966
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16967
17111
|
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()),
|
|
16973
17112
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16974
17113
|
"daily",
|
|
16975
17114
|
"weekly",
|
|
@@ -16977,12 +17116,18 @@ const generatedFocusOperations = [
|
|
|
16977
17116
|
"monthly"
|
|
16978
17117
|
]),
|
|
16979
17118
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16980
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16981
17119
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16982
|
-
|
|
16983
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17120
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16984
17121
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16985
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
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()))
|
|
16986
17131
|
}) }),
|
|
16987
17132
|
execute: (input, { client }) => {
|
|
16988
17133
|
const data = input;
|
|
@@ -17088,13 +17233,6 @@ const generatedFocusOperations = [
|
|
|
17088
17233
|
},
|
|
17089
17234
|
mcp: { entityTool: "goals" },
|
|
17090
17235
|
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()),
|
|
17098
17236
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17099
17237
|
"daily",
|
|
17100
17238
|
"weekly",
|
|
@@ -17102,12 +17240,19 @@ const generatedFocusOperations = [
|
|
|
17102
17240
|
"monthly"
|
|
17103
17241
|
]),
|
|
17104
17242
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17105
|
-
|
|
17106
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
17107
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17108
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17243
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17109
17244
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17110
|
-
|
|
17245
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
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()))
|
|
17111
17256
|
}) }),
|
|
17112
17257
|
execute: (input, { client }) => {
|
|
17113
17258
|
const data = input;
|
|
@@ -18074,9 +18219,17 @@ const generatedFocusOperations = [
|
|
|
18074
18219
|
mcp: { entityTool: "projects" },
|
|
18075
18220
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18076
18221
|
payload: /* @__PURE__ */ looseObject({
|
|
18222
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18223
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18077
18224
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18078
18225
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18079
18226
|
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()),
|
|
18080
18233
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18081
18234
|
}),
|
|
18082
18235
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18622,29 +18775,6 @@ const generatedFocusOperations = [
|
|
|
18622
18775
|
]));
|
|
18623
18776
|
}
|
|
18624
18777
|
},
|
|
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
|
-
},
|
|
18648
18778
|
{
|
|
18649
18779
|
id: "focus.projects.margin-targets-get",
|
|
18650
18780
|
family: "focus",
|
|
@@ -21047,7 +21177,7 @@ const generatedFocusOperations = [
|
|
|
21047
21177
|
cli: {
|
|
21048
21178
|
group: ["reportschedules"],
|
|
21049
21179
|
command: "upsert-saved-view-schedule",
|
|
21050
|
-
interactive: "
|
|
21180
|
+
interactive: "hidden"
|
|
21051
21181
|
},
|
|
21052
21182
|
mcp: { entityTool: "reportschedules" },
|
|
21053
21183
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21058,8 +21188,10 @@ const generatedFocusOperations = [
|
|
|
21058
21188
|
"weekly",
|
|
21059
21189
|
"monthly"
|
|
21060
21190
|
]),
|
|
21191
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21061
21192
|
time: /* @__PURE__ */ string$1(),
|
|
21062
21193
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21194
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21063
21195
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21064
21196
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21065
21197
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22608,6 +22740,37 @@ const generatedFocusOperations = [
|
|
|
22608
22740
|
return client.createTask(data);
|
|
22609
22741
|
}
|
|
22610
22742
|
},
|
|
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
|
+
},
|
|
22611
22774
|
{
|
|
22612
22775
|
id: "focus.tasks.delete",
|
|
22613
22776
|
family: "focus",
|
|
@@ -22855,9 +23018,13 @@ const generatedFocusOperations = [
|
|
|
22855
23018
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22856
23019
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22857
23020
|
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()),
|
|
22858
23023
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22859
23024
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23025
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22860
23026
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23027
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22861
23028
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22862
23029
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22863
23030
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22909,7 +23076,9 @@ const generatedFocusOperations = [
|
|
|
22909
23076
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22910
23077
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22911
23078
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23079
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22912
23080
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23081
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22913
23082
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22914
23083
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22915
23084
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22918,7 +23087,9 @@ const generatedFocusOperations = [
|
|
|
22918
23087
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22919
23088
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22920
23089
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22921
23091
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22922
23093
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22923
23094
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22924
23095
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23056,8 +23227,10 @@ const generatedFocusOperations = [
|
|
|
23056
23227
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23057
23228
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
23229
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
23231
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
23232
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
23234
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
23235
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
23236
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23066,6 +23239,8 @@ const generatedFocusOperations = [
|
|
|
23066
23239
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
23240
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
23241
|
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()),
|
|
23069
23244
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
23245
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
23246
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23074,7 +23249,8 @@ const generatedFocusOperations = [
|
|
|
23074
23249
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23075
23250
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
23251
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23252
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23253
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23078
23254
|
}),
|
|
23079
23255
|
execute: (input, { client }) => {
|
|
23080
23256
|
const data = input;
|
|
@@ -23116,13 +23292,17 @@ const generatedFocusOperations = [
|
|
|
23116
23292
|
group_id: /* @__PURE__ */ number$2(),
|
|
23117
23293
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23118
23294
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23295
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23119
23296
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23120
23297
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23298
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23121
23299
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23122
23300
|
name: /* @__PURE__ */ unknown$1(),
|
|
23123
23301
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23124
23302
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23125
23303
|
project_id: /* @__PURE__ */ number$2(),
|
|
23304
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23305
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23126
23306
|
source: /* @__PURE__ */ unknown$1(),
|
|
23127
23307
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23128
23308
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23131,7 +23311,8 @@ const generatedFocusOperations = [
|
|
|
23131
23311
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23132
23312
|
team_id: /* @__PURE__ */ number$2(),
|
|
23133
23313
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23134
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23314
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23315
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23135
23316
|
}),
|
|
23136
23317
|
execute: (input, { client }) => {
|
|
23137
23318
|
const data = input;
|
|
@@ -23172,13 +23353,17 @@ const generatedFocusOperations = [
|
|
|
23172
23353
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23173
23354
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
23355
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23356
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23175
23357
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
23358
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23359
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
23360
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
23361
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23179
23362
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
23363
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
23364
|
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()),
|
|
23182
23367
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
23368
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
23369
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23187,7 +23372,8 @@ const generatedFocusOperations = [
|
|
|
23187
23372
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23188
23373
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23189
23374
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23190
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23375
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23376
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23191
23377
|
}),
|
|
23192
23378
|
execute: (input, { client }) => {
|
|
23193
23379
|
const data = input;
|
|
@@ -23458,7 +23644,8 @@ const generatedFocusOperations = [
|
|
|
23458
23644
|
mcp: { entityTool: "tasks" },
|
|
23459
23645
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23460
23646
|
date_from: /* @__PURE__ */ string$1(),
|
|
23461
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23647
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
23648
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23462
23649
|
}),
|
|
23463
23650
|
execute: (input, { client }) => {
|
|
23464
23651
|
const data = input;
|
|
@@ -23468,6 +23655,7 @@ const generatedFocusOperations = [
|
|
|
23468
23655
|
client.workspaceIdNumber,
|
|
23469
23656
|
data.date_from,
|
|
23470
23657
|
data.date_to,
|
|
23658
|
+
data.skip_provider_refresh,
|
|
23471
23659
|
void 0
|
|
23472
23660
|
]));
|
|
23473
23661
|
}
|
|
@@ -24054,7 +24242,8 @@ const generatedFocusOperations = [
|
|
|
24054
24242
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24055
24243
|
"project",
|
|
24056
24244
|
"task",
|
|
24057
|
-
"description"
|
|
24245
|
+
"description",
|
|
24246
|
+
"tags"
|
|
24058
24247
|
]) })),
|
|
24059
24248
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24060
24249
|
}) }),
|
|
@@ -24084,6 +24273,7 @@ const generatedFocusOperations = [
|
|
|
24084
24273
|
},
|
|
24085
24274
|
mcp: { entityTool: "time-entries" },
|
|
24086
24275
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24276
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24087
24277
|
payload: /* @__PURE__ */ looseObject({
|
|
24088
24278
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24089
24279
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24094,11 +24284,13 @@ const generatedFocusOperations = [
|
|
|
24094
24284
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24095
24285
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24096
24286
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24097
24288
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24098
24289
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24099
24290
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24100
24291
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24101
24292
|
}),
|
|
24293
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24102
24294
|
task_id: /* @__PURE__ */ number$2()
|
|
24103
24295
|
}),
|
|
24104
24296
|
execute: (input, { client }) => {
|
|
@@ -24109,6 +24301,8 @@ const generatedFocusOperations = [
|
|
|
24109
24301
|
client.workspaceIdNumber,
|
|
24110
24302
|
data.task_id,
|
|
24111
24303
|
data.payload ?? data.data ?? data,
|
|
24304
|
+
data.from_recurring_task_id,
|
|
24305
|
+
data.return_occurrence,
|
|
24112
24306
|
void 0
|
|
24113
24307
|
]));
|
|
24114
24308
|
}
|
|
@@ -24128,21 +24322,26 @@ const generatedFocusOperations = [
|
|
|
24128
24322
|
interactive: "default"
|
|
24129
24323
|
},
|
|
24130
24324
|
mcp: { entityTool: "time-entries" },
|
|
24131
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24325
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24326
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24327
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24328
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24329
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24330
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24331
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24332
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24333
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24334
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24335
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24336
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24337
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24338
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24339
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
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
|
+
}),
|
|
24146
24345
|
execute: (input, { client }) => {
|
|
24147
24346
|
const data = input;
|
|
24148
24347
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24150,6 +24349,8 @@ const generatedFocusOperations = [
|
|
|
24150
24349
|
client.organizationId,
|
|
24151
24350
|
client.workspaceIdNumber,
|
|
24152
24351
|
data.payload ?? data.data ?? data,
|
|
24352
|
+
data.from_recurring_task_id,
|
|
24353
|
+
data.return_occurrence,
|
|
24153
24354
|
void 0
|
|
24154
24355
|
]));
|
|
24155
24356
|
}
|
|
@@ -24169,7 +24370,11 @@ const generatedFocusOperations = [
|
|
|
24169
24370
|
interactive: "default"
|
|
24170
24371
|
},
|
|
24171
24372
|
mcp: { entityTool: "time-entries" },
|
|
24172
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
24173
24378
|
execute: (input, { client }) => {
|
|
24174
24379
|
const data = input;
|
|
24175
24380
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24177,6 +24382,8 @@ const generatedFocusOperations = [
|
|
|
24177
24382
|
client.organizationId,
|
|
24178
24383
|
client.workspaceIdNumber,
|
|
24179
24384
|
data.time_entry_id,
|
|
24385
|
+
data.from_recurring_task_id,
|
|
24386
|
+
data.return_occurrence,
|
|
24180
24387
|
void 0
|
|
24181
24388
|
]));
|
|
24182
24389
|
}
|
|
@@ -24257,6 +24464,7 @@ const generatedFocusOperations = [
|
|
|
24257
24464
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24258
24465
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24259
24466
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24467
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24260
24468
|
status_id: /* @__PURE__ */ number$2(),
|
|
24261
24469
|
task_id: /* @__PURE__ */ number$2(),
|
|
24262
24470
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24433,12 +24641,14 @@ const generatedFocusOperations = [
|
|
|
24433
24641
|
},
|
|
24434
24642
|
mcp: { entityTool: "time-entries" },
|
|
24435
24643
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24644
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24436
24645
|
payload: /* @__PURE__ */ looseObject({
|
|
24437
24646
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24438
24647
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24439
24648
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24440
24649
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24441
24650
|
}),
|
|
24651
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24442
24652
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24443
24653
|
}),
|
|
24444
24654
|
execute: (input, { client }) => {
|
|
@@ -24449,6 +24659,8 @@ const generatedFocusOperations = [
|
|
|
24449
24659
|
client.workspaceIdNumber,
|
|
24450
24660
|
data.time_entry_id,
|
|
24451
24661
|
data.payload ?? data.data ?? data,
|
|
24662
|
+
data.from_recurring_task_id,
|
|
24663
|
+
data.return_occurrence,
|
|
24452
24664
|
void 0
|
|
24453
24665
|
]));
|
|
24454
24666
|
}
|
|
@@ -24706,6 +24918,7 @@ const generatedFocusOperations = [
|
|
|
24706
24918
|
},
|
|
24707
24919
|
mcp: { entityTool: "time-entries" },
|
|
24708
24920
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24921
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24709
24922
|
payload: /* @__PURE__ */ looseObject({
|
|
24710
24923
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24711
24924
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24718,6 +24931,7 @@ const generatedFocusOperations = [
|
|
|
24718
24931
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24719
24932
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24720
24933
|
}),
|
|
24934
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24721
24935
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24722
24936
|
}),
|
|
24723
24937
|
execute: (input, { client }) => {
|
|
@@ -24728,6 +24942,8 @@ const generatedFocusOperations = [
|
|
|
24728
24942
|
client.workspaceIdNumber,
|
|
24729
24943
|
data.time_entry_id,
|
|
24730
24944
|
data.payload ?? data.data ?? data,
|
|
24945
|
+
data.from_recurring_task_id,
|
|
24946
|
+
data.return_occurrence,
|
|
24731
24947
|
void 0
|
|
24732
24948
|
]));
|
|
24733
24949
|
}
|
|
@@ -25813,6 +26029,56 @@ const generatedFocusOperations = [
|
|
|
25813
26029
|
return client.listOrgUsers(data);
|
|
25814
26030
|
}
|
|
25815
26031
|
},
|
|
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
|
+
},
|
|
25816
26082
|
{
|
|
25817
26083
|
id: "focus.users.settings-list",
|
|
25818
26084
|
family: "focus",
|
|
@@ -25874,6 +26140,9 @@ const generatedFocusOperations = [
|
|
|
25874
26140
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25875
26141
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25876
26142
|
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()),
|
|
25877
26146
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25878
26147
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25879
26148
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27920,4 +28189,4 @@ Common commands:
|
|
|
27920
28189
|
//#endregion
|
|
27921
28190
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27922
28191
|
|
|
27923
|
-
//# sourceMappingURL=program-
|
|
28192
|
+
//# sourceMappingURL=program-B7Lcg1Uv.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-B7Lcg1Uv.js";
|
|
2
2
|
export { createProgram };
|