@togglhq/cli 1.11.53 → 1.11.54
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-wdyc_Zhs.js → program-CIsep3NF.js} +870 -160
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7274,6 +7274,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7274
7274
|
name: /* @__PURE__ */ string(),
|
|
7275
7275
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7276
7276
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7277
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7277
7278
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7278
7279
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7279
7280
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7360,6 +7361,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7360
7361
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7361
7362
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7362
7363
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7364
|
+
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."))),
|
|
7363
7365
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7364
7366
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7365
7367
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7421,6 +7423,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7421
7423
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7422
7424
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7423
7425
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7426
|
+
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."))),
|
|
7424
7427
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7425
7428
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7426
7429
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7603,6 +7606,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7603
7606
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7604
7607
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7605
7608
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7609
|
+
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."))),
|
|
7610
|
+
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."))),
|
|
7606
7611
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7607
7612
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7608
7613
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7688,6 +7693,7 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7688
7693
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7689
7694
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7690
7695
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7696
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7691
7697
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7692
7698
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7693
7699
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -7767,6 +7773,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7767
7773
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7768
7774
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7769
7775
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7776
|
+
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."))),
|
|
7777
|
+
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."))),
|
|
7770
7778
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7771
7779
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7772
7780
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7939,8 +7947,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7939
7947
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7940
7948
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7941
7949
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7942
|
-
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7943
|
-
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7944
7950
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7945
7951
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7946
7952
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7997,6 +8003,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7997
8003
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
8004
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
8005
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8006
|
+
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."))),
|
|
8000
8007
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8001
8008
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8002
8009
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8033,6 +8040,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8033
8040
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8034
8041
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8035
8042
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8043
|
+
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."))),
|
|
8036
8044
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8037
8045
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8038
8046
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9979,7 +9987,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9979
9987
|
})
|
|
9980
9988
|
}).json();
|
|
9981
9989
|
}
|
|
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) {
|
|
9990
|
+
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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9983
9991
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9984
9992
|
signal,
|
|
9985
9993
|
searchParams: buildSearchParams$2({
|
|
@@ -10000,6 +10008,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10000
10008
|
include_rates,
|
|
10001
10009
|
pinned_ids,
|
|
10002
10010
|
has_group,
|
|
10011
|
+
track_without_focus,
|
|
10003
10012
|
cf_filter,
|
|
10004
10013
|
include_custom_fields,
|
|
10005
10014
|
include_calendar_integration
|
|
@@ -10101,10 +10110,19 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10101
10110
|
}
|
|
10102
10111
|
//#endregion
|
|
10103
10112
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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) {
|
|
10113
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, 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) {
|
|
10105
10114
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10106
10115
|
signal,
|
|
10107
10116
|
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_include_unassigned,
|
|
10125
|
+
task_name,
|
|
10108
10126
|
page,
|
|
10109
10127
|
per_page,
|
|
10110
10128
|
order_by,
|
|
@@ -10354,7 +10372,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10354
10372
|
}
|
|
10355
10373
|
//#endregion
|
|
10356
10374
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10357
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10358
10376
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10359
10377
|
signal,
|
|
10360
10378
|
searchParams: buildSearchParams$2({
|
|
@@ -10405,7 +10423,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10405
10423
|
include_assignees,
|
|
10406
10424
|
include_parent_matches,
|
|
10407
10425
|
disable_aggregations,
|
|
10408
|
-
cf_filter
|
|
10426
|
+
cf_filter,
|
|
10427
|
+
recurring_occurrences_after,
|
|
10428
|
+
max_recurring_occurrences_after,
|
|
10429
|
+
recurring_task_read,
|
|
10430
|
+
include_projected_occurrences
|
|
10409
10431
|
})
|
|
10410
10432
|
}).json();
|
|
10411
10433
|
}
|
|
@@ -10480,16 +10502,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10480
10502
|
})
|
|
10481
10503
|
}).json();
|
|
10482
10504
|
}
|
|
10483
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10505
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10484
10506
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10485
10507
|
signal,
|
|
10486
10508
|
searchParams: buildSearchParams$2({
|
|
10487
10509
|
date_from,
|
|
10488
|
-
date_to
|
|
10510
|
+
date_to,
|
|
10511
|
+
skip_provider_refresh
|
|
10489
10512
|
})
|
|
10490
10513
|
}).json();
|
|
10491
10514
|
}
|
|
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
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10493
10516
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10494
10517
|
signal,
|
|
10495
10518
|
searchParams: buildSearchParams$2({
|
|
@@ -10505,11 +10528,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10505
10528
|
assignee_team_id,
|
|
10506
10529
|
assignee_user_id,
|
|
10507
10530
|
tag_id,
|
|
10508
|
-
include_assignees
|
|
10531
|
+
include_assignees,
|
|
10532
|
+
recurring_occurrences_after,
|
|
10533
|
+
max_recurring_occurrences_after,
|
|
10534
|
+
recurring_task_read,
|
|
10535
|
+
include_projected_occurrences
|
|
10509
10536
|
})
|
|
10510
10537
|
}).json();
|
|
10511
10538
|
}
|
|
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
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10513
10540
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10514
10541
|
signal,
|
|
10515
10542
|
searchParams: buildSearchParams$2({
|
|
@@ -10554,7 +10581,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10554
10581
|
recurring_task_ids,
|
|
10555
10582
|
client_id,
|
|
10556
10583
|
include_assignees,
|
|
10557
|
-
cf_filter
|
|
10584
|
+
cf_filter,
|
|
10585
|
+
recurring_occurrences_after,
|
|
10586
|
+
max_recurring_occurrences_after,
|
|
10587
|
+
recurring_task_read,
|
|
10588
|
+
include_projected_occurrences
|
|
10558
10589
|
})
|
|
10559
10590
|
}).json();
|
|
10560
10591
|
}
|
|
@@ -10609,6 +10640,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10609
10640
|
})
|
|
10610
10641
|
}).json();
|
|
10611
10642
|
}
|
|
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
|
+
}
|
|
10612
10649
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10613
10650
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10614
10651
|
signal,
|
|
@@ -10745,16 +10782,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10745
10782
|
})
|
|
10746
10783
|
}).json();
|
|
10747
10784
|
}
|
|
10748
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10785
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10749
10786
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10750
10787
|
signal,
|
|
10751
|
-
json: data
|
|
10788
|
+
json: data,
|
|
10789
|
+
searchParams: buildSearchParams$2({
|
|
10790
|
+
from_recurring_task_id,
|
|
10791
|
+
return_occurrence
|
|
10792
|
+
})
|
|
10752
10793
|
}).json();
|
|
10753
10794
|
}
|
|
10754
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10795
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10755
10796
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10756
10797
|
signal,
|
|
10757
|
-
json: data
|
|
10798
|
+
json: data,
|
|
10799
|
+
searchParams: buildSearchParams$2({
|
|
10800
|
+
from_recurring_task_id,
|
|
10801
|
+
return_occurrence
|
|
10802
|
+
})
|
|
10758
10803
|
}).json();
|
|
10759
10804
|
}
|
|
10760
10805
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10805,7 +10850,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10805
10850
|
json: data
|
|
10806
10851
|
}).json();
|
|
10807
10852
|
}
|
|
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
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10809
10854
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10810
10855
|
signal,
|
|
10811
10856
|
searchParams: buildSearchParams$2({
|
|
@@ -10813,6 +10858,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10813
10858
|
date_to,
|
|
10814
10859
|
task_id,
|
|
10815
10860
|
status_id,
|
|
10861
|
+
project_id,
|
|
10816
10862
|
type,
|
|
10817
10863
|
order_by,
|
|
10818
10864
|
archived,
|
|
@@ -10836,19 +10882,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10836
10882
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10837
10883
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10838
10884
|
}
|
|
10839
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10885
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10840
10886
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10841
10887
|
signal,
|
|
10842
|
-
json: data
|
|
10888
|
+
json: data,
|
|
10889
|
+
searchParams: buildSearchParams$2({
|
|
10890
|
+
from_recurring_task_id,
|
|
10891
|
+
return_occurrence
|
|
10892
|
+
})
|
|
10843
10893
|
}).json();
|
|
10844
10894
|
}
|
|
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}`, {
|
|
10895
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
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();
|
|
10847
10903
|
}
|
|
10848
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10904
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10849
10905
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10850
10906
|
signal,
|
|
10851
|
-
json: data
|
|
10907
|
+
json: data,
|
|
10908
|
+
searchParams: buildSearchParams$2({
|
|
10909
|
+
from_recurring_task_id,
|
|
10910
|
+
return_occurrence
|
|
10911
|
+
})
|
|
10852
10912
|
}).json();
|
|
10853
10913
|
}
|
|
10854
10914
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14718,13 +14778,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14718
14778
|
}
|
|
14719
14779
|
//#endregion
|
|
14720
14780
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14721
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14781
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14722
14782
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14723
14783
|
signal,
|
|
14724
14784
|
searchParams: buildSearchParams$2({
|
|
14725
14785
|
workspace_id,
|
|
14726
14786
|
entity_type,
|
|
14727
14787
|
entity_id,
|
|
14788
|
+
project_id,
|
|
14789
|
+
custom_field_id,
|
|
14728
14790
|
action,
|
|
14729
14791
|
user_id,
|
|
14730
14792
|
page_size,
|
|
@@ -14733,12 +14795,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14733
14795
|
})
|
|
14734
14796
|
}).json();
|
|
14735
14797
|
}
|
|
14736
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14798
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14737
14799
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14738
14800
|
signal,
|
|
14739
14801
|
searchParams: buildSearchParams$2({
|
|
14740
14802
|
entity_type,
|
|
14741
14803
|
entity_id,
|
|
14804
|
+
project_id,
|
|
14805
|
+
custom_field_id,
|
|
14742
14806
|
action,
|
|
14743
14807
|
user_id,
|
|
14744
14808
|
page_size,
|
|
@@ -14891,13 +14955,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14891
14955
|
}
|
|
14892
14956
|
//#endregion
|
|
14893
14957
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14894
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14958
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14895
14959
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14896
14960
|
signal,
|
|
14897
14961
|
searchParams: buildSearchParams$2({
|
|
14898
|
-
user_id,
|
|
14899
14962
|
start_date,
|
|
14900
14963
|
end_date,
|
|
14964
|
+
user_id,
|
|
14965
|
+
team_id,
|
|
14901
14966
|
private: private_,
|
|
14902
14967
|
task_source,
|
|
14903
14968
|
unit,
|
|
@@ -14957,6 +15022,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14957
15022
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14958
15023
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14959
15024
|
}
|
|
15025
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15026
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15027
|
+
}
|
|
15028
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15029
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15030
|
+
signal,
|
|
15031
|
+
json: data
|
|
15032
|
+
}).json();
|
|
15033
|
+
}
|
|
14960
15034
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14961
15035
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14962
15036
|
signal,
|
|
@@ -15220,7 +15294,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15220
15294
|
}
|
|
15221
15295
|
//#endregion
|
|
15222
15296
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15223
|
-
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) {
|
|
15297
|
+
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, include_recurring_series, cf_filter } = {}, signal) {
|
|
15224
15298
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15225
15299
|
signal,
|
|
15226
15300
|
searchParams: buildSearchParams$2({
|
|
@@ -15246,6 +15320,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15246
15320
|
user_id,
|
|
15247
15321
|
only_me,
|
|
15248
15322
|
include_drafts,
|
|
15323
|
+
include_recurring_series,
|
|
15249
15324
|
cf_filter
|
|
15250
15325
|
})
|
|
15251
15326
|
}).json();
|
|
@@ -15264,9 +15339,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15264
15339
|
json: data
|
|
15265
15340
|
}).json();
|
|
15266
15341
|
}
|
|
15267
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15268
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15269
|
-
}
|
|
15270
15342
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15271
15343
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15272
15344
|
}
|
|
@@ -15292,6 +15364,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15292
15364
|
}).json();
|
|
15293
15365
|
}
|
|
15294
15366
|
//#endregion
|
|
15367
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15368
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15369
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15370
|
+
}
|
|
15371
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15372
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15373
|
+
signal,
|
|
15374
|
+
json: data,
|
|
15375
|
+
searchParams: buildSearchParams$2({
|
|
15376
|
+
response_format,
|
|
15377
|
+
include_dicts
|
|
15378
|
+
})
|
|
15379
|
+
}).json();
|
|
15380
|
+
}
|
|
15381
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15382
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
15383
|
+
signal,
|
|
15384
|
+
json: data,
|
|
15385
|
+
searchParams: buildSearchParams$2({
|
|
15386
|
+
response_format,
|
|
15387
|
+
include_dicts
|
|
15388
|
+
})
|
|
15389
|
+
}).json();
|
|
15390
|
+
}
|
|
15391
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15392
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
15393
|
+
signal,
|
|
15394
|
+
json: data
|
|
15395
|
+
}).json();
|
|
15396
|
+
}
|
|
15397
|
+
//#endregion
|
|
15295
15398
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15296
15399
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15297
15400
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15453,7 +15556,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15453
15556
|
}
|
|
15454
15557
|
//#endregion
|
|
15455
15558
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15456
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15559
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15457
15560
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15458
15561
|
signal,
|
|
15459
15562
|
searchParams: buildSearchParams$2({
|
|
@@ -15461,6 +15564,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15461
15564
|
per_group,
|
|
15462
15565
|
assignee_user_id,
|
|
15463
15566
|
assignee_team_id,
|
|
15567
|
+
include_unassigned,
|
|
15464
15568
|
project_id,
|
|
15465
15569
|
task_id,
|
|
15466
15570
|
include_drafts,
|
|
@@ -15505,6 +15609,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15505
15609
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15506
15610
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15507
15611
|
}
|
|
15612
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15613
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15614
|
+
}
|
|
15615
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15616
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15617
|
+
}
|
|
15618
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15619
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15620
|
+
signal,
|
|
15621
|
+
json: data
|
|
15622
|
+
}).json();
|
|
15623
|
+
}
|
|
15508
15624
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15509
15625
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15510
15626
|
signal,
|
|
@@ -15514,6 +15630,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15514
15630
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15515
15631
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15516
15632
|
}
|
|
15633
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15634
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15635
|
+
signal,
|
|
15636
|
+
json: data
|
|
15637
|
+
}).json();
|
|
15638
|
+
}
|
|
15639
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15640
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15641
|
+
}
|
|
15642
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15643
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15644
|
+
signal,
|
|
15645
|
+
json: data
|
|
15646
|
+
}).json();
|
|
15647
|
+
}
|
|
15517
15648
|
//#endregion
|
|
15518
15649
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15519
15650
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15570,9 +15701,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15570
15701
|
}
|
|
15571
15702
|
//#endregion
|
|
15572
15703
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15573
|
-
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) {
|
|
15704
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15574
15705
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15575
15706
|
signal,
|
|
15707
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15576
15708
|
searchParams: buildSearchParams$2({
|
|
15577
15709
|
project_id,
|
|
15578
15710
|
source,
|
|
@@ -15601,13 +15733,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15601
15733
|
min_days,
|
|
15602
15734
|
include_drafts,
|
|
15603
15735
|
cf_filter,
|
|
15604
|
-
user_cf_filter
|
|
15736
|
+
user_cf_filter,
|
|
15737
|
+
recurring_occurrences_after,
|
|
15738
|
+
max_recurring_occurrences_after,
|
|
15739
|
+
recurring_task_read,
|
|
15740
|
+
include_projected_occurrences
|
|
15605
15741
|
})
|
|
15606
15742
|
}).json();
|
|
15607
15743
|
}
|
|
15608
|
-
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) {
|
|
15744
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
15609
15745
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15610
15746
|
signal,
|
|
15747
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15611
15748
|
searchParams: buildSearchParams$2({
|
|
15612
15749
|
team_id,
|
|
15613
15750
|
project_id,
|
|
@@ -15636,13 +15773,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15636
15773
|
min_days,
|
|
15637
15774
|
include_drafts,
|
|
15638
15775
|
cf_filter,
|
|
15639
|
-
user_cf_filter
|
|
15776
|
+
user_cf_filter,
|
|
15777
|
+
recurring_occurrences_after,
|
|
15778
|
+
max_recurring_occurrences_after,
|
|
15779
|
+
recurring_task_read,
|
|
15780
|
+
include_projected_occurrences
|
|
15640
15781
|
})
|
|
15641
15782
|
}).json();
|
|
15642
15783
|
}
|
|
15643
|
-
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) {
|
|
15784
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15644
15785
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15645
15786
|
signal,
|
|
15787
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15646
15788
|
searchParams: buildSearchParams$2({
|
|
15647
15789
|
source,
|
|
15648
15790
|
priority,
|
|
@@ -15672,6 +15814,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15672
15814
|
include_drafts,
|
|
15673
15815
|
cf_filter,
|
|
15674
15816
|
user_cf_filter,
|
|
15817
|
+
recurring_occurrences_after,
|
|
15818
|
+
max_recurring_occurrences_after,
|
|
15819
|
+
recurring_task_read,
|
|
15820
|
+
include_projected_occurrences,
|
|
15675
15821
|
page,
|
|
15676
15822
|
per_page,
|
|
15677
15823
|
order_by
|
|
@@ -15863,6 +16009,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15863
16009
|
json: data
|
|
15864
16010
|
}).json();
|
|
15865
16011
|
}
|
|
16012
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
16013
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
16014
|
+
signal,
|
|
16015
|
+
searchParams: buildSearchParams$2({
|
|
16016
|
+
date_from,
|
|
16017
|
+
date_to,
|
|
16018
|
+
setup_id,
|
|
16019
|
+
user_account_ids,
|
|
16020
|
+
approver_user_account_ids,
|
|
16021
|
+
team_ids
|
|
16022
|
+
})
|
|
16023
|
+
}).json();
|
|
16024
|
+
}
|
|
15866
16025
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15867
16026
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15868
16027
|
}
|
|
@@ -15906,7 +16065,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15906
16065
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15907
16066
|
}
|
|
15908
16067
|
//#endregion
|
|
16068
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
16069
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
16070
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
16071
|
+
signal,
|
|
16072
|
+
json: data
|
|
16073
|
+
}).json();
|
|
16074
|
+
}
|
|
16075
|
+
//#endregion
|
|
15909
16076
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
16077
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
16078
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
16079
|
+
}
|
|
16080
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
16081
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
16082
|
+
}
|
|
15910
16083
|
async function getUserSettings(httpClient, signal) {
|
|
15911
16084
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15912
16085
|
}
|
|
@@ -16146,6 +16319,7 @@ const generatedFocusOperations = [
|
|
|
16146
16319
|
mcp: { entityTool: "audit-log" },
|
|
16147
16320
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16148
16321
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16322
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16149
16323
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16150
16324
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16151
16325
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16153,6 +16327,7 @@ const generatedFocusOperations = [
|
|
|
16153
16327
|
from: /* @__PURE__ */ string$1(),
|
|
16154
16328
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16155
16329
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16330
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16156
16331
|
to: /* @__PURE__ */ string$1(),
|
|
16157
16332
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16158
16333
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16186,6 +16361,7 @@ const generatedFocusOperations = [
|
|
|
16186
16361
|
mcp: { entityTool: "audit-log" },
|
|
16187
16362
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16188
16363
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16364
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16189
16365
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16190
16366
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16191
16367
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16193,6 +16369,7 @@ const generatedFocusOperations = [
|
|
|
16193
16369
|
from: /* @__PURE__ */ string$1(),
|
|
16194
16370
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16195
16371
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16372
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16196
16373
|
to: /* @__PURE__ */ string$1(),
|
|
16197
16374
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16198
16375
|
}),
|
|
@@ -16232,6 +16409,7 @@ const generatedFocusOperations = [
|
|
|
16232
16409
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16233
16410
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16234
16411
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16412
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16235
16413
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16236
16414
|
user_id: /* @__PURE__ */ number$2()
|
|
16237
16415
|
}),
|
|
@@ -16481,8 +16659,6 @@ const generatedFocusOperations = [
|
|
|
16481
16659
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16482
16660
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16483
16661
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16484
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16485
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16486
16662
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16487
16663
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16488
16664
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16516,8 +16692,6 @@ const generatedFocusOperations = [
|
|
|
16516
16692
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16517
16693
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16518
16694
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16519
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16520
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16521
16695
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16522
16696
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16523
16697
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16672,6 +16846,33 @@ const generatedFocusOperations = [
|
|
|
16672
16846
|
]));
|
|
16673
16847
|
}
|
|
16674
16848
|
},
|
|
16849
|
+
{
|
|
16850
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16851
|
+
family: "focus",
|
|
16852
|
+
resource: "custom-fields",
|
|
16853
|
+
action: "get-allowed-users",
|
|
16854
|
+
title: "Get Allowed Users Custom Fields",
|
|
16855
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16856
|
+
safety: "read",
|
|
16857
|
+
destructive: false,
|
|
16858
|
+
cli: {
|
|
16859
|
+
group: ["custom-fields"],
|
|
16860
|
+
command: "get-allowed-users",
|
|
16861
|
+
interactive: "available"
|
|
16862
|
+
},
|
|
16863
|
+
mcp: { entityTool: "custom-fields" },
|
|
16864
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16865
|
+
execute: (input, { client }) => {
|
|
16866
|
+
const data = input;
|
|
16867
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16868
|
+
client.httpClient,
|
|
16869
|
+
client.organizationId,
|
|
16870
|
+
client.workspaceIdNumber,
|
|
16871
|
+
data.custom_field_id,
|
|
16872
|
+
void 0
|
|
16873
|
+
]));
|
|
16874
|
+
}
|
|
16875
|
+
},
|
|
16675
16876
|
{
|
|
16676
16877
|
id: "focus.custom-fields.list",
|
|
16677
16878
|
family: "focus",
|
|
@@ -16841,6 +17042,37 @@ const generatedFocusOperations = [
|
|
|
16841
17042
|
]));
|
|
16842
17043
|
}
|
|
16843
17044
|
},
|
|
17045
|
+
{
|
|
17046
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
17047
|
+
family: "focus",
|
|
17048
|
+
resource: "custom-fields",
|
|
17049
|
+
action: "replace-custom-field-allowed-users",
|
|
17050
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
17051
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
17052
|
+
safety: "update",
|
|
17053
|
+
destructive: false,
|
|
17054
|
+
cli: {
|
|
17055
|
+
group: ["custom-fields"],
|
|
17056
|
+
command: "replace-custom-field-allowed-users",
|
|
17057
|
+
interactive: "default"
|
|
17058
|
+
},
|
|
17059
|
+
mcp: { entityTool: "custom-fields" },
|
|
17060
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17061
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
17062
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
17063
|
+
}),
|
|
17064
|
+
execute: (input, { client }) => {
|
|
17065
|
+
const data = input;
|
|
17066
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
17067
|
+
client.httpClient,
|
|
17068
|
+
client.organizationId,
|
|
17069
|
+
client.workspaceIdNumber,
|
|
17070
|
+
data.custom_field_id,
|
|
17071
|
+
data.payload ?? data.data ?? data,
|
|
17072
|
+
void 0
|
|
17073
|
+
]));
|
|
17074
|
+
}
|
|
17075
|
+
},
|
|
16844
17076
|
{
|
|
16845
17077
|
id: "focus.custom-fields.update",
|
|
16846
17078
|
family: "focus",
|
|
@@ -16987,13 +17219,7 @@ const generatedFocusOperations = [
|
|
|
16987
17219
|
},
|
|
16988
17220
|
mcp: { entityTool: "goals" },
|
|
16989
17221
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16990
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16991
17222
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16992
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16993
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16994
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16995
|
-
name: /* @__PURE__ */ string$1(),
|
|
16996
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16997
17223
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16998
17224
|
"daily",
|
|
16999
17225
|
"weekly",
|
|
@@ -17001,12 +17227,18 @@ const generatedFocusOperations = [
|
|
|
17001
17227
|
"monthly"
|
|
17002
17228
|
]),
|
|
17003
17229
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17004
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17005
17230
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17006
|
-
|
|
17007
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17231
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17008
17232
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17009
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17233
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17234
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17235
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17236
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17237
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17238
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17239
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17240
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17241
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17010
17242
|
}) }),
|
|
17011
17243
|
execute: (input, { client }) => {
|
|
17012
17244
|
const data = input;
|
|
@@ -17112,13 +17344,6 @@ const generatedFocusOperations = [
|
|
|
17112
17344
|
},
|
|
17113
17345
|
mcp: { entityTool: "goals" },
|
|
17114
17346
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17115
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
17116
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17117
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17118
|
-
icon: /* @__PURE__ */ string$1(),
|
|
17119
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17120
|
-
name: /* @__PURE__ */ string$1(),
|
|
17121
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17122
17347
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17123
17348
|
"daily",
|
|
17124
17349
|
"weekly",
|
|
@@ -17126,12 +17351,19 @@ const generatedFocusOperations = [
|
|
|
17126
17351
|
"monthly"
|
|
17127
17352
|
]),
|
|
17128
17353
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17129
|
-
|
|
17130
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
17131
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17132
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17354
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17133
17355
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17134
|
-
|
|
17356
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17357
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17358
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17359
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17360
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17361
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17362
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17363
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17364
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17365
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17366
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17135
17367
|
}) }),
|
|
17136
17368
|
execute: (input, { client }) => {
|
|
17137
17369
|
const data = input;
|
|
@@ -18098,9 +18330,17 @@ const generatedFocusOperations = [
|
|
|
18098
18330
|
mcp: { entityTool: "projects" },
|
|
18099
18331
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18100
18332
|
payload: /* @__PURE__ */ looseObject({
|
|
18333
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18334
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18101
18335
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18102
18336
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18103
18337
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18338
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18339
|
+
"expire",
|
|
18340
|
+
"carry_all",
|
|
18341
|
+
"carry_over"
|
|
18342
|
+
])),
|
|
18343
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18104
18344
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18105
18345
|
}),
|
|
18106
18346
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18544,6 +18784,7 @@ const generatedFocusOperations = [
|
|
|
18544
18784
|
group: /* @__PURE__ */ string$1(),
|
|
18545
18785
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18546
18786
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18787
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18547
18788
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18548
18789
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18549
18790
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18646,29 +18887,6 @@ const generatedFocusOperations = [
|
|
|
18646
18887
|
]));
|
|
18647
18888
|
}
|
|
18648
18889
|
},
|
|
18649
|
-
{
|
|
18650
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18651
|
-
family: "focus",
|
|
18652
|
-
resource: "projects",
|
|
18653
|
-
action: "margin-targets-clear-workspace",
|
|
18654
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18655
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18656
|
-
safety: "delete",
|
|
18657
|
-
destructive: true,
|
|
18658
|
-
cli: {
|
|
18659
|
-
group: ["projects", "margin-targets"],
|
|
18660
|
-
command: "clear-workspace",
|
|
18661
|
-
interactive: "default"
|
|
18662
|
-
},
|
|
18663
|
-
mcp: { entityTool: "projects" },
|
|
18664
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18665
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18666
|
-
client.httpClient,
|
|
18667
|
-
client.organizationId,
|
|
18668
|
-
client.workspaceIdNumber,
|
|
18669
|
-
void 0
|
|
18670
|
-
]))
|
|
18671
|
-
},
|
|
18672
18890
|
{
|
|
18673
18891
|
id: "focus.projects.margin-targets-get",
|
|
18674
18892
|
family: "focus",
|
|
@@ -19114,102 +19332,226 @@ const generatedFocusOperations = [
|
|
|
19114
19332
|
}
|
|
19115
19333
|
},
|
|
19116
19334
|
{
|
|
19117
|
-
id: "focus.
|
|
19335
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19118
19336
|
family: "focus",
|
|
19119
|
-
resource: "
|
|
19120
|
-
action: "
|
|
19121
|
-
title: "
|
|
19122
|
-
description: "
|
|
19123
|
-
safety: "
|
|
19337
|
+
resource: "publicsharedreports",
|
|
19338
|
+
action: "open-public-shared-report",
|
|
19339
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
19340
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
19341
|
+
safety: "read",
|
|
19124
19342
|
destructive: false,
|
|
19125
19343
|
cli: {
|
|
19126
|
-
group: ["
|
|
19127
|
-
command: "
|
|
19128
|
-
interactive: "
|
|
19344
|
+
group: ["publicsharedreports"],
|
|
19345
|
+
command: "open-public-shared-report",
|
|
19346
|
+
interactive: "available"
|
|
19129
19347
|
},
|
|
19130
|
-
mcp: { entityTool: "
|
|
19131
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19132
|
-
payload: rateSchedulePayloadSchema,
|
|
19133
|
-
project_id: /* @__PURE__ */ number$2()
|
|
19134
|
-
}),
|
|
19348
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19349
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19135
19350
|
execute: (input, { client }) => {
|
|
19136
19351
|
const data = input;
|
|
19137
|
-
return client.runGeneratedRequest("
|
|
19352
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19138
19353
|
client.httpClient,
|
|
19139
|
-
|
|
19140
|
-
client.workspaceIdNumber,
|
|
19141
|
-
data.project_id,
|
|
19142
|
-
data.payload ?? data.data ?? data,
|
|
19354
|
+
data.token,
|
|
19143
19355
|
void 0
|
|
19144
19356
|
]));
|
|
19145
19357
|
}
|
|
19146
19358
|
},
|
|
19147
19359
|
{
|
|
19148
|
-
id: "focus.
|
|
19360
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19149
19361
|
family: "focus",
|
|
19150
|
-
resource: "
|
|
19151
|
-
action: "
|
|
19152
|
-
title: "
|
|
19153
|
-
description: "
|
|
19362
|
+
resource: "publicsharedreports",
|
|
19363
|
+
action: "profitability-public-shared-report",
|
|
19364
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19365
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19154
19366
|
safety: "update",
|
|
19155
19367
|
destructive: false,
|
|
19156
19368
|
cli: {
|
|
19157
|
-
group: ["
|
|
19158
|
-
command: "
|
|
19369
|
+
group: ["publicsharedreports"],
|
|
19370
|
+
command: "profitability-public-shared-report",
|
|
19159
19371
|
interactive: "default"
|
|
19160
19372
|
},
|
|
19161
|
-
mcp: { entityTool: "
|
|
19373
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19162
19374
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19375
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19376
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19377
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19378
|
+
token: /* @__PURE__ */ string$1()
|
|
19166
19379
|
}),
|
|
19167
19380
|
execute: (input, { client }) => {
|
|
19168
19381
|
const data = input;
|
|
19169
|
-
return client.runGeneratedRequest("
|
|
19382
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19170
19383
|
client.httpClient,
|
|
19171
|
-
|
|
19172
|
-
client.workspaceIdNumber,
|
|
19173
|
-
data.project_id,
|
|
19174
|
-
data.user_id,
|
|
19384
|
+
data.token,
|
|
19175
19385
|
data.payload ?? data.data ?? data,
|
|
19386
|
+
data.response_format,
|
|
19387
|
+
data.include_dicts,
|
|
19176
19388
|
void 0
|
|
19177
19389
|
]));
|
|
19178
19390
|
}
|
|
19179
19391
|
},
|
|
19180
19392
|
{
|
|
19181
|
-
id: "focus.
|
|
19393
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19182
19394
|
family: "focus",
|
|
19183
|
-
resource: "
|
|
19184
|
-
action: "
|
|
19185
|
-
title: "
|
|
19186
|
-
description: "
|
|
19395
|
+
resource: "publicsharedreports",
|
|
19396
|
+
action: "query-public-shared-report",
|
|
19397
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
19398
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
19187
19399
|
safety: "update",
|
|
19188
19400
|
destructive: false,
|
|
19189
19401
|
cli: {
|
|
19190
|
-
group: ["
|
|
19191
|
-
command: "
|
|
19402
|
+
group: ["publicsharedreports"],
|
|
19403
|
+
command: "query-public-shared-report",
|
|
19192
19404
|
interactive: "default"
|
|
19193
19405
|
},
|
|
19194
|
-
mcp: { entityTool: "
|
|
19195
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19406
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19407
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19408
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19409
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19410
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19411
|
+
"json_row",
|
|
19412
|
+
"table",
|
|
19413
|
+
"hierarchical"
|
|
19414
|
+
])),
|
|
19415
|
+
token: /* @__PURE__ */ string$1()
|
|
19416
|
+
}),
|
|
19196
19417
|
execute: (input, { client }) => {
|
|
19197
19418
|
const data = input;
|
|
19198
|
-
return client.runGeneratedRequest("
|
|
19419
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19199
19420
|
client.httpClient,
|
|
19200
|
-
|
|
19201
|
-
client.workspaceIdNumber,
|
|
19421
|
+
data.token,
|
|
19202
19422
|
data.payload ?? data.data ?? data,
|
|
19423
|
+
data.response_format,
|
|
19424
|
+
data.include_dicts,
|
|
19203
19425
|
void 0
|
|
19204
19426
|
]));
|
|
19205
19427
|
}
|
|
19206
19428
|
},
|
|
19207
19429
|
{
|
|
19208
|
-
id: "focus.
|
|
19430
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19209
19431
|
family: "focus",
|
|
19210
|
-
resource: "
|
|
19211
|
-
action: "
|
|
19212
|
-
title: "
|
|
19432
|
+
resource: "publicsharedreports",
|
|
19433
|
+
action: "workload-public-shared-report",
|
|
19434
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
19435
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19436
|
+
safety: "update",
|
|
19437
|
+
destructive: false,
|
|
19438
|
+
cli: {
|
|
19439
|
+
group: ["publicsharedreports"],
|
|
19440
|
+
command: "workload-public-shared-report",
|
|
19441
|
+
interactive: "default"
|
|
19442
|
+
},
|
|
19443
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19444
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19445
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19446
|
+
token: /* @__PURE__ */ string$1()
|
|
19447
|
+
}),
|
|
19448
|
+
execute: (input, { client }) => {
|
|
19449
|
+
const data = input;
|
|
19450
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19451
|
+
client.httpClient,
|
|
19452
|
+
data.token,
|
|
19453
|
+
data.payload ?? data.data ?? data,
|
|
19454
|
+
void 0
|
|
19455
|
+
]));
|
|
19456
|
+
}
|
|
19457
|
+
},
|
|
19458
|
+
{
|
|
19459
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19460
|
+
family: "focus",
|
|
19461
|
+
resource: "rates",
|
|
19462
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
19463
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
19464
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
19465
|
+
safety: "update",
|
|
19466
|
+
destructive: false,
|
|
19467
|
+
cli: {
|
|
19468
|
+
group: ["rates", "billable"],
|
|
19469
|
+
command: "check-project-billable-rate-conflicts",
|
|
19470
|
+
interactive: "default"
|
|
19471
|
+
},
|
|
19472
|
+
mcp: { entityTool: "rates" },
|
|
19473
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19474
|
+
payload: rateSchedulePayloadSchema,
|
|
19475
|
+
project_id: /* @__PURE__ */ number$2()
|
|
19476
|
+
}),
|
|
19477
|
+
execute: (input, { client }) => {
|
|
19478
|
+
const data = input;
|
|
19479
|
+
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
19480
|
+
client.httpClient,
|
|
19481
|
+
client.organizationId,
|
|
19482
|
+
client.workspaceIdNumber,
|
|
19483
|
+
data.project_id,
|
|
19484
|
+
data.payload ?? data.data ?? data,
|
|
19485
|
+
void 0
|
|
19486
|
+
]));
|
|
19487
|
+
}
|
|
19488
|
+
},
|
|
19489
|
+
{
|
|
19490
|
+
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
19491
|
+
family: "focus",
|
|
19492
|
+
resource: "rates",
|
|
19493
|
+
action: "billable-check-project-user-billable-rate-conflicts",
|
|
19494
|
+
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
19495
|
+
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
19496
|
+
safety: "update",
|
|
19497
|
+
destructive: false,
|
|
19498
|
+
cli: {
|
|
19499
|
+
group: ["rates", "billable"],
|
|
19500
|
+
command: "check-project-user-billable-rate-conflicts",
|
|
19501
|
+
interactive: "default"
|
|
19502
|
+
},
|
|
19503
|
+
mcp: { entityTool: "rates" },
|
|
19504
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19505
|
+
payload: rateSchedulePayloadSchema,
|
|
19506
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
19507
|
+
user_id: /* @__PURE__ */ number$2()
|
|
19508
|
+
}),
|
|
19509
|
+
execute: (input, { client }) => {
|
|
19510
|
+
const data = input;
|
|
19511
|
+
return client.runGeneratedRequest("checkProjectUserBillableRateConflicts", () => callGeneratedRequest(checkProjectUserBillableRateConflicts, [
|
|
19512
|
+
client.httpClient,
|
|
19513
|
+
client.organizationId,
|
|
19514
|
+
client.workspaceIdNumber,
|
|
19515
|
+
data.project_id,
|
|
19516
|
+
data.user_id,
|
|
19517
|
+
data.payload ?? data.data ?? data,
|
|
19518
|
+
void 0
|
|
19519
|
+
]));
|
|
19520
|
+
}
|
|
19521
|
+
},
|
|
19522
|
+
{
|
|
19523
|
+
id: "focus.rates.billable-check-workspace-billable-rate-conflicts",
|
|
19524
|
+
family: "focus",
|
|
19525
|
+
resource: "rates",
|
|
19526
|
+
action: "billable-check-workspace-billable-rate-conflicts",
|
|
19527
|
+
title: "Billable Check Workspace Billable Rate Conflicts Rates",
|
|
19528
|
+
description: "Billable Check Workspace Billable Rate Conflicts Rates.",
|
|
19529
|
+
safety: "update",
|
|
19530
|
+
destructive: false,
|
|
19531
|
+
cli: {
|
|
19532
|
+
group: ["rates", "billable"],
|
|
19533
|
+
command: "check-workspace-billable-rate-conflicts",
|
|
19534
|
+
interactive: "default"
|
|
19535
|
+
},
|
|
19536
|
+
mcp: { entityTool: "rates" },
|
|
19537
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: rateSchedulePayloadSchema }),
|
|
19538
|
+
execute: (input, { client }) => {
|
|
19539
|
+
const data = input;
|
|
19540
|
+
return client.runGeneratedRequest("checkWorkspaceBillableRateConflicts", () => callGeneratedRequest(checkWorkspaceBillableRateConflicts, [
|
|
19541
|
+
client.httpClient,
|
|
19542
|
+
client.organizationId,
|
|
19543
|
+
client.workspaceIdNumber,
|
|
19544
|
+
data.payload ?? data.data ?? data,
|
|
19545
|
+
void 0
|
|
19546
|
+
]));
|
|
19547
|
+
}
|
|
19548
|
+
},
|
|
19549
|
+
{
|
|
19550
|
+
id: "focus.rates.billable-check-workspace-user-billable-rate-conflicts",
|
|
19551
|
+
family: "focus",
|
|
19552
|
+
resource: "rates",
|
|
19553
|
+
action: "billable-check-workspace-user-billable-rate-conflicts",
|
|
19554
|
+
title: "Billable Check Workspace User Billable Rate Conflicts Rates",
|
|
19213
19555
|
description: "Billable Check Workspace User Billable Rate Conflicts Rates.",
|
|
19214
19556
|
safety: "update",
|
|
19215
19557
|
destructive: false,
|
|
@@ -21071,7 +21413,7 @@ const generatedFocusOperations = [
|
|
|
21071
21413
|
cli: {
|
|
21072
21414
|
group: ["reportschedules"],
|
|
21073
21415
|
command: "upsert-saved-view-schedule",
|
|
21074
|
-
interactive: "
|
|
21416
|
+
interactive: "hidden"
|
|
21075
21417
|
},
|
|
21076
21418
|
mcp: { entityTool: "reportschedules" },
|
|
21077
21419
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21082,8 +21424,10 @@ const generatedFocusOperations = [
|
|
|
21082
21424
|
"weekly",
|
|
21083
21425
|
"monthly"
|
|
21084
21426
|
]),
|
|
21427
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21085
21428
|
time: /* @__PURE__ */ string$1(),
|
|
21086
21429
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21430
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21087
21431
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21088
21432
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21089
21433
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21416,6 +21760,32 @@ const generatedFocusOperations = [
|
|
|
21416
21760
|
]));
|
|
21417
21761
|
}
|
|
21418
21762
|
},
|
|
21763
|
+
{
|
|
21764
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
21765
|
+
family: "focus",
|
|
21766
|
+
resource: "sharedreports",
|
|
21767
|
+
action: "get-shared-report-dates",
|
|
21768
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
21769
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
21770
|
+
safety: "read",
|
|
21771
|
+
destructive: false,
|
|
21772
|
+
cli: {
|
|
21773
|
+
group: ["sharedreports"],
|
|
21774
|
+
command: "get-shared-report-dates",
|
|
21775
|
+
interactive: "available"
|
|
21776
|
+
},
|
|
21777
|
+
mcp: { entityTool: "sharedreports" },
|
|
21778
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21779
|
+
execute: (input, { client }) => {
|
|
21780
|
+
const data = input;
|
|
21781
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21782
|
+
client.httpClient,
|
|
21783
|
+
client.workspaceIdNumber,
|
|
21784
|
+
data.id,
|
|
21785
|
+
void 0
|
|
21786
|
+
]));
|
|
21787
|
+
}
|
|
21788
|
+
},
|
|
21419
21789
|
{
|
|
21420
21790
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21421
21791
|
family: "focus",
|
|
@@ -21486,6 +21856,36 @@ const generatedFocusOperations = [
|
|
|
21486
21856
|
void 0
|
|
21487
21857
|
]))
|
|
21488
21858
|
},
|
|
21859
|
+
{
|
|
21860
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
21861
|
+
family: "focus",
|
|
21862
|
+
resource: "sharedreports",
|
|
21863
|
+
action: "mint-shared-report-link",
|
|
21864
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
21865
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
21866
|
+
safety: "update",
|
|
21867
|
+
destructive: false,
|
|
21868
|
+
cli: {
|
|
21869
|
+
group: ["sharedreports"],
|
|
21870
|
+
command: "mint-shared-report-link",
|
|
21871
|
+
interactive: "default"
|
|
21872
|
+
},
|
|
21873
|
+
mcp: { entityTool: "sharedreports" },
|
|
21874
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21875
|
+
id: /* @__PURE__ */ number$2(),
|
|
21876
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21877
|
+
}),
|
|
21878
|
+
execute: (input, { client }) => {
|
|
21879
|
+
const data = input;
|
|
21880
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21881
|
+
client.httpClient,
|
|
21882
|
+
client.workspaceIdNumber,
|
|
21883
|
+
data.id,
|
|
21884
|
+
data.payload ?? data.data ?? data,
|
|
21885
|
+
void 0
|
|
21886
|
+
]));
|
|
21887
|
+
}
|
|
21888
|
+
},
|
|
21489
21889
|
{
|
|
21490
21890
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21491
21891
|
family: "focus",
|
|
@@ -21516,6 +21916,92 @@ const generatedFocusOperations = [
|
|
|
21516
21916
|
]));
|
|
21517
21917
|
}
|
|
21518
21918
|
},
|
|
21919
|
+
{
|
|
21920
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21921
|
+
family: "focus",
|
|
21922
|
+
resource: "sharedreports",
|
|
21923
|
+
action: "revoke-shared-report-link",
|
|
21924
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
21925
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
21926
|
+
safety: "delete",
|
|
21927
|
+
destructive: true,
|
|
21928
|
+
cli: {
|
|
21929
|
+
group: ["sharedreports"],
|
|
21930
|
+
command: "revoke-shared-report-link",
|
|
21931
|
+
interactive: "default"
|
|
21932
|
+
},
|
|
21933
|
+
mcp: { entityTool: "sharedreports" },
|
|
21934
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21935
|
+
execute: (input, { client }) => {
|
|
21936
|
+
const data = input;
|
|
21937
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21938
|
+
client.httpClient,
|
|
21939
|
+
client.workspaceIdNumber,
|
|
21940
|
+
data.id,
|
|
21941
|
+
void 0
|
|
21942
|
+
]));
|
|
21943
|
+
}
|
|
21944
|
+
},
|
|
21945
|
+
{
|
|
21946
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21947
|
+
family: "focus",
|
|
21948
|
+
resource: "sharedreports",
|
|
21949
|
+
action: "rotate-shared-report-link",
|
|
21950
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
21951
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
21952
|
+
safety: "update",
|
|
21953
|
+
destructive: false,
|
|
21954
|
+
cli: {
|
|
21955
|
+
group: ["sharedreports"],
|
|
21956
|
+
command: "rotate-shared-report-link",
|
|
21957
|
+
interactive: "default"
|
|
21958
|
+
},
|
|
21959
|
+
mcp: { entityTool: "sharedreports" },
|
|
21960
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21961
|
+
id: /* @__PURE__ */ number$2(),
|
|
21962
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21963
|
+
}),
|
|
21964
|
+
execute: (input, { client }) => {
|
|
21965
|
+
const data = input;
|
|
21966
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21967
|
+
client.httpClient,
|
|
21968
|
+
client.workspaceIdNumber,
|
|
21969
|
+
data.id,
|
|
21970
|
+
data.payload ?? data.data ?? data,
|
|
21971
|
+
void 0
|
|
21972
|
+
]));
|
|
21973
|
+
}
|
|
21974
|
+
},
|
|
21975
|
+
{
|
|
21976
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21977
|
+
family: "focus",
|
|
21978
|
+
resource: "sharedreports",
|
|
21979
|
+
action: "set-shared-report-dates-lock",
|
|
21980
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
21981
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
21982
|
+
safety: "update",
|
|
21983
|
+
destructive: false,
|
|
21984
|
+
cli: {
|
|
21985
|
+
group: ["sharedreports"],
|
|
21986
|
+
command: "set-shared-report-dates-lock",
|
|
21987
|
+
interactive: "default"
|
|
21988
|
+
},
|
|
21989
|
+
mcp: { entityTool: "sharedreports" },
|
|
21990
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21991
|
+
id: /* @__PURE__ */ number$2(),
|
|
21992
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
21993
|
+
}),
|
|
21994
|
+
execute: (input, { client }) => {
|
|
21995
|
+
const data = input;
|
|
21996
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
21997
|
+
client.httpClient,
|
|
21998
|
+
client.workspaceIdNumber,
|
|
21999
|
+
data.id,
|
|
22000
|
+
data.payload ?? data.data ?? data,
|
|
22001
|
+
void 0
|
|
22002
|
+
]));
|
|
22003
|
+
}
|
|
22004
|
+
},
|
|
21519
22005
|
{
|
|
21520
22006
|
id: "focus.sharedreports.share-saved-view",
|
|
21521
22007
|
family: "focus",
|
|
@@ -21590,6 +22076,32 @@ const generatedFocusOperations = [
|
|
|
21590
22076
|
]));
|
|
21591
22077
|
}
|
|
21592
22078
|
},
|
|
22079
|
+
{
|
|
22080
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
22081
|
+
family: "focus",
|
|
22082
|
+
resource: "sharedreports",
|
|
22083
|
+
action: "unshare-shared-report",
|
|
22084
|
+
title: "Unshare Shared Report Sharedreports",
|
|
22085
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
22086
|
+
safety: "delete",
|
|
22087
|
+
destructive: true,
|
|
22088
|
+
cli: {
|
|
22089
|
+
group: ["sharedreports"],
|
|
22090
|
+
command: "unshare-shared-report",
|
|
22091
|
+
interactive: "default"
|
|
22092
|
+
},
|
|
22093
|
+
mcp: { entityTool: "sharedreports" },
|
|
22094
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22095
|
+
execute: (input, { client }) => {
|
|
22096
|
+
const data = input;
|
|
22097
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22098
|
+
client.httpClient,
|
|
22099
|
+
client.workspaceIdNumber,
|
|
22100
|
+
data.id,
|
|
22101
|
+
void 0
|
|
22102
|
+
]));
|
|
22103
|
+
}
|
|
22104
|
+
},
|
|
21593
22105
|
{
|
|
21594
22106
|
id: "focus.statuses.create-status",
|
|
21595
22107
|
family: "focus",
|
|
@@ -22632,6 +23144,37 @@ const generatedFocusOperations = [
|
|
|
22632
23144
|
return client.createTask(data);
|
|
22633
23145
|
}
|
|
22634
23146
|
},
|
|
23147
|
+
{
|
|
23148
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
23149
|
+
family: "focus",
|
|
23150
|
+
resource: "tasks",
|
|
23151
|
+
action: "create-recurring-occurrence",
|
|
23152
|
+
title: "Create Recurring Occurrence Tasks",
|
|
23153
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
23154
|
+
safety: "create",
|
|
23155
|
+
destructive: false,
|
|
23156
|
+
cli: {
|
|
23157
|
+
group: ["tasks"],
|
|
23158
|
+
command: "create-recurring-occurrence",
|
|
23159
|
+
interactive: "default"
|
|
23160
|
+
},
|
|
23161
|
+
mcp: { entityTool: "tasks" },
|
|
23162
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23163
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23164
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23165
|
+
}),
|
|
23166
|
+
execute: (input, { client }) => {
|
|
23167
|
+
const data = input;
|
|
23168
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23169
|
+
client.httpClient,
|
|
23170
|
+
client.organizationId,
|
|
23171
|
+
client.workspaceIdNumber,
|
|
23172
|
+
data.task_id,
|
|
23173
|
+
data.return_occurrence,
|
|
23174
|
+
void 0
|
|
23175
|
+
]));
|
|
23176
|
+
}
|
|
23177
|
+
},
|
|
22635
23178
|
{
|
|
22636
23179
|
id: "focus.tasks.delete",
|
|
22637
23180
|
family: "focus",
|
|
@@ -22879,9 +23422,13 @@ const generatedFocusOperations = [
|
|
|
22879
23422
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22880
23423
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22881
23424
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23425
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23426
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22882
23427
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22883
23428
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23429
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22884
23430
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23431
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22885
23432
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22886
23433
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22887
23434
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22933,7 +23480,9 @@ const generatedFocusOperations = [
|
|
|
22933
23480
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22934
23481
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22935
23482
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23483
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22936
23484
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23485
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22937
23486
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22938
23487
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22939
23488
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22942,7 +23491,9 @@ const generatedFocusOperations = [
|
|
|
22942
23491
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22943
23492
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22944
23493
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23494
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22945
23495
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23496
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22946
23497
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22947
23498
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22948
23499
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23080,8 +23631,10 @@ const generatedFocusOperations = [
|
|
|
23080
23631
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23081
23632
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23082
23633
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23634
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23083
23635
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23084
23636
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23637
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23085
23638
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23086
23639
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23087
23640
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23090,6 +23643,8 @@ const generatedFocusOperations = [
|
|
|
23090
23643
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23091
23644
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23092
23645
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23646
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23647
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23093
23648
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23094
23649
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23095
23650
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23098,7 +23653,8 @@ const generatedFocusOperations = [
|
|
|
23098
23653
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23099
23654
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23100
23655
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23656
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23657
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23102
23658
|
}),
|
|
23103
23659
|
execute: (input, { client }) => {
|
|
23104
23660
|
const data = input;
|
|
@@ -23140,13 +23696,17 @@ const generatedFocusOperations = [
|
|
|
23140
23696
|
group_id: /* @__PURE__ */ number$2(),
|
|
23141
23697
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23142
23698
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23699
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23143
23700
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23144
23701
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23702
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23145
23703
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23146
23704
|
name: /* @__PURE__ */ unknown$1(),
|
|
23147
23705
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23148
23706
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23149
23707
|
project_id: /* @__PURE__ */ number$2(),
|
|
23708
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23709
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23150
23710
|
source: /* @__PURE__ */ unknown$1(),
|
|
23151
23711
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23152
23712
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23155,7 +23715,8 @@ const generatedFocusOperations = [
|
|
|
23155
23715
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23156
23716
|
team_id: /* @__PURE__ */ number$2(),
|
|
23157
23717
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23158
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23718
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23719
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23159
23720
|
}),
|
|
23160
23721
|
execute: (input, { client }) => {
|
|
23161
23722
|
const data = input;
|
|
@@ -23196,13 +23757,17 @@ const generatedFocusOperations = [
|
|
|
23196
23757
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23197
23758
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23198
23759
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23760
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23199
23761
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23200
23762
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23763
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23201
23764
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23202
23765
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23203
23766
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23204
23767
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23205
23768
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23769
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23770
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23206
23771
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23207
23772
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23208
23773
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23211,7 +23776,8 @@ const generatedFocusOperations = [
|
|
|
23211
23776
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23212
23777
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23213
23778
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23214
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23779
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23780
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23215
23781
|
}),
|
|
23216
23782
|
execute: (input, { client }) => {
|
|
23217
23783
|
const data = input;
|
|
@@ -23482,7 +24048,8 @@ const generatedFocusOperations = [
|
|
|
23482
24048
|
mcp: { entityTool: "tasks" },
|
|
23483
24049
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23484
24050
|
date_from: /* @__PURE__ */ string$1(),
|
|
23485
|
-
date_to: /* @__PURE__ */ string$1()
|
|
24051
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
24052
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23486
24053
|
}),
|
|
23487
24054
|
execute: (input, { client }) => {
|
|
23488
24055
|
const data = input;
|
|
@@ -23492,6 +24059,7 @@ const generatedFocusOperations = [
|
|
|
23492
24059
|
client.workspaceIdNumber,
|
|
23493
24060
|
data.date_from,
|
|
23494
24061
|
data.date_to,
|
|
24062
|
+
data.skip_provider_refresh,
|
|
23495
24063
|
void 0
|
|
23496
24064
|
]));
|
|
23497
24065
|
}
|
|
@@ -24078,7 +24646,8 @@ const generatedFocusOperations = [
|
|
|
24078
24646
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24079
24647
|
"project",
|
|
24080
24648
|
"task",
|
|
24081
|
-
"description"
|
|
24649
|
+
"description",
|
|
24650
|
+
"tags"
|
|
24082
24651
|
]) })),
|
|
24083
24652
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24084
24653
|
}) }),
|
|
@@ -24108,6 +24677,7 @@ const generatedFocusOperations = [
|
|
|
24108
24677
|
},
|
|
24109
24678
|
mcp: { entityTool: "time-entries" },
|
|
24110
24679
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24680
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24111
24681
|
payload: /* @__PURE__ */ looseObject({
|
|
24112
24682
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24113
24683
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24118,11 +24688,13 @@ const generatedFocusOperations = [
|
|
|
24118
24688
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24119
24689
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24120
24690
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24691
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24121
24692
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24122
24693
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24123
24694
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24124
24695
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24125
24696
|
}),
|
|
24697
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24126
24698
|
task_id: /* @__PURE__ */ number$2()
|
|
24127
24699
|
}),
|
|
24128
24700
|
execute: (input, { client }) => {
|
|
@@ -24133,6 +24705,8 @@ const generatedFocusOperations = [
|
|
|
24133
24705
|
client.workspaceIdNumber,
|
|
24134
24706
|
data.task_id,
|
|
24135
24707
|
data.payload ?? data.data ?? data,
|
|
24708
|
+
data.from_recurring_task_id,
|
|
24709
|
+
data.return_occurrence,
|
|
24136
24710
|
void 0
|
|
24137
24711
|
]));
|
|
24138
24712
|
}
|
|
@@ -24152,21 +24726,26 @@ const generatedFocusOperations = [
|
|
|
24152
24726
|
interactive: "default"
|
|
24153
24727
|
},
|
|
24154
24728
|
mcp: { entityTool: "time-entries" },
|
|
24155
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24156
|
-
|
|
24157
|
-
|
|
24158
|
-
|
|
24159
|
-
|
|
24160
|
-
|
|
24161
|
-
|
|
24162
|
-
|
|
24163
|
-
|
|
24164
|
-
|
|
24165
|
-
|
|
24166
|
-
|
|
24167
|
-
|
|
24168
|
-
|
|
24169
|
-
|
|
24729
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24730
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24731
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24732
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24733
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24734
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24735
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24736
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24737
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24738
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24739
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24740
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24741
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24742
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24743
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24744
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24745
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24746
|
+
}),
|
|
24747
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24748
|
+
}),
|
|
24170
24749
|
execute: (input, { client }) => {
|
|
24171
24750
|
const data = input;
|
|
24172
24751
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24174,6 +24753,8 @@ const generatedFocusOperations = [
|
|
|
24174
24753
|
client.organizationId,
|
|
24175
24754
|
client.workspaceIdNumber,
|
|
24176
24755
|
data.payload ?? data.data ?? data,
|
|
24756
|
+
data.from_recurring_task_id,
|
|
24757
|
+
data.return_occurrence,
|
|
24177
24758
|
void 0
|
|
24178
24759
|
]));
|
|
24179
24760
|
}
|
|
@@ -24193,7 +24774,11 @@ const generatedFocusOperations = [
|
|
|
24193
24774
|
interactive: "default"
|
|
24194
24775
|
},
|
|
24195
24776
|
mcp: { entityTool: "time-entries" },
|
|
24196
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24777
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24778
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24779
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24780
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24781
|
+
}),
|
|
24197
24782
|
execute: (input, { client }) => {
|
|
24198
24783
|
const data = input;
|
|
24199
24784
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24201,6 +24786,8 @@ const generatedFocusOperations = [
|
|
|
24201
24786
|
client.organizationId,
|
|
24202
24787
|
client.workspaceIdNumber,
|
|
24203
24788
|
data.time_entry_id,
|
|
24789
|
+
data.from_recurring_task_id,
|
|
24790
|
+
data.return_occurrence,
|
|
24204
24791
|
void 0
|
|
24205
24792
|
]));
|
|
24206
24793
|
}
|
|
@@ -24281,6 +24868,7 @@ const generatedFocusOperations = [
|
|
|
24281
24868
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24282
24869
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24283
24870
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24871
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24284
24872
|
status_id: /* @__PURE__ */ number$2(),
|
|
24285
24873
|
task_id: /* @__PURE__ */ number$2(),
|
|
24286
24874
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24457,12 +25045,14 @@ const generatedFocusOperations = [
|
|
|
24457
25045
|
},
|
|
24458
25046
|
mcp: { entityTool: "time-entries" },
|
|
24459
25047
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25048
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24460
25049
|
payload: /* @__PURE__ */ looseObject({
|
|
24461
25050
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24462
25051
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24463
25052
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24464
25053
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24465
25054
|
}),
|
|
25055
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24466
25056
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24467
25057
|
}),
|
|
24468
25058
|
execute: (input, { client }) => {
|
|
@@ -24473,6 +25063,8 @@ const generatedFocusOperations = [
|
|
|
24473
25063
|
client.workspaceIdNumber,
|
|
24474
25064
|
data.time_entry_id,
|
|
24475
25065
|
data.payload ?? data.data ?? data,
|
|
25066
|
+
data.from_recurring_task_id,
|
|
25067
|
+
data.return_occurrence,
|
|
24476
25068
|
void 0
|
|
24477
25069
|
]));
|
|
24478
25070
|
}
|
|
@@ -24730,6 +25322,7 @@ const generatedFocusOperations = [
|
|
|
24730
25322
|
},
|
|
24731
25323
|
mcp: { entityTool: "time-entries" },
|
|
24732
25324
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25325
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24733
25326
|
payload: /* @__PURE__ */ looseObject({
|
|
24734
25327
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24735
25328
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24742,6 +25335,7 @@ const generatedFocusOperations = [
|
|
|
24742
25335
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24743
25336
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24744
25337
|
}),
|
|
25338
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24745
25339
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24746
25340
|
}),
|
|
24747
25341
|
execute: (input, { client }) => {
|
|
@@ -24752,6 +25346,8 @@ const generatedFocusOperations = [
|
|
|
24752
25346
|
client.workspaceIdNumber,
|
|
24753
25347
|
data.time_entry_id,
|
|
24754
25348
|
data.payload ?? data.data ?? data,
|
|
25349
|
+
data.from_recurring_task_id,
|
|
25350
|
+
data.return_occurrence,
|
|
24755
25351
|
void 0
|
|
24756
25352
|
]));
|
|
24757
25353
|
}
|
|
@@ -25267,6 +25863,40 @@ const generatedFocusOperations = [
|
|
|
25267
25863
|
]));
|
|
25268
25864
|
}
|
|
25269
25865
|
},
|
|
25866
|
+
{
|
|
25867
|
+
id: "focus.timesheets.get-status-counts",
|
|
25868
|
+
family: "focus",
|
|
25869
|
+
resource: "timesheets",
|
|
25870
|
+
action: "get-status-counts",
|
|
25871
|
+
title: "Get Status Counts Timesheets",
|
|
25872
|
+
description: "Get Status Counts Timesheets.",
|
|
25873
|
+
safety: "read",
|
|
25874
|
+
destructive: false,
|
|
25875
|
+
cli: {
|
|
25876
|
+
group: ["timesheets"],
|
|
25877
|
+
command: "get-status-counts",
|
|
25878
|
+
interactive: "hidden"
|
|
25879
|
+
},
|
|
25880
|
+
mcp: { entityTool: "timesheets" },
|
|
25881
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25882
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25883
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
25884
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
25885
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
25886
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25887
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25888
|
+
}),
|
|
25889
|
+
execute: (input, { client }) => {
|
|
25890
|
+
const data = input;
|
|
25891
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25892
|
+
client.httpClient,
|
|
25893
|
+
client.organizationId,
|
|
25894
|
+
client.workspaceIdNumber,
|
|
25895
|
+
data,
|
|
25896
|
+
void 0
|
|
25897
|
+
]));
|
|
25898
|
+
}
|
|
25899
|
+
},
|
|
25270
25900
|
{
|
|
25271
25901
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25272
25902
|
family: "focus",
|
|
@@ -25816,6 +26446,33 @@ const generatedFocusOperations = [
|
|
|
25816
26446
|
]));
|
|
25817
26447
|
}
|
|
25818
26448
|
},
|
|
26449
|
+
{
|
|
26450
|
+
id: "focus.track-team-invites.post",
|
|
26451
|
+
family: "focus",
|
|
26452
|
+
resource: "track-team-invites",
|
|
26453
|
+
action: "post",
|
|
26454
|
+
title: "Post Track Team Invites",
|
|
26455
|
+
description: "Post Track Team Invites.",
|
|
26456
|
+
safety: "create",
|
|
26457
|
+
destructive: false,
|
|
26458
|
+
cli: {
|
|
26459
|
+
group: ["track-team-invites"],
|
|
26460
|
+
command: "post",
|
|
26461
|
+
interactive: "default"
|
|
26462
|
+
},
|
|
26463
|
+
mcp: { entityTool: "track-team-invites" },
|
|
26464
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26465
|
+
execute: (input, { client }) => {
|
|
26466
|
+
const data = input;
|
|
26467
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26468
|
+
client.httpClient,
|
|
26469
|
+
client.organizationId,
|
|
26470
|
+
client.workspaceIdNumber,
|
|
26471
|
+
data.payload ?? data.data ?? data,
|
|
26472
|
+
void 0
|
|
26473
|
+
]));
|
|
26474
|
+
}
|
|
26475
|
+
},
|
|
25819
26476
|
{
|
|
25820
26477
|
id: "focus.users.list",
|
|
25821
26478
|
family: "focus",
|
|
@@ -25837,6 +26494,56 @@ const generatedFocusOperations = [
|
|
|
25837
26494
|
return client.listOrgUsers(data);
|
|
25838
26495
|
}
|
|
25839
26496
|
},
|
|
26497
|
+
{
|
|
26498
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26499
|
+
family: "focus",
|
|
26500
|
+
resource: "users",
|
|
26501
|
+
action: "settings-email-unsubscribe",
|
|
26502
|
+
title: "Settings Email Unsubscribe Users",
|
|
26503
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26504
|
+
safety: "update",
|
|
26505
|
+
destructive: false,
|
|
26506
|
+
cli: {
|
|
26507
|
+
group: ["users", "settings"],
|
|
26508
|
+
command: "email-unsubscribe",
|
|
26509
|
+
interactive: "default"
|
|
26510
|
+
},
|
|
26511
|
+
mcp: { entityTool: "users" },
|
|
26512
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26513
|
+
execute: (input, { client }) => {
|
|
26514
|
+
const data = input;
|
|
26515
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26516
|
+
client.httpClient,
|
|
26517
|
+
data.token,
|
|
26518
|
+
void 0
|
|
26519
|
+
]));
|
|
26520
|
+
}
|
|
26521
|
+
},
|
|
26522
|
+
{
|
|
26523
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26524
|
+
family: "focus",
|
|
26525
|
+
resource: "users",
|
|
26526
|
+
action: "settings-email-unsubscribe-page",
|
|
26527
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26528
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26529
|
+
safety: "read",
|
|
26530
|
+
destructive: false,
|
|
26531
|
+
cli: {
|
|
26532
|
+
group: ["users", "settings"],
|
|
26533
|
+
command: "email-unsubscribe-page",
|
|
26534
|
+
interactive: "available"
|
|
26535
|
+
},
|
|
26536
|
+
mcp: { entityTool: "users" },
|
|
26537
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26538
|
+
execute: (input, { client }) => {
|
|
26539
|
+
const data = input;
|
|
26540
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26541
|
+
client.httpClient,
|
|
26542
|
+
data.token,
|
|
26543
|
+
void 0
|
|
26544
|
+
]));
|
|
26545
|
+
}
|
|
26546
|
+
},
|
|
25840
26547
|
{
|
|
25841
26548
|
id: "focus.users.settings-list",
|
|
25842
26549
|
family: "focus",
|
|
@@ -25898,6 +26605,9 @@ const generatedFocusOperations = [
|
|
|
25898
26605
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25899
26606
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25900
26607
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26608
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26609
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26610
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25901
26611
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25902
26612
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25903
26613
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27960,4 +28670,4 @@ Common commands:
|
|
|
27960
28670
|
//#endregion
|
|
27961
28671
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27962
28672
|
|
|
27963
|
-
//# sourceMappingURL=program-
|
|
28673
|
+
//# sourceMappingURL=program-CIsep3NF.js.map
|