@togglhq/cli 1.11.39 → 1.11.40
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-CTc8Pv0t.js → program-C4sQRLwQ.js} +102 -465
- 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-C4sQRLwQ.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-C4sQRLwQ.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()))),
|
|
@@ -9988,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9988
9979
|
})
|
|
9989
9980
|
}).json();
|
|
9990
9981
|
}
|
|
9991
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group,
|
|
9982
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9992
9983
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9993
9984
|
signal,
|
|
9994
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -10009,7 +10000,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10009
10000
|
include_rates,
|
|
10010
10001
|
pinned_ids,
|
|
10011
10002
|
has_group,
|
|
10012
|
-
track_without_focus,
|
|
10013
10003
|
cf_filter,
|
|
10014
10004
|
include_custom_fields,
|
|
10015
10005
|
include_calendar_integration
|
|
@@ -10111,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10111
10101
|
}
|
|
10112
10102
|
//#endregion
|
|
10113
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10114
|
-
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) {
|
|
10115
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10116
10106
|
signal,
|
|
10117
10107
|
searchParams: buildSearchParams$2({
|
|
10118
|
-
include_task_counts,
|
|
10119
|
-
task_archived,
|
|
10120
|
-
task_recurring,
|
|
10121
|
-
task_state,
|
|
10122
|
-
task_source,
|
|
10123
|
-
task_assignee_user_id,
|
|
10124
|
-
task_assignee_team_id,
|
|
10125
|
-
task_name,
|
|
10126
10108
|
page,
|
|
10127
10109
|
per_page,
|
|
10128
10110
|
order_by,
|
|
@@ -10372,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10372
10354
|
}
|
|
10373
10355
|
//#endregion
|
|
10374
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10375
|
-
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) {
|
|
10376
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10377
10359
|
signal,
|
|
10378
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10423,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10423
10405
|
include_assignees,
|
|
10424
10406
|
include_parent_matches,
|
|
10425
10407
|
disable_aggregations,
|
|
10426
|
-
cf_filter
|
|
10427
|
-
recurring_occurrences_after,
|
|
10428
|
-
max_recurring_occurrences_after,
|
|
10429
|
-
recurring_task_read,
|
|
10430
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10431
10409
|
})
|
|
10432
10410
|
}).json();
|
|
10433
10411
|
}
|
|
@@ -10502,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10502
10480
|
})
|
|
10503
10481
|
}).json();
|
|
10504
10482
|
}
|
|
10505
|
-
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) {
|
|
10506
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10507
10485
|
signal,
|
|
10508
10486
|
searchParams: buildSearchParams$2({
|
|
10509
10487
|
date_from,
|
|
10510
|
-
date_to
|
|
10511
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10512
10489
|
})
|
|
10513
10490
|
}).json();
|
|
10514
10491
|
}
|
|
10515
|
-
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) {
|
|
10516
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10517
10494
|
signal,
|
|
10518
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10528,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10528
10505
|
assignee_team_id,
|
|
10529
10506
|
assignee_user_id,
|
|
10530
10507
|
tag_id,
|
|
10531
|
-
include_assignees
|
|
10532
|
-
recurring_occurrences_after,
|
|
10533
|
-
max_recurring_occurrences_after,
|
|
10534
|
-
recurring_task_read,
|
|
10535
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10536
10509
|
})
|
|
10537
10510
|
}).json();
|
|
10538
10511
|
}
|
|
10539
|
-
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) {
|
|
10540
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10541
10514
|
signal,
|
|
10542
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10581,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10581
10554
|
recurring_task_ids,
|
|
10582
10555
|
client_id,
|
|
10583
10556
|
include_assignees,
|
|
10584
|
-
cf_filter
|
|
10585
|
-
recurring_occurrences_after,
|
|
10586
|
-
max_recurring_occurrences_after,
|
|
10587
|
-
recurring_task_read,
|
|
10588
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10589
10558
|
})
|
|
10590
10559
|
}).json();
|
|
10591
10560
|
}
|
|
@@ -10640,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10640
10609
|
})
|
|
10641
10610
|
}).json();
|
|
10642
10611
|
}
|
|
10643
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10644
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10645
|
-
signal,
|
|
10646
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10647
|
-
}).json();
|
|
10648
|
-
}
|
|
10649
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) {
|
|
10650
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10651
10614
|
signal,
|
|
@@ -10782,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10782
10745
|
})
|
|
10783
10746
|
}).json();
|
|
10784
10747
|
}
|
|
10785
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10786
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10787
10750
|
signal,
|
|
10788
|
-
json: data
|
|
10789
|
-
searchParams: buildSearchParams$2({
|
|
10790
|
-
from_recurring_task_id,
|
|
10791
|
-
return_occurrence
|
|
10792
|
-
})
|
|
10751
|
+
json: data
|
|
10793
10752
|
}).json();
|
|
10794
10753
|
}
|
|
10795
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10796
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10797
10756
|
signal,
|
|
10798
|
-
json: data
|
|
10799
|
-
searchParams: buildSearchParams$2({
|
|
10800
|
-
from_recurring_task_id,
|
|
10801
|
-
return_occurrence
|
|
10802
|
-
})
|
|
10757
|
+
json: data
|
|
10803
10758
|
}).json();
|
|
10804
10759
|
}
|
|
10805
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10850,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10850
10805
|
json: data
|
|
10851
10806
|
}).json();
|
|
10852
10807
|
}
|
|
10853
|
-
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) {
|
|
10854
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10855
10810
|
signal,
|
|
10856
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10858,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10858
10813
|
date_to,
|
|
10859
10814
|
task_id,
|
|
10860
10815
|
status_id,
|
|
10861
|
-
project_id,
|
|
10862
10816
|
type,
|
|
10863
10817
|
order_by,
|
|
10864
10818
|
archived,
|
|
@@ -10882,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10882
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10883
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10884
10838
|
}
|
|
10885
|
-
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) {
|
|
10886
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10887
10841
|
signal,
|
|
10888
|
-
json: data
|
|
10889
|
-
searchParams: buildSearchParams$2({
|
|
10890
|
-
from_recurring_task_id,
|
|
10891
|
-
return_occurrence
|
|
10892
|
-
})
|
|
10842
|
+
json: data
|
|
10893
10843
|
}).json();
|
|
10894
10844
|
}
|
|
10895
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10896
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10897
|
-
signal,
|
|
10898
|
-
searchParams: buildSearchParams$2({
|
|
10899
|
-
from_recurring_task_id,
|
|
10900
|
-
return_occurrence
|
|
10901
|
-
})
|
|
10902
|
-
}).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();
|
|
10903
10847
|
}
|
|
10904
|
-
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) {
|
|
10905
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10906
10850
|
signal,
|
|
10907
|
-
json: data
|
|
10908
|
-
searchParams: buildSearchParams$2({
|
|
10909
|
-
from_recurring_task_id,
|
|
10910
|
-
return_occurrence
|
|
10911
|
-
})
|
|
10851
|
+
json: data
|
|
10912
10852
|
}).json();
|
|
10913
10853
|
}
|
|
10914
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14754,15 +14694,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14754
14694
|
}
|
|
14755
14695
|
//#endregion
|
|
14756
14696
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14757
|
-
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) {
|
|
14758
14698
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14759
14699
|
signal,
|
|
14760
14700
|
searchParams: buildSearchParams$2({
|
|
14761
14701
|
workspace_id,
|
|
14762
14702
|
entity_type,
|
|
14763
14703
|
entity_id,
|
|
14764
|
-
project_id,
|
|
14765
|
-
custom_field_id,
|
|
14766
14704
|
action,
|
|
14767
14705
|
user_id,
|
|
14768
14706
|
page_size,
|
|
@@ -14771,14 +14709,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14771
14709
|
})
|
|
14772
14710
|
}).json();
|
|
14773
14711
|
}
|
|
14774
|
-
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) {
|
|
14775
14713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14776
14714
|
signal,
|
|
14777
14715
|
searchParams: buildSearchParams$2({
|
|
14778
14716
|
entity_type,
|
|
14779
14717
|
entity_id,
|
|
14780
|
-
project_id,
|
|
14781
|
-
custom_field_id,
|
|
14782
14718
|
action,
|
|
14783
14719
|
user_id,
|
|
14784
14720
|
page_size,
|
|
@@ -14931,14 +14867,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14931
14867
|
}
|
|
14932
14868
|
//#endregion
|
|
14933
14869
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14934
|
-
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) {
|
|
14935
14871
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14936
14872
|
signal,
|
|
14937
14873
|
searchParams: buildSearchParams$2({
|
|
14874
|
+
user_id,
|
|
14938
14875
|
start_date,
|
|
14939
14876
|
end_date,
|
|
14940
|
-
user_id,
|
|
14941
|
-
team_id,
|
|
14942
14877
|
private: private_,
|
|
14943
14878
|
task_source,
|
|
14944
14879
|
unit,
|
|
@@ -14998,15 +14933,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14998
14933
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14999
14934
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
15000
14935
|
}
|
|
15001
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15002
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15003
|
-
}
|
|
15004
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15005
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15006
|
-
signal,
|
|
15007
|
-
json: data
|
|
15008
|
-
}).json();
|
|
15009
|
-
}
|
|
15010
14936
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15011
14937
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15012
14938
|
signal,
|
|
@@ -15270,7 +15196,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15270
15196
|
}
|
|
15271
15197
|
//#endregion
|
|
15272
15198
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15273
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
15199
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15274
15200
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15275
15201
|
signal,
|
|
15276
15202
|
searchParams: buildSearchParams$2({
|
|
@@ -15296,7 +15222,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15296
15222
|
user_id,
|
|
15297
15223
|
only_me,
|
|
15298
15224
|
include_drafts,
|
|
15299
|
-
include_recurring_series,
|
|
15300
15225
|
cf_filter
|
|
15301
15226
|
})
|
|
15302
15227
|
}).json();
|
|
@@ -15315,6 +15240,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15315
15240
|
json: data
|
|
15316
15241
|
}).json();
|
|
15317
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
|
+
}
|
|
15318
15246
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15319
15247
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15320
15248
|
}
|
|
@@ -15618,10 +15546,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15618
15546
|
}
|
|
15619
15547
|
//#endregion
|
|
15620
15548
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15621
|
-
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) {
|
|
15622
15550
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15623
15551
|
signal,
|
|
15624
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15625
15552
|
searchParams: buildSearchParams$2({
|
|
15626
15553
|
project_id,
|
|
15627
15554
|
source,
|
|
@@ -15650,18 +15577,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15650
15577
|
min_days,
|
|
15651
15578
|
include_drafts,
|
|
15652
15579
|
cf_filter,
|
|
15653
|
-
user_cf_filter
|
|
15654
|
-
recurring_occurrences_after,
|
|
15655
|
-
max_recurring_occurrences_after,
|
|
15656
|
-
recurring_task_read,
|
|
15657
|
-
include_projected_occurrences
|
|
15580
|
+
user_cf_filter
|
|
15658
15581
|
})
|
|
15659
15582
|
}).json();
|
|
15660
15583
|
}
|
|
15661
|
-
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) {
|
|
15662
15585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15663
15586
|
signal,
|
|
15664
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15665
15587
|
searchParams: buildSearchParams$2({
|
|
15666
15588
|
team_id,
|
|
15667
15589
|
project_id,
|
|
@@ -15690,18 +15612,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15690
15612
|
min_days,
|
|
15691
15613
|
include_drafts,
|
|
15692
15614
|
cf_filter,
|
|
15693
|
-
user_cf_filter
|
|
15694
|
-
recurring_occurrences_after,
|
|
15695
|
-
max_recurring_occurrences_after,
|
|
15696
|
-
recurring_task_read,
|
|
15697
|
-
include_projected_occurrences
|
|
15615
|
+
user_cf_filter
|
|
15698
15616
|
})
|
|
15699
15617
|
}).json();
|
|
15700
15618
|
}
|
|
15701
|
-
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) {
|
|
15702
15620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15703
15621
|
signal,
|
|
15704
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15705
15622
|
searchParams: buildSearchParams$2({
|
|
15706
15623
|
source,
|
|
15707
15624
|
priority,
|
|
@@ -15731,10 +15648,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15731
15648
|
include_drafts,
|
|
15732
15649
|
cf_filter,
|
|
15733
15650
|
user_cf_filter,
|
|
15734
|
-
recurring_occurrences_after,
|
|
15735
|
-
max_recurring_occurrences_after,
|
|
15736
|
-
recurring_task_read,
|
|
15737
|
-
include_projected_occurrences,
|
|
15738
15651
|
page,
|
|
15739
15652
|
per_page,
|
|
15740
15653
|
order_by
|
|
@@ -15926,19 +15839,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15926
15839
|
json: data
|
|
15927
15840
|
}).json();
|
|
15928
15841
|
}
|
|
15929
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15930
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15931
|
-
signal,
|
|
15932
|
-
searchParams: buildSearchParams$2({
|
|
15933
|
-
date_from,
|
|
15934
|
-
date_to,
|
|
15935
|
-
setup_id,
|
|
15936
|
-
user_account_ids,
|
|
15937
|
-
approver_user_account_ids,
|
|
15938
|
-
team_ids
|
|
15939
|
-
})
|
|
15940
|
-
}).json();
|
|
15941
|
-
}
|
|
15942
15842
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15943
15843
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15944
15844
|
}
|
|
@@ -15982,21 +15882,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15982
15882
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15983
15883
|
}
|
|
15984
15884
|
//#endregion
|
|
15985
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15986
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15987
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15988
|
-
signal,
|
|
15989
|
-
json: data
|
|
15990
|
-
}).json();
|
|
15991
|
-
}
|
|
15992
|
-
//#endregion
|
|
15993
15885
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15994
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15995
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15996
|
-
}
|
|
15997
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15998
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15999
|
-
}
|
|
16000
15886
|
async function getUserSettings(httpClient, signal) {
|
|
16001
15887
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
16002
15888
|
}
|
|
@@ -16236,7 +16122,6 @@ const generatedFocusOperations = [
|
|
|
16236
16122
|
mcp: { entityTool: "audit-log" },
|
|
16237
16123
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16238
16124
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16239
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16240
16125
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16241
16126
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16242
16127
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16244,7 +16129,6 @@ const generatedFocusOperations = [
|
|
|
16244
16129
|
from: /* @__PURE__ */ string$1(),
|
|
16245
16130
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16246
16131
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16247
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16248
16132
|
to: /* @__PURE__ */ string$1(),
|
|
16249
16133
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16250
16134
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16278,7 +16162,6 @@ const generatedFocusOperations = [
|
|
|
16278
16162
|
mcp: { entityTool: "audit-log" },
|
|
16279
16163
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16280
16164
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16281
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16282
16165
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16283
16166
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16284
16167
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16286,7 +16169,6 @@ const generatedFocusOperations = [
|
|
|
16286
16169
|
from: /* @__PURE__ */ string$1(),
|
|
16287
16170
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16288
16171
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16289
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16290
16172
|
to: /* @__PURE__ */ string$1(),
|
|
16291
16173
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16292
16174
|
}),
|
|
@@ -16326,7 +16208,6 @@ const generatedFocusOperations = [
|
|
|
16326
16208
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16327
16209
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16328
16210
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16329
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16330
16211
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16331
16212
|
user_id: /* @__PURE__ */ number$2()
|
|
16332
16213
|
}),
|
|
@@ -16767,33 +16648,6 @@ const generatedFocusOperations = [
|
|
|
16767
16648
|
]));
|
|
16768
16649
|
}
|
|
16769
16650
|
},
|
|
16770
|
-
{
|
|
16771
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16772
|
-
family: "focus",
|
|
16773
|
-
resource: "custom-fields",
|
|
16774
|
-
action: "get-allowed-users",
|
|
16775
|
-
title: "Get Allowed Users Custom Fields",
|
|
16776
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16777
|
-
safety: "read",
|
|
16778
|
-
destructive: false,
|
|
16779
|
-
cli: {
|
|
16780
|
-
group: ["custom-fields"],
|
|
16781
|
-
command: "get-allowed-users",
|
|
16782
|
-
interactive: "available"
|
|
16783
|
-
},
|
|
16784
|
-
mcp: { entityTool: "custom-fields" },
|
|
16785
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16786
|
-
execute: (input, { client }) => {
|
|
16787
|
-
const data = input;
|
|
16788
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16789
|
-
client.httpClient,
|
|
16790
|
-
client.organizationId,
|
|
16791
|
-
client.workspaceIdNumber,
|
|
16792
|
-
data.custom_field_id,
|
|
16793
|
-
void 0
|
|
16794
|
-
]));
|
|
16795
|
-
}
|
|
16796
|
-
},
|
|
16797
16651
|
{
|
|
16798
16652
|
id: "focus.custom-fields.list",
|
|
16799
16653
|
family: "focus",
|
|
@@ -16963,37 +16817,6 @@ const generatedFocusOperations = [
|
|
|
16963
16817
|
]));
|
|
16964
16818
|
}
|
|
16965
16819
|
},
|
|
16966
|
-
{
|
|
16967
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16968
|
-
family: "focus",
|
|
16969
|
-
resource: "custom-fields",
|
|
16970
|
-
action: "replace-custom-field-allowed-users",
|
|
16971
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16972
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16973
|
-
safety: "update",
|
|
16974
|
-
destructive: false,
|
|
16975
|
-
cli: {
|
|
16976
|
-
group: ["custom-fields"],
|
|
16977
|
-
command: "replace-custom-field-allowed-users",
|
|
16978
|
-
interactive: "default"
|
|
16979
|
-
},
|
|
16980
|
-
mcp: { entityTool: "custom-fields" },
|
|
16981
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16982
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16983
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16984
|
-
}),
|
|
16985
|
-
execute: (input, { client }) => {
|
|
16986
|
-
const data = input;
|
|
16987
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16988
|
-
client.httpClient,
|
|
16989
|
-
client.organizationId,
|
|
16990
|
-
client.workspaceIdNumber,
|
|
16991
|
-
data.custom_field_id,
|
|
16992
|
-
data.payload ?? data.data ?? data,
|
|
16993
|
-
void 0
|
|
16994
|
-
]));
|
|
16995
|
-
}
|
|
16996
|
-
},
|
|
16997
16820
|
{
|
|
16998
16821
|
id: "focus.custom-fields.update",
|
|
16999
16822
|
family: "focus",
|
|
@@ -17140,7 +16963,13 @@ const generatedFocusOperations = [
|
|
|
17140
16963
|
},
|
|
17141
16964
|
mcp: { entityTool: "goals" },
|
|
17142
16965
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16966
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17143
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()),
|
|
17144
16973
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17145
16974
|
"daily",
|
|
17146
16975
|
"weekly",
|
|
@@ -17148,18 +16977,12 @@ const generatedFocusOperations = [
|
|
|
17148
16977
|
"monthly"
|
|
17149
16978
|
]),
|
|
17150
16979
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16980
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17151
16981
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17152
|
-
|
|
16982
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16983
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17153
16984
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17154
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17155
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17156
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17157
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17158
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17159
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17160
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17161
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17162
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16985
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17163
16986
|
}) }),
|
|
17164
16987
|
execute: (input, { client }) => {
|
|
17165
16988
|
const data = input;
|
|
@@ -17265,6 +17088,13 @@ const generatedFocusOperations = [
|
|
|
17265
17088
|
},
|
|
17266
17089
|
mcp: { entityTool: "goals" },
|
|
17267
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()),
|
|
17268
17098
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17269
17099
|
"daily",
|
|
17270
17100
|
"weekly",
|
|
@@ -17272,19 +17102,12 @@ const generatedFocusOperations = [
|
|
|
17272
17102
|
"monthly"
|
|
17273
17103
|
]),
|
|
17274
17104
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17275
|
-
|
|
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()),
|
|
17276
17109
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17277
|
-
|
|
17278
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17279
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17280
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17281
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17282
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17283
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17284
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17285
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17286
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17287
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17110
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17288
17111
|
}) }),
|
|
17289
17112
|
execute: (input, { client }) => {
|
|
17290
17113
|
const data = input;
|
|
@@ -18251,17 +18074,9 @@ const generatedFocusOperations = [
|
|
|
18251
18074
|
mcp: { entityTool: "projects" },
|
|
18252
18075
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18253
18076
|
payload: /* @__PURE__ */ looseObject({
|
|
18254
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18255
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18256
18077
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18257
18078
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18258
18079
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18259
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18260
|
-
"expire",
|
|
18261
|
-
"carry_all",
|
|
18262
|
-
"carry_over"
|
|
18263
|
-
])),
|
|
18264
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18265
18080
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18266
18081
|
}),
|
|
18267
18082
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18705,7 +18520,6 @@ const generatedFocusOperations = [
|
|
|
18705
18520
|
group: /* @__PURE__ */ string$1(),
|
|
18706
18521
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18707
18522
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18708
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18709
18523
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18710
18524
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18711
18525
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18808,6 +18622,29 @@ const generatedFocusOperations = [
|
|
|
18808
18622
|
]));
|
|
18809
18623
|
}
|
|
18810
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
|
+
},
|
|
18811
18648
|
{
|
|
18812
18649
|
id: "focus.projects.margin-targets-get",
|
|
18813
18650
|
family: "focus",
|
|
@@ -21210,7 +21047,7 @@ const generatedFocusOperations = [
|
|
|
21210
21047
|
cli: {
|
|
21211
21048
|
group: ["reportschedules"],
|
|
21212
21049
|
command: "upsert-saved-view-schedule",
|
|
21213
|
-
interactive: "
|
|
21050
|
+
interactive: "default"
|
|
21214
21051
|
},
|
|
21215
21052
|
mcp: { entityTool: "reportschedules" },
|
|
21216
21053
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21221,10 +21058,8 @@ const generatedFocusOperations = [
|
|
|
21221
21058
|
"weekly",
|
|
21222
21059
|
"monthly"
|
|
21223
21060
|
]),
|
|
21224
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21225
21061
|
time: /* @__PURE__ */ string$1(),
|
|
21226
21062
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21227
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21228
21063
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21229
21064
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21230
21065
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -22773,37 +22608,6 @@ const generatedFocusOperations = [
|
|
|
22773
22608
|
return client.createTask(data);
|
|
22774
22609
|
}
|
|
22775
22610
|
},
|
|
22776
|
-
{
|
|
22777
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22778
|
-
family: "focus",
|
|
22779
|
-
resource: "tasks",
|
|
22780
|
-
action: "create-recurring-occurrence",
|
|
22781
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22782
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22783
|
-
safety: "create",
|
|
22784
|
-
destructive: false,
|
|
22785
|
-
cli: {
|
|
22786
|
-
group: ["tasks"],
|
|
22787
|
-
command: "create-recurring-occurrence",
|
|
22788
|
-
interactive: "default"
|
|
22789
|
-
},
|
|
22790
|
-
mcp: { entityTool: "tasks" },
|
|
22791
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22792
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22793
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22794
|
-
}),
|
|
22795
|
-
execute: (input, { client }) => {
|
|
22796
|
-
const data = input;
|
|
22797
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22798
|
-
client.httpClient,
|
|
22799
|
-
client.organizationId,
|
|
22800
|
-
client.workspaceIdNumber,
|
|
22801
|
-
data.task_id,
|
|
22802
|
-
data.return_occurrence,
|
|
22803
|
-
void 0
|
|
22804
|
-
]));
|
|
22805
|
-
}
|
|
22806
|
-
},
|
|
22807
22611
|
{
|
|
22808
22612
|
id: "focus.tasks.delete",
|
|
22809
22613
|
family: "focus",
|
|
@@ -23051,13 +22855,9 @@ const generatedFocusOperations = [
|
|
|
23051
22855
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23052
22856
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23053
22857
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23054
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23055
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23056
22858
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23057
22859
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
22860
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
22861
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23062
22862
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23063
22863
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23109,9 +22909,7 @@ const generatedFocusOperations = [
|
|
|
23109
22909
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23110
22910
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23111
22911
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23112
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23113
22912
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23114
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23115
22913
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23116
22914
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23117
22915
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23120,9 +22918,7 @@ const generatedFocusOperations = [
|
|
|
23120
22918
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23121
22919
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23122
22920
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23123
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23124
22921
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23125
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23126
22922
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23127
22923
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23128
22924
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23260,10 +23056,8 @@ const generatedFocusOperations = [
|
|
|
23260
23056
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23261
23057
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23262
23058
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23263
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23264
23059
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23265
23060
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23266
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23267
23061
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23268
23062
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23269
23063
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23272,8 +23066,6 @@ const generatedFocusOperations = [
|
|
|
23272
23066
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23273
23067
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23274
23068
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23275
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23276
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23277
23069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23278
23070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23279
23071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23282,8 +23074,7 @@ const generatedFocusOperations = [
|
|
|
23282
23074
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23283
23075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23284
23076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23285
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23286
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23287
23078
|
}),
|
|
23288
23079
|
execute: (input, { client }) => {
|
|
23289
23080
|
const data = input;
|
|
@@ -23325,17 +23116,13 @@ const generatedFocusOperations = [
|
|
|
23325
23116
|
group_id: /* @__PURE__ */ number$2(),
|
|
23326
23117
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23327
23118
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23328
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23329
23119
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23330
23120
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23331
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23332
23121
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23333
23122
|
name: /* @__PURE__ */ unknown$1(),
|
|
23334
23123
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23335
23124
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23336
23125
|
project_id: /* @__PURE__ */ number$2(),
|
|
23337
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23338
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23339
23126
|
source: /* @__PURE__ */ unknown$1(),
|
|
23340
23127
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23341
23128
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23344,8 +23131,7 @@ const generatedFocusOperations = [
|
|
|
23344
23131
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23345
23132
|
team_id: /* @__PURE__ */ number$2(),
|
|
23346
23133
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23347
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23348
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23134
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23349
23135
|
}),
|
|
23350
23136
|
execute: (input, { client }) => {
|
|
23351
23137
|
const data = input;
|
|
@@ -23386,17 +23172,13 @@ const generatedFocusOperations = [
|
|
|
23386
23172
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23387
23173
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23388
23174
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23389
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23390
23175
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23391
23176
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23392
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23393
23177
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23394
23178
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23395
23179
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23396
23180
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23397
23181
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23398
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23399
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23400
23182
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23401
23183
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23402
23184
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23405,8 +23187,7 @@ const generatedFocusOperations = [
|
|
|
23405
23187
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23406
23188
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23407
23189
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23408
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23409
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23190
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23410
23191
|
}),
|
|
23411
23192
|
execute: (input, { client }) => {
|
|
23412
23193
|
const data = input;
|
|
@@ -23677,8 +23458,7 @@ const generatedFocusOperations = [
|
|
|
23677
23458
|
mcp: { entityTool: "tasks" },
|
|
23678
23459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23679
23460
|
date_from: /* @__PURE__ */ string$1(),
|
|
23680
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23681
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23461
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23682
23462
|
}),
|
|
23683
23463
|
execute: (input, { client }) => {
|
|
23684
23464
|
const data = input;
|
|
@@ -23688,7 +23468,6 @@ const generatedFocusOperations = [
|
|
|
23688
23468
|
client.workspaceIdNumber,
|
|
23689
23469
|
data.date_from,
|
|
23690
23470
|
data.date_to,
|
|
23691
|
-
data.skip_provider_refresh,
|
|
23692
23471
|
void 0
|
|
23693
23472
|
]));
|
|
23694
23473
|
}
|
|
@@ -24275,8 +24054,7 @@ const generatedFocusOperations = [
|
|
|
24275
24054
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24276
24055
|
"project",
|
|
24277
24056
|
"task",
|
|
24278
|
-
"description"
|
|
24279
|
-
"tags"
|
|
24057
|
+
"description"
|
|
24280
24058
|
]) })),
|
|
24281
24059
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24282
24060
|
}) }),
|
|
@@ -24306,7 +24084,6 @@ const generatedFocusOperations = [
|
|
|
24306
24084
|
},
|
|
24307
24085
|
mcp: { entityTool: "time-entries" },
|
|
24308
24086
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24309
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24310
24087
|
payload: /* @__PURE__ */ looseObject({
|
|
24311
24088
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24312
24089
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24317,13 +24094,11 @@ const generatedFocusOperations = [
|
|
|
24317
24094
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24318
24095
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24319
24096
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24320
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24321
24097
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24322
24098
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24323
24099
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24324
24100
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24325
24101
|
}),
|
|
24326
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24327
24102
|
task_id: /* @__PURE__ */ number$2()
|
|
24328
24103
|
}),
|
|
24329
24104
|
execute: (input, { client }) => {
|
|
@@ -24334,8 +24109,6 @@ const generatedFocusOperations = [
|
|
|
24334
24109
|
client.workspaceIdNumber,
|
|
24335
24110
|
data.task_id,
|
|
24336
24111
|
data.payload ?? data.data ?? data,
|
|
24337
|
-
data.from_recurring_task_id,
|
|
24338
|
-
data.return_occurrence,
|
|
24339
24112
|
void 0
|
|
24340
24113
|
]));
|
|
24341
24114
|
}
|
|
@@ -24355,26 +24128,21 @@ const generatedFocusOperations = [
|
|
|
24355
24128
|
interactive: "default"
|
|
24356
24129
|
},
|
|
24357
24130
|
mcp: { entityTool: "time-entries" },
|
|
24358
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24359
|
-
|
|
24360
|
-
|
|
24361
|
-
|
|
24362
|
-
|
|
24363
|
-
|
|
24364
|
-
|
|
24365
|
-
|
|
24366
|
-
|
|
24367
|
-
|
|
24368
|
-
|
|
24369
|
-
|
|
24370
|
-
|
|
24371
|
-
|
|
24372
|
-
|
|
24373
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24374
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24375
|
-
}),
|
|
24376
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24377
|
-
}),
|
|
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
|
+
}) }),
|
|
24378
24146
|
execute: (input, { client }) => {
|
|
24379
24147
|
const data = input;
|
|
24380
24148
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24382,8 +24150,6 @@ const generatedFocusOperations = [
|
|
|
24382
24150
|
client.organizationId,
|
|
24383
24151
|
client.workspaceIdNumber,
|
|
24384
24152
|
data.payload ?? data.data ?? data,
|
|
24385
|
-
data.from_recurring_task_id,
|
|
24386
|
-
data.return_occurrence,
|
|
24387
24153
|
void 0
|
|
24388
24154
|
]));
|
|
24389
24155
|
}
|
|
@@ -24403,11 +24169,7 @@ const generatedFocusOperations = [
|
|
|
24403
24169
|
interactive: "default"
|
|
24404
24170
|
},
|
|
24405
24171
|
mcp: { entityTool: "time-entries" },
|
|
24406
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24407
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24408
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24409
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24410
|
-
}),
|
|
24172
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24411
24173
|
execute: (input, { client }) => {
|
|
24412
24174
|
const data = input;
|
|
24413
24175
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24415,8 +24177,6 @@ const generatedFocusOperations = [
|
|
|
24415
24177
|
client.organizationId,
|
|
24416
24178
|
client.workspaceIdNumber,
|
|
24417
24179
|
data.time_entry_id,
|
|
24418
|
-
data.from_recurring_task_id,
|
|
24419
|
-
data.return_occurrence,
|
|
24420
24180
|
void 0
|
|
24421
24181
|
]));
|
|
24422
24182
|
}
|
|
@@ -24497,7 +24257,6 @@ const generatedFocusOperations = [
|
|
|
24497
24257
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24498
24258
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24499
24259
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24500
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24501
24260
|
status_id: /* @__PURE__ */ number$2(),
|
|
24502
24261
|
task_id: /* @__PURE__ */ number$2(),
|
|
24503
24262
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24674,14 +24433,12 @@ const generatedFocusOperations = [
|
|
|
24674
24433
|
},
|
|
24675
24434
|
mcp: { entityTool: "time-entries" },
|
|
24676
24435
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24677
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24678
24436
|
payload: /* @__PURE__ */ looseObject({
|
|
24679
24437
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24680
24438
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24681
24439
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24682
24440
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24683
24441
|
}),
|
|
24684
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24685
24442
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24686
24443
|
}),
|
|
24687
24444
|
execute: (input, { client }) => {
|
|
@@ -24692,8 +24449,6 @@ const generatedFocusOperations = [
|
|
|
24692
24449
|
client.workspaceIdNumber,
|
|
24693
24450
|
data.time_entry_id,
|
|
24694
24451
|
data.payload ?? data.data ?? data,
|
|
24695
|
-
data.from_recurring_task_id,
|
|
24696
|
-
data.return_occurrence,
|
|
24697
24452
|
void 0
|
|
24698
24453
|
]));
|
|
24699
24454
|
}
|
|
@@ -24951,7 +24706,6 @@ const generatedFocusOperations = [
|
|
|
24951
24706
|
},
|
|
24952
24707
|
mcp: { entityTool: "time-entries" },
|
|
24953
24708
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24954
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24955
24709
|
payload: /* @__PURE__ */ looseObject({
|
|
24956
24710
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24957
24711
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24964,7 +24718,6 @@ const generatedFocusOperations = [
|
|
|
24964
24718
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24965
24719
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24966
24720
|
}),
|
|
24967
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24968
24721
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24969
24722
|
}),
|
|
24970
24723
|
execute: (input, { client }) => {
|
|
@@ -24975,8 +24728,6 @@ const generatedFocusOperations = [
|
|
|
24975
24728
|
client.workspaceIdNumber,
|
|
24976
24729
|
data.time_entry_id,
|
|
24977
24730
|
data.payload ?? data.data ?? data,
|
|
24978
|
-
data.from_recurring_task_id,
|
|
24979
|
-
data.return_occurrence,
|
|
24980
24731
|
void 0
|
|
24981
24732
|
]));
|
|
24982
24733
|
}
|
|
@@ -25492,40 +25243,6 @@ const generatedFocusOperations = [
|
|
|
25492
25243
|
]));
|
|
25493
25244
|
}
|
|
25494
25245
|
},
|
|
25495
|
-
{
|
|
25496
|
-
id: "focus.timesheets.get-status-counts",
|
|
25497
|
-
family: "focus",
|
|
25498
|
-
resource: "timesheets",
|
|
25499
|
-
action: "get-status-counts",
|
|
25500
|
-
title: "Get Status Counts Timesheets",
|
|
25501
|
-
description: "Get Status Counts Timesheets.",
|
|
25502
|
-
safety: "read",
|
|
25503
|
-
destructive: false,
|
|
25504
|
-
cli: {
|
|
25505
|
-
group: ["timesheets"],
|
|
25506
|
-
command: "get-status-counts",
|
|
25507
|
-
interactive: "hidden"
|
|
25508
|
-
},
|
|
25509
|
-
mcp: { entityTool: "timesheets" },
|
|
25510
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25511
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25512
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25513
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25514
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25515
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25516
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25517
|
-
}),
|
|
25518
|
-
execute: (input, { client }) => {
|
|
25519
|
-
const data = input;
|
|
25520
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25521
|
-
client.httpClient,
|
|
25522
|
-
client.organizationId,
|
|
25523
|
-
client.workspaceIdNumber,
|
|
25524
|
-
data,
|
|
25525
|
-
void 0
|
|
25526
|
-
]));
|
|
25527
|
-
}
|
|
25528
|
-
},
|
|
25529
25246
|
{
|
|
25530
25247
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25531
25248
|
family: "focus",
|
|
@@ -26075,33 +25792,6 @@ const generatedFocusOperations = [
|
|
|
26075
25792
|
]));
|
|
26076
25793
|
}
|
|
26077
25794
|
},
|
|
26078
|
-
{
|
|
26079
|
-
id: "focus.track-team-invites.post",
|
|
26080
|
-
family: "focus",
|
|
26081
|
-
resource: "track-team-invites",
|
|
26082
|
-
action: "post",
|
|
26083
|
-
title: "Post Track Team Invites",
|
|
26084
|
-
description: "Post Track Team Invites.",
|
|
26085
|
-
safety: "create",
|
|
26086
|
-
destructive: false,
|
|
26087
|
-
cli: {
|
|
26088
|
-
group: ["track-team-invites"],
|
|
26089
|
-
command: "post",
|
|
26090
|
-
interactive: "default"
|
|
26091
|
-
},
|
|
26092
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26093
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26094
|
-
execute: (input, { client }) => {
|
|
26095
|
-
const data = input;
|
|
26096
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26097
|
-
client.httpClient,
|
|
26098
|
-
client.organizationId,
|
|
26099
|
-
client.workspaceIdNumber,
|
|
26100
|
-
data.payload ?? data.data ?? data,
|
|
26101
|
-
void 0
|
|
26102
|
-
]));
|
|
26103
|
-
}
|
|
26104
|
-
},
|
|
26105
25795
|
{
|
|
26106
25796
|
id: "focus.users.list",
|
|
26107
25797
|
family: "focus",
|
|
@@ -26123,56 +25813,6 @@ const generatedFocusOperations = [
|
|
|
26123
25813
|
return client.listOrgUsers(data);
|
|
26124
25814
|
}
|
|
26125
25815
|
},
|
|
26126
|
-
{
|
|
26127
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26128
|
-
family: "focus",
|
|
26129
|
-
resource: "users",
|
|
26130
|
-
action: "settings-email-unsubscribe",
|
|
26131
|
-
title: "Settings Email Unsubscribe Users",
|
|
26132
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26133
|
-
safety: "update",
|
|
26134
|
-
destructive: false,
|
|
26135
|
-
cli: {
|
|
26136
|
-
group: ["users", "settings"],
|
|
26137
|
-
command: "email-unsubscribe",
|
|
26138
|
-
interactive: "default"
|
|
26139
|
-
},
|
|
26140
|
-
mcp: { entityTool: "users" },
|
|
26141
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26142
|
-
execute: (input, { client }) => {
|
|
26143
|
-
const data = input;
|
|
26144
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26145
|
-
client.httpClient,
|
|
26146
|
-
data.token,
|
|
26147
|
-
void 0
|
|
26148
|
-
]));
|
|
26149
|
-
}
|
|
26150
|
-
},
|
|
26151
|
-
{
|
|
26152
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26153
|
-
family: "focus",
|
|
26154
|
-
resource: "users",
|
|
26155
|
-
action: "settings-email-unsubscribe-page",
|
|
26156
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26157
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26158
|
-
safety: "read",
|
|
26159
|
-
destructive: false,
|
|
26160
|
-
cli: {
|
|
26161
|
-
group: ["users", "settings"],
|
|
26162
|
-
command: "email-unsubscribe-page",
|
|
26163
|
-
interactive: "available"
|
|
26164
|
-
},
|
|
26165
|
-
mcp: { entityTool: "users" },
|
|
26166
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26167
|
-
execute: (input, { client }) => {
|
|
26168
|
-
const data = input;
|
|
26169
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26170
|
-
client.httpClient,
|
|
26171
|
-
data.token,
|
|
26172
|
-
void 0
|
|
26173
|
-
]));
|
|
26174
|
-
}
|
|
26175
|
-
},
|
|
26176
25816
|
{
|
|
26177
25817
|
id: "focus.users.settings-list",
|
|
26178
25818
|
family: "focus",
|
|
@@ -26234,9 +25874,6 @@ const generatedFocusOperations = [
|
|
|
26234
25874
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26235
25875
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26236
25876
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26237
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26238
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26239
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26240
25877
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26241
25878
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26242
25879
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28283,4 +27920,4 @@ Common commands:
|
|
|
28283
27920
|
//#endregion
|
|
28284
27921
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28285
27922
|
|
|
28286
|
-
//# sourceMappingURL=program-
|
|
27923
|
+
//# sourceMappingURL=program-C4sQRLwQ.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-C4sQRLwQ.js";
|
|
2
2
|
export { createProgram };
|