@togglhq/cli 1.11.26 → 1.11.27
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-BvLlr0kI.js → program-B9KMp5sD.js} +100 -378
- 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-B9KMp5sD.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-B9KMp5sD.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())),
|
|
@@ -9475,7 +9471,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9475
9471
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9476
9472
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9477
9473
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9478
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9479
9474
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
9480
9475
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9481
9476
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -9555,8 +9550,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9555
9550
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9556
9551
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9557
9552
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9558
|
-
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."))),
|
|
9559
|
-
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."))),
|
|
9560
9553
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9561
9554
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9562
9555
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9787,7 +9780,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9787
9780
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9788
9781
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9789
9782
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9790
|
-
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."))),
|
|
9791
9783
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9792
9784
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9793
9785
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9824,7 +9816,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9824
9816
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9825
9817
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9826
9818
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9827
|
-
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."))),
|
|
9828
9819
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9829
9820
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9830
9821
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -10110,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10110
10101
|
}
|
|
10111
10102
|
//#endregion
|
|
10112
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10113
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10104
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10114
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10115
10106
|
signal,
|
|
10116
10107
|
searchParams: buildSearchParams$2({
|
|
10117
|
-
include_task_counts,
|
|
10118
|
-
task_archived,
|
|
10119
|
-
task_recurring,
|
|
10120
|
-
task_state,
|
|
10121
|
-
task_source,
|
|
10122
|
-
task_assignee_user_id,
|
|
10123
|
-
task_assignee_team_id,
|
|
10124
|
-
task_name,
|
|
10125
10108
|
page,
|
|
10126
10109
|
per_page,
|
|
10127
10110
|
order_by,
|
|
@@ -10371,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10371
10354
|
}
|
|
10372
10355
|
//#endregion
|
|
10373
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10374
|
-
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) {
|
|
10375
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10376
10359
|
signal,
|
|
10377
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10422,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10422
10405
|
include_assignees,
|
|
10423
10406
|
include_parent_matches,
|
|
10424
10407
|
disable_aggregations,
|
|
10425
|
-
cf_filter
|
|
10426
|
-
recurring_occurrences_after,
|
|
10427
|
-
max_recurring_occurrences_after,
|
|
10428
|
-
recurring_task_read,
|
|
10429
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10430
10409
|
})
|
|
10431
10410
|
}).json();
|
|
10432
10411
|
}
|
|
@@ -10501,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10501
10480
|
})
|
|
10502
10481
|
}).json();
|
|
10503
10482
|
}
|
|
10504
|
-
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) {
|
|
10505
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10506
10485
|
signal,
|
|
10507
10486
|
searchParams: buildSearchParams$2({
|
|
10508
10487
|
date_from,
|
|
10509
|
-
date_to
|
|
10510
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10511
10489
|
})
|
|
10512
10490
|
}).json();
|
|
10513
10491
|
}
|
|
10514
|
-
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) {
|
|
10515
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10516
10494
|
signal,
|
|
10517
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10527,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10527
10505
|
assignee_team_id,
|
|
10528
10506
|
assignee_user_id,
|
|
10529
10507
|
tag_id,
|
|
10530
|
-
include_assignees
|
|
10531
|
-
recurring_occurrences_after,
|
|
10532
|
-
max_recurring_occurrences_after,
|
|
10533
|
-
recurring_task_read,
|
|
10534
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10535
10509
|
})
|
|
10536
10510
|
}).json();
|
|
10537
10511
|
}
|
|
10538
|
-
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) {
|
|
10539
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10540
10514
|
signal,
|
|
10541
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10580,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10580
10554
|
recurring_task_ids,
|
|
10581
10555
|
client_id,
|
|
10582
10556
|
include_assignees,
|
|
10583
|
-
cf_filter
|
|
10584
|
-
recurring_occurrences_after,
|
|
10585
|
-
max_recurring_occurrences_after,
|
|
10586
|
-
recurring_task_read,
|
|
10587
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10588
10558
|
})
|
|
10589
10559
|
}).json();
|
|
10590
10560
|
}
|
|
@@ -10639,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10639
10609
|
})
|
|
10640
10610
|
}).json();
|
|
10641
10611
|
}
|
|
10642
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10643
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10644
|
-
signal,
|
|
10645
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10646
|
-
}).json();
|
|
10647
|
-
}
|
|
10648
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) {
|
|
10649
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10650
10614
|
signal,
|
|
@@ -10781,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10781
10745
|
})
|
|
10782
10746
|
}).json();
|
|
10783
10747
|
}
|
|
10784
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10785
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10786
10750
|
signal,
|
|
10787
|
-
json: data
|
|
10788
|
-
searchParams: buildSearchParams$2({
|
|
10789
|
-
from_recurring_task_id,
|
|
10790
|
-
return_occurrence
|
|
10791
|
-
})
|
|
10751
|
+
json: data
|
|
10792
10752
|
}).json();
|
|
10793
10753
|
}
|
|
10794
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10795
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10796
10756
|
signal,
|
|
10797
|
-
json: data
|
|
10798
|
-
searchParams: buildSearchParams$2({
|
|
10799
|
-
from_recurring_task_id,
|
|
10800
|
-
return_occurrence
|
|
10801
|
-
})
|
|
10757
|
+
json: data
|
|
10802
10758
|
}).json();
|
|
10803
10759
|
}
|
|
10804
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10849,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10849
10805
|
json: data
|
|
10850
10806
|
}).json();
|
|
10851
10807
|
}
|
|
10852
|
-
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) {
|
|
10853
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10854
10810
|
signal,
|
|
10855
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10857,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10857
10813
|
date_to,
|
|
10858
10814
|
task_id,
|
|
10859
10815
|
status_id,
|
|
10860
|
-
project_id,
|
|
10861
10816
|
type,
|
|
10862
10817
|
order_by,
|
|
10863
10818
|
archived,
|
|
@@ -10881,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10881
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10882
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10883
10838
|
}
|
|
10884
|
-
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) {
|
|
10885
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10886
10841
|
signal,
|
|
10887
|
-
json: data
|
|
10888
|
-
searchParams: buildSearchParams$2({
|
|
10889
|
-
from_recurring_task_id,
|
|
10890
|
-
return_occurrence
|
|
10891
|
-
})
|
|
10842
|
+
json: data
|
|
10892
10843
|
}).json();
|
|
10893
10844
|
}
|
|
10894
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10895
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10896
|
-
signal,
|
|
10897
|
-
searchParams: buildSearchParams$2({
|
|
10898
|
-
from_recurring_task_id,
|
|
10899
|
-
return_occurrence
|
|
10900
|
-
})
|
|
10901
|
-
}).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();
|
|
10902
10847
|
}
|
|
10903
|
-
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) {
|
|
10904
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10905
10850
|
signal,
|
|
10906
|
-
json: data
|
|
10907
|
-
searchParams: buildSearchParams$2({
|
|
10908
|
-
from_recurring_task_id,
|
|
10909
|
-
return_occurrence
|
|
10910
|
-
})
|
|
10851
|
+
json: data
|
|
10911
10852
|
}).json();
|
|
10912
10853
|
}
|
|
10913
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14753,15 +14694,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14753
14694
|
}
|
|
14754
14695
|
//#endregion
|
|
14755
14696
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14756
|
-
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) {
|
|
14757
14698
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14758
14699
|
signal,
|
|
14759
14700
|
searchParams: buildSearchParams$2({
|
|
14760
14701
|
workspace_id,
|
|
14761
14702
|
entity_type,
|
|
14762
14703
|
entity_id,
|
|
14763
|
-
project_id,
|
|
14764
|
-
custom_field_id,
|
|
14765
14704
|
action,
|
|
14766
14705
|
user_id,
|
|
14767
14706
|
page_size,
|
|
@@ -14770,14 +14709,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14770
14709
|
})
|
|
14771
14710
|
}).json();
|
|
14772
14711
|
}
|
|
14773
|
-
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) {
|
|
14774
14713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14775
14714
|
signal,
|
|
14776
14715
|
searchParams: buildSearchParams$2({
|
|
14777
14716
|
entity_type,
|
|
14778
14717
|
entity_id,
|
|
14779
|
-
project_id,
|
|
14780
|
-
custom_field_id,
|
|
14781
14718
|
action,
|
|
14782
14719
|
user_id,
|
|
14783
14720
|
page_size,
|
|
@@ -14930,14 +14867,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14930
14867
|
}
|
|
14931
14868
|
//#endregion
|
|
14932
14869
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14933
|
-
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) {
|
|
14934
14871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14935
14872
|
signal,
|
|
14936
14873
|
searchParams: buildSearchParams$2({
|
|
14874
|
+
user_id,
|
|
14937
14875
|
start_date,
|
|
14938
14876
|
end_date,
|
|
14939
|
-
user_id,
|
|
14940
|
-
team_id,
|
|
14941
14877
|
private: private_,
|
|
14942
14878
|
task_source,
|
|
14943
14879
|
unit,
|
|
@@ -14997,15 +14933,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14997
14933
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14998
14934
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14999
14935
|
}
|
|
15000
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15001
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15002
|
-
}
|
|
15003
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15004
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15005
|
-
signal,
|
|
15006
|
-
json: data
|
|
15007
|
-
}).json();
|
|
15008
|
-
}
|
|
15009
14936
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15010
14937
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15011
14938
|
signal,
|
|
@@ -15313,6 +15240,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15313
15240
|
json: data
|
|
15314
15241
|
}).json();
|
|
15315
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
|
+
}
|
|
15316
15246
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15317
15247
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15318
15248
|
}
|
|
@@ -15616,10 +15546,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15616
15546
|
}
|
|
15617
15547
|
//#endregion
|
|
15618
15548
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15619
|
-
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) {
|
|
15620
15550
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15621
15551
|
signal,
|
|
15622
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15623
15552
|
searchParams: buildSearchParams$2({
|
|
15624
15553
|
project_id,
|
|
15625
15554
|
source,
|
|
@@ -15648,18 +15577,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15648
15577
|
min_days,
|
|
15649
15578
|
include_drafts,
|
|
15650
15579
|
cf_filter,
|
|
15651
|
-
user_cf_filter
|
|
15652
|
-
recurring_occurrences_after,
|
|
15653
|
-
max_recurring_occurrences_after,
|
|
15654
|
-
recurring_task_read,
|
|
15655
|
-
include_projected_occurrences
|
|
15580
|
+
user_cf_filter
|
|
15656
15581
|
})
|
|
15657
15582
|
}).json();
|
|
15658
15583
|
}
|
|
15659
|
-
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) {
|
|
15660
15585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15661
15586
|
signal,
|
|
15662
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15663
15587
|
searchParams: buildSearchParams$2({
|
|
15664
15588
|
team_id,
|
|
15665
15589
|
project_id,
|
|
@@ -15688,18 +15612,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15688
15612
|
min_days,
|
|
15689
15613
|
include_drafts,
|
|
15690
15614
|
cf_filter,
|
|
15691
|
-
user_cf_filter
|
|
15692
|
-
recurring_occurrences_after,
|
|
15693
|
-
max_recurring_occurrences_after,
|
|
15694
|
-
recurring_task_read,
|
|
15695
|
-
include_projected_occurrences
|
|
15615
|
+
user_cf_filter
|
|
15696
15616
|
})
|
|
15697
15617
|
}).json();
|
|
15698
15618
|
}
|
|
15699
|
-
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) {
|
|
15700
15620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15701
15621
|
signal,
|
|
15702
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15703
15622
|
searchParams: buildSearchParams$2({
|
|
15704
15623
|
source,
|
|
15705
15624
|
priority,
|
|
@@ -15729,10 +15648,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15729
15648
|
include_drafts,
|
|
15730
15649
|
cf_filter,
|
|
15731
15650
|
user_cf_filter,
|
|
15732
|
-
recurring_occurrences_after,
|
|
15733
|
-
max_recurring_occurrences_after,
|
|
15734
|
-
recurring_task_read,
|
|
15735
|
-
include_projected_occurrences,
|
|
15736
15651
|
page,
|
|
15737
15652
|
per_page,
|
|
15738
15653
|
order_by
|
|
@@ -15968,12 +15883,6 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15968
15883
|
}
|
|
15969
15884
|
//#endregion
|
|
15970
15885
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15971
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15972
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15973
|
-
}
|
|
15974
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15975
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15976
|
-
}
|
|
15977
15886
|
async function getUserSettings(httpClient, signal) {
|
|
15978
15887
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15979
15888
|
}
|
|
@@ -16213,7 +16122,6 @@ const generatedFocusOperations = [
|
|
|
16213
16122
|
mcp: { entityTool: "audit-log" },
|
|
16214
16123
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16215
16124
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16216
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16217
16125
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16218
16126
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16219
16127
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16221,7 +16129,6 @@ const generatedFocusOperations = [
|
|
|
16221
16129
|
from: /* @__PURE__ */ string$1(),
|
|
16222
16130
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16223
16131
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16224
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16225
16132
|
to: /* @__PURE__ */ string$1(),
|
|
16226
16133
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16227
16134
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16255,7 +16162,6 @@ const generatedFocusOperations = [
|
|
|
16255
16162
|
mcp: { entityTool: "audit-log" },
|
|
16256
16163
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16257
16164
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16258
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16259
16165
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16260
16166
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16261
16167
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16263,7 +16169,6 @@ const generatedFocusOperations = [
|
|
|
16263
16169
|
from: /* @__PURE__ */ string$1(),
|
|
16264
16170
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16265
16171
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16266
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16267
16172
|
to: /* @__PURE__ */ string$1(),
|
|
16268
16173
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16269
16174
|
}),
|
|
@@ -16303,7 +16208,6 @@ const generatedFocusOperations = [
|
|
|
16303
16208
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16304
16209
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16305
16210
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16306
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16307
16211
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16308
16212
|
user_id: /* @__PURE__ */ number$2()
|
|
16309
16213
|
}),
|
|
@@ -16744,33 +16648,6 @@ const generatedFocusOperations = [
|
|
|
16744
16648
|
]));
|
|
16745
16649
|
}
|
|
16746
16650
|
},
|
|
16747
|
-
{
|
|
16748
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16749
|
-
family: "focus",
|
|
16750
|
-
resource: "custom-fields",
|
|
16751
|
-
action: "get-allowed-users",
|
|
16752
|
-
title: "Get Allowed Users Custom Fields",
|
|
16753
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16754
|
-
safety: "read",
|
|
16755
|
-
destructive: false,
|
|
16756
|
-
cli: {
|
|
16757
|
-
group: ["custom-fields"],
|
|
16758
|
-
command: "get-allowed-users",
|
|
16759
|
-
interactive: "available"
|
|
16760
|
-
},
|
|
16761
|
-
mcp: { entityTool: "custom-fields" },
|
|
16762
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16763
|
-
execute: (input, { client }) => {
|
|
16764
|
-
const data = input;
|
|
16765
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16766
|
-
client.httpClient,
|
|
16767
|
-
client.organizationId,
|
|
16768
|
-
client.workspaceIdNumber,
|
|
16769
|
-
data.custom_field_id,
|
|
16770
|
-
void 0
|
|
16771
|
-
]));
|
|
16772
|
-
}
|
|
16773
|
-
},
|
|
16774
16651
|
{
|
|
16775
16652
|
id: "focus.custom-fields.list",
|
|
16776
16653
|
family: "focus",
|
|
@@ -16940,37 +16817,6 @@ const generatedFocusOperations = [
|
|
|
16940
16817
|
]));
|
|
16941
16818
|
}
|
|
16942
16819
|
},
|
|
16943
|
-
{
|
|
16944
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16945
|
-
family: "focus",
|
|
16946
|
-
resource: "custom-fields",
|
|
16947
|
-
action: "replace-custom-field-allowed-users",
|
|
16948
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16949
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16950
|
-
safety: "update",
|
|
16951
|
-
destructive: false,
|
|
16952
|
-
cli: {
|
|
16953
|
-
group: ["custom-fields"],
|
|
16954
|
-
command: "replace-custom-field-allowed-users",
|
|
16955
|
-
interactive: "default"
|
|
16956
|
-
},
|
|
16957
|
-
mcp: { entityTool: "custom-fields" },
|
|
16958
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16959
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16960
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16961
|
-
}),
|
|
16962
|
-
execute: (input, { client }) => {
|
|
16963
|
-
const data = input;
|
|
16964
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16965
|
-
client.httpClient,
|
|
16966
|
-
client.organizationId,
|
|
16967
|
-
client.workspaceIdNumber,
|
|
16968
|
-
data.custom_field_id,
|
|
16969
|
-
data.payload ?? data.data ?? data,
|
|
16970
|
-
void 0
|
|
16971
|
-
]));
|
|
16972
|
-
}
|
|
16973
|
-
},
|
|
16974
16820
|
{
|
|
16975
16821
|
id: "focus.custom-fields.update",
|
|
16976
16822
|
family: "focus",
|
|
@@ -17117,7 +16963,13 @@ const generatedFocusOperations = [
|
|
|
17117
16963
|
},
|
|
17118
16964
|
mcp: { entityTool: "goals" },
|
|
17119
16965
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16966
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17120
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()),
|
|
17121
16973
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17122
16974
|
"daily",
|
|
17123
16975
|
"weekly",
|
|
@@ -17125,18 +16977,12 @@ const generatedFocusOperations = [
|
|
|
17125
16977
|
"monthly"
|
|
17126
16978
|
]),
|
|
17127
16979
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16980
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17128
16981
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17129
|
-
|
|
16982
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16983
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17130
16984
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17131
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17132
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17133
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17134
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17135
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17136
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17137
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17138
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17139
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16985
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17140
16986
|
}) }),
|
|
17141
16987
|
execute: (input, { client }) => {
|
|
17142
16988
|
const data = input;
|
|
@@ -17242,6 +17088,13 @@ const generatedFocusOperations = [
|
|
|
17242
17088
|
},
|
|
17243
17089
|
mcp: { entityTool: "goals" },
|
|
17244
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()),
|
|
17245
17098
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17246
17099
|
"daily",
|
|
17247
17100
|
"weekly",
|
|
@@ -17249,19 +17102,12 @@ const generatedFocusOperations = [
|
|
|
17249
17102
|
"monthly"
|
|
17250
17103
|
]),
|
|
17251
17104
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17252
|
-
|
|
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()),
|
|
17253
17109
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17254
|
-
|
|
17255
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17256
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17257
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17258
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17259
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17260
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17261
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17262
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17263
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17264
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17110
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17265
17111
|
}) }),
|
|
17266
17112
|
execute: (input, { client }) => {
|
|
17267
17113
|
const data = input;
|
|
@@ -18228,17 +18074,9 @@ const generatedFocusOperations = [
|
|
|
18228
18074
|
mcp: { entityTool: "projects" },
|
|
18229
18075
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18230
18076
|
payload: /* @__PURE__ */ looseObject({
|
|
18231
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18232
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18233
18077
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18234
18078
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18235
18079
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18236
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18237
|
-
"expire",
|
|
18238
|
-
"carry_all",
|
|
18239
|
-
"carry_over"
|
|
18240
|
-
])),
|
|
18241
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18242
18080
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18243
18081
|
}),
|
|
18244
18082
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18784,6 +18622,29 @@ const generatedFocusOperations = [
|
|
|
18784
18622
|
]));
|
|
18785
18623
|
}
|
|
18786
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
|
+
},
|
|
18787
18648
|
{
|
|
18788
18649
|
id: "focus.projects.margin-targets-get",
|
|
18789
18650
|
family: "focus",
|
|
@@ -21186,7 +21047,7 @@ const generatedFocusOperations = [
|
|
|
21186
21047
|
cli: {
|
|
21187
21048
|
group: ["reportschedules"],
|
|
21188
21049
|
command: "upsert-saved-view-schedule",
|
|
21189
|
-
interactive: "
|
|
21050
|
+
interactive: "default"
|
|
21190
21051
|
},
|
|
21191
21052
|
mcp: { entityTool: "reportschedules" },
|
|
21192
21053
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21197,10 +21058,8 @@ const generatedFocusOperations = [
|
|
|
21197
21058
|
"weekly",
|
|
21198
21059
|
"monthly"
|
|
21199
21060
|
]),
|
|
21200
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21201
21061
|
time: /* @__PURE__ */ string$1(),
|
|
21202
21062
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21203
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21204
21063
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21205
21064
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21206
21065
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22749,37 +22608,6 @@ const generatedFocusOperations = [
|
|
|
22749
22608
|
return client.createTask(data);
|
|
22750
22609
|
}
|
|
22751
22610
|
},
|
|
22752
|
-
{
|
|
22753
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22754
|
-
family: "focus",
|
|
22755
|
-
resource: "tasks",
|
|
22756
|
-
action: "create-recurring-occurrence",
|
|
22757
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22758
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22759
|
-
safety: "create",
|
|
22760
|
-
destructive: false,
|
|
22761
|
-
cli: {
|
|
22762
|
-
group: ["tasks"],
|
|
22763
|
-
command: "create-recurring-occurrence",
|
|
22764
|
-
interactive: "default"
|
|
22765
|
-
},
|
|
22766
|
-
mcp: { entityTool: "tasks" },
|
|
22767
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22768
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22769
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22770
|
-
}),
|
|
22771
|
-
execute: (input, { client }) => {
|
|
22772
|
-
const data = input;
|
|
22773
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22774
|
-
client.httpClient,
|
|
22775
|
-
client.organizationId,
|
|
22776
|
-
client.workspaceIdNumber,
|
|
22777
|
-
data.task_id,
|
|
22778
|
-
data.return_occurrence,
|
|
22779
|
-
void 0
|
|
22780
|
-
]));
|
|
22781
|
-
}
|
|
22782
|
-
},
|
|
22783
22611
|
{
|
|
22784
22612
|
id: "focus.tasks.delete",
|
|
22785
22613
|
family: "focus",
|
|
@@ -23027,13 +22855,9 @@ const generatedFocusOperations = [
|
|
|
23027
22855
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23028
22856
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23029
22857
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23030
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23031
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23032
22858
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23033
22859
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23034
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23035
22860
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23036
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23037
22861
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23038
22862
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23039
22863
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23085,9 +22909,7 @@ const generatedFocusOperations = [
|
|
|
23085
22909
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23086
22910
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
22911
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23088
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23089
22912
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23090
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
22913
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
22914
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
22915
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23096,9 +22918,7 @@ const generatedFocusOperations = [
|
|
|
23096
22918
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23097
22919
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23098
22920
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23099
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23100
22921
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23102
22922
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23103
22923
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23104
22924
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23236,10 +23056,8 @@ const generatedFocusOperations = [
|
|
|
23236
23056
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23237
23057
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23238
23058
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23239
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23240
23059
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23241
23060
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23242
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23243
23061
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
23062
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
23063
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23248,8 +23066,6 @@ const generatedFocusOperations = [
|
|
|
23248
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23249
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23250
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23251
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23252
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23253
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23254
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23255
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23258,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23258
23074
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23259
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23260
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23261
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23262
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23263
23078
|
}),
|
|
23264
23079
|
execute: (input, { client }) => {
|
|
23265
23080
|
const data = input;
|
|
@@ -23301,17 +23116,13 @@ const generatedFocusOperations = [
|
|
|
23301
23116
|
group_id: /* @__PURE__ */ number$2(),
|
|
23302
23117
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23303
23118
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23304
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23305
23119
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23306
23120
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23307
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23308
23121
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23309
23122
|
name: /* @__PURE__ */ unknown$1(),
|
|
23310
23123
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23311
23124
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23312
23125
|
project_id: /* @__PURE__ */ number$2(),
|
|
23313
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23314
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23315
23126
|
source: /* @__PURE__ */ unknown$1(),
|
|
23316
23127
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23317
23128
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23320,8 +23131,7 @@ const generatedFocusOperations = [
|
|
|
23320
23131
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23321
23132
|
team_id: /* @__PURE__ */ number$2(),
|
|
23322
23133
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23323
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23324
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23134
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23325
23135
|
}),
|
|
23326
23136
|
execute: (input, { client }) => {
|
|
23327
23137
|
const data = input;
|
|
@@ -23362,17 +23172,13 @@ const generatedFocusOperations = [
|
|
|
23362
23172
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23363
23173
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
23174
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23365
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
23175
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
23176
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23368
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23369
23177
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23370
23178
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23371
23179
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23372
23180
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23373
23181
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23374
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23375
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23376
23182
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23377
23183
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23378
23184
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23381,8 +23187,7 @@ const generatedFocusOperations = [
|
|
|
23381
23187
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23382
23188
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23383
23189
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23384
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23385
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23190
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23386
23191
|
}),
|
|
23387
23192
|
execute: (input, { client }) => {
|
|
23388
23193
|
const data = input;
|
|
@@ -23653,8 +23458,7 @@ const generatedFocusOperations = [
|
|
|
23653
23458
|
mcp: { entityTool: "tasks" },
|
|
23654
23459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23655
23460
|
date_from: /* @__PURE__ */ string$1(),
|
|
23656
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23657
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23461
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23658
23462
|
}),
|
|
23659
23463
|
execute: (input, { client }) => {
|
|
23660
23464
|
const data = input;
|
|
@@ -23664,7 +23468,6 @@ const generatedFocusOperations = [
|
|
|
23664
23468
|
client.workspaceIdNumber,
|
|
23665
23469
|
data.date_from,
|
|
23666
23470
|
data.date_to,
|
|
23667
|
-
data.skip_provider_refresh,
|
|
23668
23471
|
void 0
|
|
23669
23472
|
]));
|
|
23670
23473
|
}
|
|
@@ -24251,8 +24054,7 @@ const generatedFocusOperations = [
|
|
|
24251
24054
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24252
24055
|
"project",
|
|
24253
24056
|
"task",
|
|
24254
|
-
"description"
|
|
24255
|
-
"tags"
|
|
24057
|
+
"description"
|
|
24256
24058
|
]) })),
|
|
24257
24059
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24258
24060
|
}) }),
|
|
@@ -24282,7 +24084,6 @@ const generatedFocusOperations = [
|
|
|
24282
24084
|
},
|
|
24283
24085
|
mcp: { entityTool: "time-entries" },
|
|
24284
24086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24285
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24286
24087
|
payload: /* @__PURE__ */ looseObject({
|
|
24287
24088
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24288
24089
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24293,13 +24094,11 @@ const generatedFocusOperations = [
|
|
|
24293
24094
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24294
24095
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24295
24096
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24296
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24297
24097
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24298
24098
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24299
24099
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24300
24100
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24301
24101
|
}),
|
|
24302
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24303
24102
|
task_id: /* @__PURE__ */ number$2()
|
|
24304
24103
|
}),
|
|
24305
24104
|
execute: (input, { client }) => {
|
|
@@ -24310,8 +24109,6 @@ const generatedFocusOperations = [
|
|
|
24310
24109
|
client.workspaceIdNumber,
|
|
24311
24110
|
data.task_id,
|
|
24312
24111
|
data.payload ?? data.data ?? data,
|
|
24313
|
-
data.from_recurring_task_id,
|
|
24314
|
-
data.return_occurrence,
|
|
24315
24112
|
void 0
|
|
24316
24113
|
]));
|
|
24317
24114
|
}
|
|
@@ -24331,26 +24128,21 @@ const generatedFocusOperations = [
|
|
|
24331
24128
|
interactive: "default"
|
|
24332
24129
|
},
|
|
24333
24130
|
mcp: { entityTool: "time-entries" },
|
|
24334
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
|
|
24342
|
-
|
|
24343
|
-
|
|
24344
|
-
|
|
24345
|
-
|
|
24346
|
-
|
|
24347
|
-
|
|
24348
|
-
|
|
24349
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24350
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24351
|
-
}),
|
|
24352
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24353
|
-
}),
|
|
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
|
+
}) }),
|
|
24354
24146
|
execute: (input, { client }) => {
|
|
24355
24147
|
const data = input;
|
|
24356
24148
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24358,8 +24150,6 @@ const generatedFocusOperations = [
|
|
|
24358
24150
|
client.organizationId,
|
|
24359
24151
|
client.workspaceIdNumber,
|
|
24360
24152
|
data.payload ?? data.data ?? data,
|
|
24361
|
-
data.from_recurring_task_id,
|
|
24362
|
-
data.return_occurrence,
|
|
24363
24153
|
void 0
|
|
24364
24154
|
]));
|
|
24365
24155
|
}
|
|
@@ -24379,11 +24169,7 @@ const generatedFocusOperations = [
|
|
|
24379
24169
|
interactive: "default"
|
|
24380
24170
|
},
|
|
24381
24171
|
mcp: { entityTool: "time-entries" },
|
|
24382
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24383
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24384
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24385
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24386
|
-
}),
|
|
24172
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24387
24173
|
execute: (input, { client }) => {
|
|
24388
24174
|
const data = input;
|
|
24389
24175
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24391,8 +24177,6 @@ const generatedFocusOperations = [
|
|
|
24391
24177
|
client.organizationId,
|
|
24392
24178
|
client.workspaceIdNumber,
|
|
24393
24179
|
data.time_entry_id,
|
|
24394
|
-
data.from_recurring_task_id,
|
|
24395
|
-
data.return_occurrence,
|
|
24396
24180
|
void 0
|
|
24397
24181
|
]));
|
|
24398
24182
|
}
|
|
@@ -24473,7 +24257,6 @@ const generatedFocusOperations = [
|
|
|
24473
24257
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24474
24258
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24475
24259
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24476
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24477
24260
|
status_id: /* @__PURE__ */ number$2(),
|
|
24478
24261
|
task_id: /* @__PURE__ */ number$2(),
|
|
24479
24262
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24650,14 +24433,12 @@ const generatedFocusOperations = [
|
|
|
24650
24433
|
},
|
|
24651
24434
|
mcp: { entityTool: "time-entries" },
|
|
24652
24435
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24653
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24654
24436
|
payload: /* @__PURE__ */ looseObject({
|
|
24655
24437
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24656
24438
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24657
24439
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24658
24440
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24659
24441
|
}),
|
|
24660
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24661
24442
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24662
24443
|
}),
|
|
24663
24444
|
execute: (input, { client }) => {
|
|
@@ -24668,8 +24449,6 @@ const generatedFocusOperations = [
|
|
|
24668
24449
|
client.workspaceIdNumber,
|
|
24669
24450
|
data.time_entry_id,
|
|
24670
24451
|
data.payload ?? data.data ?? data,
|
|
24671
|
-
data.from_recurring_task_id,
|
|
24672
|
-
data.return_occurrence,
|
|
24673
24452
|
void 0
|
|
24674
24453
|
]));
|
|
24675
24454
|
}
|
|
@@ -24927,7 +24706,6 @@ const generatedFocusOperations = [
|
|
|
24927
24706
|
},
|
|
24928
24707
|
mcp: { entityTool: "time-entries" },
|
|
24929
24708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24930
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24931
24709
|
payload: /* @__PURE__ */ looseObject({
|
|
24932
24710
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24933
24711
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24940,7 +24718,6 @@ const generatedFocusOperations = [
|
|
|
24940
24718
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24941
24719
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24942
24720
|
}),
|
|
24943
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24944
24721
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24945
24722
|
}),
|
|
24946
24723
|
execute: (input, { client }) => {
|
|
@@ -24951,8 +24728,6 @@ const generatedFocusOperations = [
|
|
|
24951
24728
|
client.workspaceIdNumber,
|
|
24952
24729
|
data.time_entry_id,
|
|
24953
24730
|
data.payload ?? data.data ?? data,
|
|
24954
|
-
data.from_recurring_task_id,
|
|
24955
|
-
data.return_occurrence,
|
|
24956
24731
|
void 0
|
|
24957
24732
|
]));
|
|
24958
24733
|
}
|
|
@@ -26038,56 +25813,6 @@ const generatedFocusOperations = [
|
|
|
26038
25813
|
return client.listOrgUsers(data);
|
|
26039
25814
|
}
|
|
26040
25815
|
},
|
|
26041
|
-
{
|
|
26042
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26043
|
-
family: "focus",
|
|
26044
|
-
resource: "users",
|
|
26045
|
-
action: "settings-email-unsubscribe",
|
|
26046
|
-
title: "Settings Email Unsubscribe Users",
|
|
26047
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26048
|
-
safety: "update",
|
|
26049
|
-
destructive: false,
|
|
26050
|
-
cli: {
|
|
26051
|
-
group: ["users", "settings"],
|
|
26052
|
-
command: "email-unsubscribe",
|
|
26053
|
-
interactive: "default"
|
|
26054
|
-
},
|
|
26055
|
-
mcp: { entityTool: "users" },
|
|
26056
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26057
|
-
execute: (input, { client }) => {
|
|
26058
|
-
const data = input;
|
|
26059
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26060
|
-
client.httpClient,
|
|
26061
|
-
data.token,
|
|
26062
|
-
void 0
|
|
26063
|
-
]));
|
|
26064
|
-
}
|
|
26065
|
-
},
|
|
26066
|
-
{
|
|
26067
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26068
|
-
family: "focus",
|
|
26069
|
-
resource: "users",
|
|
26070
|
-
action: "settings-email-unsubscribe-page",
|
|
26071
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26072
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26073
|
-
safety: "read",
|
|
26074
|
-
destructive: false,
|
|
26075
|
-
cli: {
|
|
26076
|
-
group: ["users", "settings"],
|
|
26077
|
-
command: "email-unsubscribe-page",
|
|
26078
|
-
interactive: "available"
|
|
26079
|
-
},
|
|
26080
|
-
mcp: { entityTool: "users" },
|
|
26081
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26082
|
-
execute: (input, { client }) => {
|
|
26083
|
-
const data = input;
|
|
26084
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26085
|
-
client.httpClient,
|
|
26086
|
-
data.token,
|
|
26087
|
-
void 0
|
|
26088
|
-
]));
|
|
26089
|
-
}
|
|
26090
|
-
},
|
|
26091
25816
|
{
|
|
26092
25817
|
id: "focus.users.settings-list",
|
|
26093
25818
|
family: "focus",
|
|
@@ -26149,9 +25874,6 @@ const generatedFocusOperations = [
|
|
|
26149
25874
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26150
25875
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26151
25876
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26152
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26153
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26154
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26155
25877
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26156
25878
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26157
25879
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28198,4 +27920,4 @@ Common commands:
|
|
|
28198
27920
|
//#endregion
|
|
28199
27921
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28200
27922
|
|
|
28201
|
-
//# sourceMappingURL=program-
|
|
27923
|
+
//# sourceMappingURL=program-B9KMp5sD.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-B9KMp5sD.js";
|
|
2
2
|
export { createProgram };
|