@togglhq/cli 1.11.48 → 1.11.50
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-v8RF5swW.js → program-B6QI55oV.js} +108 -751
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7274,7 +7274,6 @@ 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()),
|
|
7278
7277
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7279
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7280
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7361,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7361
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7362
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7363
7362
|
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."))),
|
|
7365
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7366
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7367
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7423,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7423
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7424
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7425
7423
|
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."))),
|
|
7427
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7428
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7429
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7606,8 +7603,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7606
7603
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7607
7604
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7608
7605
|
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."))),
|
|
7611
7606
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7612
7607
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7613
7608
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7693,7 +7688,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7693
7688
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7694
7689
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7695
7690
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7696
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7697
7691
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7698
7692
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7699
7693
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
@@ -7773,8 +7767,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7773
7767
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7774
7768
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7775
7769
|
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."))),
|
|
7778
7770
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7779
7771
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7780
7772
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7947,6 +7939,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7947
7939
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7948
7940
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7949
7941
|
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()),
|
|
7950
7944
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7951
7945
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7952
7946
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -8003,7 +7997,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8003
7997
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8004
7998
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8005
7999
|
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."))),
|
|
8007
8000
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8008
8001
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8009
8002
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8040,7 +8033,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
8040
8033
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8041
8034
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8042
8035
|
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."))),
|
|
8044
8036
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8045
8037
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8046
8038
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9987,7 +9979,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9987
9979
|
})
|
|
9988
9980
|
}).json();
|
|
9989
9981
|
}
|
|
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,
|
|
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) {
|
|
9991
9983
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9992
9984
|
signal,
|
|
9993
9985
|
searchParams: buildSearchParams$2({
|
|
@@ -10008,7 +10000,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10008
10000
|
include_rates,
|
|
10009
10001
|
pinned_ids,
|
|
10010
10002
|
has_group,
|
|
10011
|
-
track_without_focus,
|
|
10012
10003
|
cf_filter,
|
|
10013
10004
|
include_custom_fields,
|
|
10014
10005
|
include_calendar_integration
|
|
@@ -10110,18 +10101,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10110
10101
|
}
|
|
10111
10102
|
//#endregion
|
|
10112
10103
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10113
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10104
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10114
10105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10115
10106
|
signal,
|
|
10116
10107
|
searchParams: buildSearchParams$2({
|
|
10117
|
-
include_task_counts,
|
|
10118
|
-
task_archived,
|
|
10119
|
-
task_recurring,
|
|
10120
|
-
task_state,
|
|
10121
|
-
task_source,
|
|
10122
|
-
task_assignee_user_id,
|
|
10123
|
-
task_assignee_team_id,
|
|
10124
|
-
task_name,
|
|
10125
10108
|
page,
|
|
10126
10109
|
per_page,
|
|
10127
10110
|
order_by,
|
|
@@ -10371,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10371
10354
|
}
|
|
10372
10355
|
//#endregion
|
|
10373
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10374
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
10357
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10375
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10376
10359
|
signal,
|
|
10377
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10422,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10422
10405
|
include_assignees,
|
|
10423
10406
|
include_parent_matches,
|
|
10424
10407
|
disable_aggregations,
|
|
10425
|
-
cf_filter
|
|
10426
|
-
recurring_occurrences_after,
|
|
10427
|
-
max_recurring_occurrences_after,
|
|
10428
|
-
recurring_task_read,
|
|
10429
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10430
10409
|
})
|
|
10431
10410
|
}).json();
|
|
10432
10411
|
}
|
|
@@ -10501,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10501
10480
|
})
|
|
10502
10481
|
}).json();
|
|
10503
10482
|
}
|
|
10504
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10483
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10505
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10506
10485
|
signal,
|
|
10507
10486
|
searchParams: buildSearchParams$2({
|
|
10508
10487
|
date_from,
|
|
10509
|
-
date_to
|
|
10510
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10511
10489
|
})
|
|
10512
10490
|
}).json();
|
|
10513
10491
|
}
|
|
10514
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
10492
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10515
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10516
10494
|
signal,
|
|
10517
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10527,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10527
10505
|
assignee_team_id,
|
|
10528
10506
|
assignee_user_id,
|
|
10529
10507
|
tag_id,
|
|
10530
|
-
include_assignees
|
|
10531
|
-
recurring_occurrences_after,
|
|
10532
|
-
max_recurring_occurrences_after,
|
|
10533
|
-
recurring_task_read,
|
|
10534
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10535
10509
|
})
|
|
10536
10510
|
}).json();
|
|
10537
10511
|
}
|
|
10538
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
10512
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10539
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10540
10514
|
signal,
|
|
10541
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10580,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10580
10554
|
recurring_task_ids,
|
|
10581
10555
|
client_id,
|
|
10582
10556
|
include_assignees,
|
|
10583
|
-
cf_filter
|
|
10584
|
-
recurring_occurrences_after,
|
|
10585
|
-
max_recurring_occurrences_after,
|
|
10586
|
-
recurring_task_read,
|
|
10587
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10588
10558
|
})
|
|
10589
10559
|
}).json();
|
|
10590
10560
|
}
|
|
@@ -10639,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10639
10609
|
})
|
|
10640
10610
|
}).json();
|
|
10641
10611
|
}
|
|
10642
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10643
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10644
|
-
signal,
|
|
10645
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10646
|
-
}).json();
|
|
10647
|
-
}
|
|
10648
10612
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10649
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10650
10614
|
signal,
|
|
@@ -10781,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10781
10745
|
})
|
|
10782
10746
|
}).json();
|
|
10783
10747
|
}
|
|
10784
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10785
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10786
10750
|
signal,
|
|
10787
|
-
json: data
|
|
10788
|
-
searchParams: buildSearchParams$2({
|
|
10789
|
-
from_recurring_task_id,
|
|
10790
|
-
return_occurrence
|
|
10791
|
-
})
|
|
10751
|
+
json: data
|
|
10792
10752
|
}).json();
|
|
10793
10753
|
}
|
|
10794
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10795
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10796
10756
|
signal,
|
|
10797
|
-
json: data
|
|
10798
|
-
searchParams: buildSearchParams$2({
|
|
10799
|
-
from_recurring_task_id,
|
|
10800
|
-
return_occurrence
|
|
10801
|
-
})
|
|
10757
|
+
json: data
|
|
10802
10758
|
}).json();
|
|
10803
10759
|
}
|
|
10804
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10849,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10849
10805
|
json: data
|
|
10850
10806
|
}).json();
|
|
10851
10807
|
}
|
|
10852
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10808
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10853
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10854
10810
|
signal,
|
|
10855
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10857,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10857
10813
|
date_to,
|
|
10858
10814
|
task_id,
|
|
10859
10815
|
status_id,
|
|
10860
|
-
project_id,
|
|
10861
10816
|
type,
|
|
10862
10817
|
order_by,
|
|
10863
10818
|
archived,
|
|
@@ -10881,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10881
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10882
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10883
10838
|
}
|
|
10884
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10839
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10885
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10886
10841
|
signal,
|
|
10887
|
-
json: data
|
|
10888
|
-
searchParams: buildSearchParams$2({
|
|
10889
|
-
from_recurring_task_id,
|
|
10890
|
-
return_occurrence
|
|
10891
|
-
})
|
|
10842
|
+
json: data
|
|
10892
10843
|
}).json();
|
|
10893
10844
|
}
|
|
10894
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10895
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10896
|
-
signal,
|
|
10897
|
-
searchParams: buildSearchParams$2({
|
|
10898
|
-
from_recurring_task_id,
|
|
10899
|
-
return_occurrence
|
|
10900
|
-
})
|
|
10901
|
-
}).json();
|
|
10845
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10846
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10902
10847
|
}
|
|
10903
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10848
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10904
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10905
10850
|
signal,
|
|
10906
|
-
json: data
|
|
10907
|
-
searchParams: buildSearchParams$2({
|
|
10908
|
-
from_recurring_task_id,
|
|
10909
|
-
return_occurrence
|
|
10910
|
-
})
|
|
10851
|
+
json: data
|
|
10911
10852
|
}).json();
|
|
10912
10853
|
}
|
|
10913
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14777,15 +14718,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14777
14718
|
}
|
|
14778
14719
|
//#endregion
|
|
14779
14720
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14780
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
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
14722
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14782
14723
|
signal,
|
|
14783
14724
|
searchParams: buildSearchParams$2({
|
|
14784
14725
|
workspace_id,
|
|
14785
14726
|
entity_type,
|
|
14786
14727
|
entity_id,
|
|
14787
|
-
project_id,
|
|
14788
|
-
custom_field_id,
|
|
14789
14728
|
action,
|
|
14790
14729
|
user_id,
|
|
14791
14730
|
page_size,
|
|
@@ -14794,14 +14733,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14794
14733
|
})
|
|
14795
14734
|
}).json();
|
|
14796
14735
|
}
|
|
14797
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
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
14737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14799
14738
|
signal,
|
|
14800
14739
|
searchParams: buildSearchParams$2({
|
|
14801
14740
|
entity_type,
|
|
14802
14741
|
entity_id,
|
|
14803
|
-
project_id,
|
|
14804
|
-
custom_field_id,
|
|
14805
14742
|
action,
|
|
14806
14743
|
user_id,
|
|
14807
14744
|
page_size,
|
|
@@ -14954,14 +14891,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14954
14891
|
}
|
|
14955
14892
|
//#endregion
|
|
14956
14893
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14957
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14894
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14958
14895
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14959
14896
|
signal,
|
|
14960
14897
|
searchParams: buildSearchParams$2({
|
|
14898
|
+
user_id,
|
|
14961
14899
|
start_date,
|
|
14962
14900
|
end_date,
|
|
14963
|
-
user_id,
|
|
14964
|
-
team_id,
|
|
14965
14901
|
private: private_,
|
|
14966
14902
|
task_source,
|
|
14967
14903
|
unit,
|
|
@@ -15021,15 +14957,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
15021
14957
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15022
14958
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
15023
14959
|
}
|
|
15024
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15025
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15026
|
-
}
|
|
15027
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15028
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15029
|
-
signal,
|
|
15030
|
-
json: data
|
|
15031
|
-
}).json();
|
|
15032
|
-
}
|
|
15033
14960
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15034
14961
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15035
14962
|
signal,
|
|
@@ -15293,7 +15220,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15293
15220
|
}
|
|
15294
15221
|
//#endregion
|
|
15295
15222
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15296
|
-
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,
|
|
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
15224
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15298
15225
|
signal,
|
|
15299
15226
|
searchParams: buildSearchParams$2({
|
|
@@ -15319,7 +15246,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15319
15246
|
user_id,
|
|
15320
15247
|
only_me,
|
|
15321
15248
|
include_drafts,
|
|
15322
|
-
include_recurring_series,
|
|
15323
15249
|
cf_filter
|
|
15324
15250
|
})
|
|
15325
15251
|
}).json();
|
|
@@ -15338,6 +15264,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15338
15264
|
json: data
|
|
15339
15265
|
}).json();
|
|
15340
15266
|
}
|
|
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
|
+
}
|
|
15341
15270
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15342
15271
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15343
15272
|
}
|
|
@@ -15363,37 +15292,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15363
15292
|
}).json();
|
|
15364
15293
|
}
|
|
15365
15294
|
//#endregion
|
|
15366
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15367
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15368
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15369
|
-
}
|
|
15370
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15371
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15372
|
-
signal,
|
|
15373
|
-
json: data,
|
|
15374
|
-
searchParams: buildSearchParams$2({
|
|
15375
|
-
response_format,
|
|
15376
|
-
include_dicts
|
|
15377
|
-
})
|
|
15378
|
-
}).json();
|
|
15379
|
-
}
|
|
15380
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15381
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15382
|
-
signal,
|
|
15383
|
-
json: data,
|
|
15384
|
-
searchParams: buildSearchParams$2({
|
|
15385
|
-
response_format,
|
|
15386
|
-
include_dicts
|
|
15387
|
-
})
|
|
15388
|
-
}).json();
|
|
15389
|
-
}
|
|
15390
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15391
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15392
|
-
signal,
|
|
15393
|
-
json: data
|
|
15394
|
-
}).json();
|
|
15395
|
-
}
|
|
15396
|
-
//#endregion
|
|
15397
15295
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15398
15296
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15399
15297
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15607,9 +15505,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15607
15505
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15608
15506
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15609
15507
|
}
|
|
15610
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15611
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15612
|
-
}
|
|
15613
15508
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15614
15509
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15615
15510
|
signal,
|
|
@@ -15619,21 +15514,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15619
15514
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15620
15515
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15621
15516
|
}
|
|
15622
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15623
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15624
|
-
signal,
|
|
15625
|
-
json: data
|
|
15626
|
-
}).json();
|
|
15627
|
-
}
|
|
15628
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15629
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15630
|
-
}
|
|
15631
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15632
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15633
|
-
signal,
|
|
15634
|
-
json: data
|
|
15635
|
-
}).json();
|
|
15636
|
-
}
|
|
15637
15517
|
//#endregion
|
|
15638
15518
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15639
15519
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15690,10 +15570,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15690
15570
|
}
|
|
15691
15571
|
//#endregion
|
|
15692
15572
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15693
|
-
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
|
|
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) {
|
|
15694
15574
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15695
15575
|
signal,
|
|
15696
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15697
15576
|
searchParams: buildSearchParams$2({
|
|
15698
15577
|
project_id,
|
|
15699
15578
|
source,
|
|
@@ -15722,18 +15601,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15722
15601
|
min_days,
|
|
15723
15602
|
include_drafts,
|
|
15724
15603
|
cf_filter,
|
|
15725
|
-
user_cf_filter
|
|
15726
|
-
recurring_occurrences_after,
|
|
15727
|
-
max_recurring_occurrences_after,
|
|
15728
|
-
recurring_task_read,
|
|
15729
|
-
include_projected_occurrences
|
|
15604
|
+
user_cf_filter
|
|
15730
15605
|
})
|
|
15731
15606
|
}).json();
|
|
15732
15607
|
}
|
|
15733
|
-
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
|
|
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) {
|
|
15734
15609
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15735
15610
|
signal,
|
|
15736
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15737
15611
|
searchParams: buildSearchParams$2({
|
|
15738
15612
|
team_id,
|
|
15739
15613
|
project_id,
|
|
@@ -15762,18 +15636,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15762
15636
|
min_days,
|
|
15763
15637
|
include_drafts,
|
|
15764
15638
|
cf_filter,
|
|
15765
|
-
user_cf_filter
|
|
15766
|
-
recurring_occurrences_after,
|
|
15767
|
-
max_recurring_occurrences_after,
|
|
15768
|
-
recurring_task_read,
|
|
15769
|
-
include_projected_occurrences
|
|
15639
|
+
user_cf_filter
|
|
15770
15640
|
})
|
|
15771
15641
|
}).json();
|
|
15772
15642
|
}
|
|
15773
|
-
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,
|
|
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) {
|
|
15774
15644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15775
15645
|
signal,
|
|
15776
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15777
15646
|
searchParams: buildSearchParams$2({
|
|
15778
15647
|
source,
|
|
15779
15648
|
priority,
|
|
@@ -15803,10 +15672,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15803
15672
|
include_drafts,
|
|
15804
15673
|
cf_filter,
|
|
15805
15674
|
user_cf_filter,
|
|
15806
|
-
recurring_occurrences_after,
|
|
15807
|
-
max_recurring_occurrences_after,
|
|
15808
|
-
recurring_task_read,
|
|
15809
|
-
include_projected_occurrences,
|
|
15810
15675
|
page,
|
|
15811
15676
|
per_page,
|
|
15812
15677
|
order_by
|
|
@@ -15998,19 +15863,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15998
15863
|
json: data
|
|
15999
15864
|
}).json();
|
|
16000
15865
|
}
|
|
16001
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
16002
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
16003
|
-
signal,
|
|
16004
|
-
searchParams: buildSearchParams$2({
|
|
16005
|
-
date_from,
|
|
16006
|
-
date_to,
|
|
16007
|
-
setup_id,
|
|
16008
|
-
user_account_ids,
|
|
16009
|
-
approver_user_account_ids,
|
|
16010
|
-
team_ids
|
|
16011
|
-
})
|
|
16012
|
-
}).json();
|
|
16013
|
-
}
|
|
16014
15866
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
16015
15867
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
16016
15868
|
}
|
|
@@ -16054,21 +15906,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
16054
15906
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
16055
15907
|
}
|
|
16056
15908
|
//#endregion
|
|
16057
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
16058
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
16059
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
16060
|
-
signal,
|
|
16061
|
-
json: data
|
|
16062
|
-
}).json();
|
|
16063
|
-
}
|
|
16064
|
-
//#endregion
|
|
16065
15909
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
16066
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
16067
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
16068
|
-
}
|
|
16069
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
16070
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
16071
|
-
}
|
|
16072
15910
|
async function getUserSettings(httpClient, signal) {
|
|
16073
15911
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
16074
15912
|
}
|
|
@@ -16308,7 +16146,6 @@ const generatedFocusOperations = [
|
|
|
16308
16146
|
mcp: { entityTool: "audit-log" },
|
|
16309
16147
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16310
16148
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16311
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16312
16149
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16313
16150
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16314
16151
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16316,7 +16153,6 @@ const generatedFocusOperations = [
|
|
|
16316
16153
|
from: /* @__PURE__ */ string$1(),
|
|
16317
16154
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16318
16155
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16319
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16320
16156
|
to: /* @__PURE__ */ string$1(),
|
|
16321
16157
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16322
16158
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16350,7 +16186,6 @@ const generatedFocusOperations = [
|
|
|
16350
16186
|
mcp: { entityTool: "audit-log" },
|
|
16351
16187
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16352
16188
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16353
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16354
16189
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16355
16190
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16356
16191
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16358,7 +16193,6 @@ const generatedFocusOperations = [
|
|
|
16358
16193
|
from: /* @__PURE__ */ string$1(),
|
|
16359
16194
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16360
16195
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16361
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16362
16196
|
to: /* @__PURE__ */ string$1(),
|
|
16363
16197
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16364
16198
|
}),
|
|
@@ -16398,7 +16232,6 @@ const generatedFocusOperations = [
|
|
|
16398
16232
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16399
16233
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16400
16234
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16401
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16402
16235
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16403
16236
|
user_id: /* @__PURE__ */ number$2()
|
|
16404
16237
|
}),
|
|
@@ -16648,6 +16481,8 @@ const generatedFocusOperations = [
|
|
|
16648
16481
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16649
16482
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16650
16483
|
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()),
|
|
16651
16486
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16652
16487
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16653
16488
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16681,6 +16516,8 @@ const generatedFocusOperations = [
|
|
|
16681
16516
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16682
16517
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16683
16518
|
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()),
|
|
16684
16521
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16685
16522
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16686
16523
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16835,33 +16672,6 @@ const generatedFocusOperations = [
|
|
|
16835
16672
|
]));
|
|
16836
16673
|
}
|
|
16837
16674
|
},
|
|
16838
|
-
{
|
|
16839
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16840
|
-
family: "focus",
|
|
16841
|
-
resource: "custom-fields",
|
|
16842
|
-
action: "get-allowed-users",
|
|
16843
|
-
title: "Get Allowed Users Custom Fields",
|
|
16844
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16845
|
-
safety: "read",
|
|
16846
|
-
destructive: false,
|
|
16847
|
-
cli: {
|
|
16848
|
-
group: ["custom-fields"],
|
|
16849
|
-
command: "get-allowed-users",
|
|
16850
|
-
interactive: "available"
|
|
16851
|
-
},
|
|
16852
|
-
mcp: { entityTool: "custom-fields" },
|
|
16853
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16854
|
-
execute: (input, { client }) => {
|
|
16855
|
-
const data = input;
|
|
16856
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16857
|
-
client.httpClient,
|
|
16858
|
-
client.organizationId,
|
|
16859
|
-
client.workspaceIdNumber,
|
|
16860
|
-
data.custom_field_id,
|
|
16861
|
-
void 0
|
|
16862
|
-
]));
|
|
16863
|
-
}
|
|
16864
|
-
},
|
|
16865
16675
|
{
|
|
16866
16676
|
id: "focus.custom-fields.list",
|
|
16867
16677
|
family: "focus",
|
|
@@ -17031,37 +16841,6 @@ const generatedFocusOperations = [
|
|
|
17031
16841
|
]));
|
|
17032
16842
|
}
|
|
17033
16843
|
},
|
|
17034
|
-
{
|
|
17035
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
17036
|
-
family: "focus",
|
|
17037
|
-
resource: "custom-fields",
|
|
17038
|
-
action: "replace-custom-field-allowed-users",
|
|
17039
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
17040
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
17041
|
-
safety: "update",
|
|
17042
|
-
destructive: false,
|
|
17043
|
-
cli: {
|
|
17044
|
-
group: ["custom-fields"],
|
|
17045
|
-
command: "replace-custom-field-allowed-users",
|
|
17046
|
-
interactive: "default"
|
|
17047
|
-
},
|
|
17048
|
-
mcp: { entityTool: "custom-fields" },
|
|
17049
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17050
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
17051
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
17052
|
-
}),
|
|
17053
|
-
execute: (input, { client }) => {
|
|
17054
|
-
const data = input;
|
|
17055
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
17056
|
-
client.httpClient,
|
|
17057
|
-
client.organizationId,
|
|
17058
|
-
client.workspaceIdNumber,
|
|
17059
|
-
data.custom_field_id,
|
|
17060
|
-
data.payload ?? data.data ?? data,
|
|
17061
|
-
void 0
|
|
17062
|
-
]));
|
|
17063
|
-
}
|
|
17064
|
-
},
|
|
17065
16844
|
{
|
|
17066
16845
|
id: "focus.custom-fields.update",
|
|
17067
16846
|
family: "focus",
|
|
@@ -17208,7 +16987,13 @@ const generatedFocusOperations = [
|
|
|
17208
16987
|
},
|
|
17209
16988
|
mcp: { entityTool: "goals" },
|
|
17210
16989
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16990
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17211
16991
|
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()),
|
|
17212
16997
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17213
16998
|
"daily",
|
|
17214
16999
|
"weekly",
|
|
@@ -17216,18 +17001,12 @@ const generatedFocusOperations = [
|
|
|
17216
17001
|
"monthly"
|
|
17217
17002
|
]),
|
|
17218
17003
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17004
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17219
17005
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17220
|
-
|
|
17006
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17007
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17221
17008
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17222
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17223
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17224
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17225
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17226
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17227
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17228
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17229
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17230
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17009
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17231
17010
|
}) }),
|
|
17232
17011
|
execute: (input, { client }) => {
|
|
17233
17012
|
const data = input;
|
|
@@ -17333,6 +17112,13 @@ const generatedFocusOperations = [
|
|
|
17333
17112
|
},
|
|
17334
17113
|
mcp: { entityTool: "goals" },
|
|
17335
17114
|
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()),
|
|
17336
17122
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17337
17123
|
"daily",
|
|
17338
17124
|
"weekly",
|
|
@@ -17340,19 +17126,12 @@ const generatedFocusOperations = [
|
|
|
17340
17126
|
"monthly"
|
|
17341
17127
|
]),
|
|
17342
17128
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17343
|
-
|
|
17129
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17130
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
17131
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17132
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17344
17133
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17345
|
-
|
|
17346
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17347
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17348
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17349
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17350
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17351
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17352
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17353
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17354
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17355
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17134
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17356
17135
|
}) }),
|
|
17357
17136
|
execute: (input, { client }) => {
|
|
17358
17137
|
const data = input;
|
|
@@ -18319,17 +18098,9 @@ const generatedFocusOperations = [
|
|
|
18319
18098
|
mcp: { entityTool: "projects" },
|
|
18320
18099
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18321
18100
|
payload: /* @__PURE__ */ looseObject({
|
|
18322
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18323
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18324
18101
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18325
18102
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18326
18103
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18327
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18328
|
-
"expire",
|
|
18329
|
-
"carry_all",
|
|
18330
|
-
"carry_over"
|
|
18331
|
-
])),
|
|
18332
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18333
18104
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18334
18105
|
}),
|
|
18335
18106
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18773,7 +18544,6 @@ const generatedFocusOperations = [
|
|
|
18773
18544
|
group: /* @__PURE__ */ string$1(),
|
|
18774
18545
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18775
18546
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18776
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18777
18547
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18778
18548
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18779
18549
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18876,6 +18646,29 @@ const generatedFocusOperations = [
|
|
|
18876
18646
|
]));
|
|
18877
18647
|
}
|
|
18878
18648
|
},
|
|
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
|
+
},
|
|
18879
18672
|
{
|
|
18880
18673
|
id: "focus.projects.margin-targets-get",
|
|
18881
18674
|
family: "focus",
|
|
@@ -19320,130 +19113,6 @@ const generatedFocusOperations = [
|
|
|
19320
19113
|
]));
|
|
19321
19114
|
}
|
|
19322
19115
|
},
|
|
19323
|
-
{
|
|
19324
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19325
|
-
family: "focus",
|
|
19326
|
-
resource: "publicsharedreports",
|
|
19327
|
-
action: "open-public-shared-report",
|
|
19328
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19329
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19330
|
-
safety: "read",
|
|
19331
|
-
destructive: false,
|
|
19332
|
-
cli: {
|
|
19333
|
-
group: ["publicsharedreports"],
|
|
19334
|
-
command: "open-public-shared-report",
|
|
19335
|
-
interactive: "available"
|
|
19336
|
-
},
|
|
19337
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19338
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19339
|
-
execute: (input, { client }) => {
|
|
19340
|
-
const data = input;
|
|
19341
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19342
|
-
client.httpClient,
|
|
19343
|
-
data.token,
|
|
19344
|
-
void 0
|
|
19345
|
-
]));
|
|
19346
|
-
}
|
|
19347
|
-
},
|
|
19348
|
-
{
|
|
19349
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19350
|
-
family: "focus",
|
|
19351
|
-
resource: "publicsharedreports",
|
|
19352
|
-
action: "profitability-public-shared-report",
|
|
19353
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19354
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19355
|
-
safety: "update",
|
|
19356
|
-
destructive: false,
|
|
19357
|
-
cli: {
|
|
19358
|
-
group: ["publicsharedreports"],
|
|
19359
|
-
command: "profitability-public-shared-report",
|
|
19360
|
-
interactive: "default"
|
|
19361
|
-
},
|
|
19362
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19363
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19364
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19365
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19366
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19367
|
-
token: /* @__PURE__ */ string$1()
|
|
19368
|
-
}),
|
|
19369
|
-
execute: (input, { client }) => {
|
|
19370
|
-
const data = input;
|
|
19371
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19372
|
-
client.httpClient,
|
|
19373
|
-
data.token,
|
|
19374
|
-
data.payload ?? data.data ?? data,
|
|
19375
|
-
data.response_format,
|
|
19376
|
-
data.include_dicts,
|
|
19377
|
-
void 0
|
|
19378
|
-
]));
|
|
19379
|
-
}
|
|
19380
|
-
},
|
|
19381
|
-
{
|
|
19382
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19383
|
-
family: "focus",
|
|
19384
|
-
resource: "publicsharedreports",
|
|
19385
|
-
action: "query-public-shared-report",
|
|
19386
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19387
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19388
|
-
safety: "update",
|
|
19389
|
-
destructive: false,
|
|
19390
|
-
cli: {
|
|
19391
|
-
group: ["publicsharedreports"],
|
|
19392
|
-
command: "query-public-shared-report",
|
|
19393
|
-
interactive: "default"
|
|
19394
|
-
},
|
|
19395
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19396
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19397
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19398
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19399
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19400
|
-
"json_row",
|
|
19401
|
-
"table",
|
|
19402
|
-
"hierarchical"
|
|
19403
|
-
])),
|
|
19404
|
-
token: /* @__PURE__ */ string$1()
|
|
19405
|
-
}),
|
|
19406
|
-
execute: (input, { client }) => {
|
|
19407
|
-
const data = input;
|
|
19408
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19409
|
-
client.httpClient,
|
|
19410
|
-
data.token,
|
|
19411
|
-
data.payload ?? data.data ?? data,
|
|
19412
|
-
data.response_format,
|
|
19413
|
-
data.include_dicts,
|
|
19414
|
-
void 0
|
|
19415
|
-
]));
|
|
19416
|
-
}
|
|
19417
|
-
},
|
|
19418
|
-
{
|
|
19419
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19420
|
-
family: "focus",
|
|
19421
|
-
resource: "publicsharedreports",
|
|
19422
|
-
action: "workload-public-shared-report",
|
|
19423
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19424
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19425
|
-
safety: "update",
|
|
19426
|
-
destructive: false,
|
|
19427
|
-
cli: {
|
|
19428
|
-
group: ["publicsharedreports"],
|
|
19429
|
-
command: "workload-public-shared-report",
|
|
19430
|
-
interactive: "default"
|
|
19431
|
-
},
|
|
19432
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19433
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19434
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19435
|
-
token: /* @__PURE__ */ string$1()
|
|
19436
|
-
}),
|
|
19437
|
-
execute: (input, { client }) => {
|
|
19438
|
-
const data = input;
|
|
19439
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19440
|
-
client.httpClient,
|
|
19441
|
-
data.token,
|
|
19442
|
-
data.payload ?? data.data ?? data,
|
|
19443
|
-
void 0
|
|
19444
|
-
]));
|
|
19445
|
-
}
|
|
19446
|
-
},
|
|
19447
19116
|
{
|
|
19448
19117
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19449
19118
|
family: "focus",
|
|
@@ -21402,7 +21071,7 @@ const generatedFocusOperations = [
|
|
|
21402
21071
|
cli: {
|
|
21403
21072
|
group: ["reportschedules"],
|
|
21404
21073
|
command: "upsert-saved-view-schedule",
|
|
21405
|
-
interactive: "
|
|
21074
|
+
interactive: "default"
|
|
21406
21075
|
},
|
|
21407
21076
|
mcp: { entityTool: "reportschedules" },
|
|
21408
21077
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21413,10 +21082,8 @@ const generatedFocusOperations = [
|
|
|
21413
21082
|
"weekly",
|
|
21414
21083
|
"monthly"
|
|
21415
21084
|
]),
|
|
21416
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21417
21085
|
time: /* @__PURE__ */ string$1(),
|
|
21418
21086
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21419
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21420
21087
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21421
21088
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21422
21089
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21819,36 +21486,6 @@ const generatedFocusOperations = [
|
|
|
21819
21486
|
void 0
|
|
21820
21487
|
]))
|
|
21821
21488
|
},
|
|
21822
|
-
{
|
|
21823
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21824
|
-
family: "focus",
|
|
21825
|
-
resource: "sharedreports",
|
|
21826
|
-
action: "mint-shared-report-link",
|
|
21827
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21828
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21829
|
-
safety: "update",
|
|
21830
|
-
destructive: false,
|
|
21831
|
-
cli: {
|
|
21832
|
-
group: ["sharedreports"],
|
|
21833
|
-
command: "mint-shared-report-link",
|
|
21834
|
-
interactive: "default"
|
|
21835
|
-
},
|
|
21836
|
-
mcp: { entityTool: "sharedreports" },
|
|
21837
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21838
|
-
id: /* @__PURE__ */ number$2(),
|
|
21839
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21840
|
-
}),
|
|
21841
|
-
execute: (input, { client }) => {
|
|
21842
|
-
const data = input;
|
|
21843
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21844
|
-
client.httpClient,
|
|
21845
|
-
client.workspaceIdNumber,
|
|
21846
|
-
data.id,
|
|
21847
|
-
data.payload ?? data.data ?? data,
|
|
21848
|
-
void 0
|
|
21849
|
-
]));
|
|
21850
|
-
}
|
|
21851
|
-
},
|
|
21852
21489
|
{
|
|
21853
21490
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21854
21491
|
family: "focus",
|
|
@@ -21879,62 +21516,6 @@ const generatedFocusOperations = [
|
|
|
21879
21516
|
]));
|
|
21880
21517
|
}
|
|
21881
21518
|
},
|
|
21882
|
-
{
|
|
21883
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21884
|
-
family: "focus",
|
|
21885
|
-
resource: "sharedreports",
|
|
21886
|
-
action: "revoke-shared-report-link",
|
|
21887
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
21888
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
21889
|
-
safety: "delete",
|
|
21890
|
-
destructive: true,
|
|
21891
|
-
cli: {
|
|
21892
|
-
group: ["sharedreports"],
|
|
21893
|
-
command: "revoke-shared-report-link",
|
|
21894
|
-
interactive: "default"
|
|
21895
|
-
},
|
|
21896
|
-
mcp: { entityTool: "sharedreports" },
|
|
21897
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21898
|
-
execute: (input, { client }) => {
|
|
21899
|
-
const data = input;
|
|
21900
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21901
|
-
client.httpClient,
|
|
21902
|
-
client.workspaceIdNumber,
|
|
21903
|
-
data.id,
|
|
21904
|
-
void 0
|
|
21905
|
-
]));
|
|
21906
|
-
}
|
|
21907
|
-
},
|
|
21908
|
-
{
|
|
21909
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21910
|
-
family: "focus",
|
|
21911
|
-
resource: "sharedreports",
|
|
21912
|
-
action: "rotate-shared-report-link",
|
|
21913
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
21914
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
21915
|
-
safety: "update",
|
|
21916
|
-
destructive: false,
|
|
21917
|
-
cli: {
|
|
21918
|
-
group: ["sharedreports"],
|
|
21919
|
-
command: "rotate-shared-report-link",
|
|
21920
|
-
interactive: "default"
|
|
21921
|
-
},
|
|
21922
|
-
mcp: { entityTool: "sharedreports" },
|
|
21923
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21924
|
-
id: /* @__PURE__ */ number$2(),
|
|
21925
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21926
|
-
}),
|
|
21927
|
-
execute: (input, { client }) => {
|
|
21928
|
-
const data = input;
|
|
21929
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21930
|
-
client.httpClient,
|
|
21931
|
-
client.workspaceIdNumber,
|
|
21932
|
-
data.id,
|
|
21933
|
-
data.payload ?? data.data ?? data,
|
|
21934
|
-
void 0
|
|
21935
|
-
]));
|
|
21936
|
-
}
|
|
21937
|
-
},
|
|
21938
21519
|
{
|
|
21939
21520
|
id: "focus.sharedreports.share-saved-view",
|
|
21940
21521
|
family: "focus",
|
|
@@ -22009,32 +21590,6 @@ const generatedFocusOperations = [
|
|
|
22009
21590
|
]));
|
|
22010
21591
|
}
|
|
22011
21592
|
},
|
|
22012
|
-
{
|
|
22013
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
22014
|
-
family: "focus",
|
|
22015
|
-
resource: "sharedreports",
|
|
22016
|
-
action: "unshare-shared-report",
|
|
22017
|
-
title: "Unshare Shared Report Sharedreports",
|
|
22018
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
22019
|
-
safety: "delete",
|
|
22020
|
-
destructive: true,
|
|
22021
|
-
cli: {
|
|
22022
|
-
group: ["sharedreports"],
|
|
22023
|
-
command: "unshare-shared-report",
|
|
22024
|
-
interactive: "default"
|
|
22025
|
-
},
|
|
22026
|
-
mcp: { entityTool: "sharedreports" },
|
|
22027
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22028
|
-
execute: (input, { client }) => {
|
|
22029
|
-
const data = input;
|
|
22030
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22031
|
-
client.httpClient,
|
|
22032
|
-
client.workspaceIdNumber,
|
|
22033
|
-
data.id,
|
|
22034
|
-
void 0
|
|
22035
|
-
]));
|
|
22036
|
-
}
|
|
22037
|
-
},
|
|
22038
21593
|
{
|
|
22039
21594
|
id: "focus.statuses.create-status",
|
|
22040
21595
|
family: "focus",
|
|
@@ -23077,37 +22632,6 @@ const generatedFocusOperations = [
|
|
|
23077
22632
|
return client.createTask(data);
|
|
23078
22633
|
}
|
|
23079
22634
|
},
|
|
23080
|
-
{
|
|
23081
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
23082
|
-
family: "focus",
|
|
23083
|
-
resource: "tasks",
|
|
23084
|
-
action: "create-recurring-occurrence",
|
|
23085
|
-
title: "Create Recurring Occurrence Tasks",
|
|
23086
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
23087
|
-
safety: "create",
|
|
23088
|
-
destructive: false,
|
|
23089
|
-
cli: {
|
|
23090
|
-
group: ["tasks"],
|
|
23091
|
-
command: "create-recurring-occurrence",
|
|
23092
|
-
interactive: "default"
|
|
23093
|
-
},
|
|
23094
|
-
mcp: { entityTool: "tasks" },
|
|
23095
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23096
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23097
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23098
|
-
}),
|
|
23099
|
-
execute: (input, { client }) => {
|
|
23100
|
-
const data = input;
|
|
23101
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23102
|
-
client.httpClient,
|
|
23103
|
-
client.organizationId,
|
|
23104
|
-
client.workspaceIdNumber,
|
|
23105
|
-
data.task_id,
|
|
23106
|
-
data.return_occurrence,
|
|
23107
|
-
void 0
|
|
23108
|
-
]));
|
|
23109
|
-
}
|
|
23110
|
-
},
|
|
23111
22635
|
{
|
|
23112
22636
|
id: "focus.tasks.delete",
|
|
23113
22637
|
family: "focus",
|
|
@@ -23355,13 +22879,9 @@ const generatedFocusOperations = [
|
|
|
23355
22879
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23356
22880
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23357
22881
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23358
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23359
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23360
22882
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23361
22883
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23362
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23363
22884
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23365
22885
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23366
22886
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23367
22887
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23413,9 +22933,7 @@ const generatedFocusOperations = [
|
|
|
23413
22933
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23414
22934
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23415
22935
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23416
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23417
22936
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23418
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23419
22937
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23420
22938
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23421
22939
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23424,9 +22942,7 @@ const generatedFocusOperations = [
|
|
|
23424
22942
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23425
22943
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23426
22944
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23427
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23428
22945
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23429
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23430
22946
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23431
22947
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23432
22948
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23564,10 +23080,8 @@ const generatedFocusOperations = [
|
|
|
23564
23080
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23565
23081
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23566
23082
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23567
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23568
23083
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23569
23084
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23570
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23571
23085
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23572
23086
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23573
23087
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23576,8 +23090,6 @@ const generatedFocusOperations = [
|
|
|
23576
23090
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23577
23091
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23578
23092
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23579
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23580
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23581
23093
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23582
23094
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23583
23095
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23586,8 +23098,7 @@ const generatedFocusOperations = [
|
|
|
23586
23098
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23587
23099
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23588
23100
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23589
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23590
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23101
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23591
23102
|
}),
|
|
23592
23103
|
execute: (input, { client }) => {
|
|
23593
23104
|
const data = input;
|
|
@@ -23629,17 +23140,13 @@ const generatedFocusOperations = [
|
|
|
23629
23140
|
group_id: /* @__PURE__ */ number$2(),
|
|
23630
23141
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23631
23142
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23632
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23633
23143
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23634
23144
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23635
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23636
23145
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23637
23146
|
name: /* @__PURE__ */ unknown$1(),
|
|
23638
23147
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23639
23148
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23640
23149
|
project_id: /* @__PURE__ */ number$2(),
|
|
23641
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23642
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23643
23150
|
source: /* @__PURE__ */ unknown$1(),
|
|
23644
23151
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23645
23152
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23648,8 +23155,7 @@ const generatedFocusOperations = [
|
|
|
23648
23155
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23649
23156
|
team_id: /* @__PURE__ */ number$2(),
|
|
23650
23157
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23651
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23652
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23158
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23653
23159
|
}),
|
|
23654
23160
|
execute: (input, { client }) => {
|
|
23655
23161
|
const data = input;
|
|
@@ -23690,17 +23196,13 @@ const generatedFocusOperations = [
|
|
|
23690
23196
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23691
23197
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23692
23198
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23693
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23694
23199
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23695
23200
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23696
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23697
23201
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23698
23202
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23699
23203
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23700
23204
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23701
23205
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23702
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23703
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23704
23206
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23705
23207
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23706
23208
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23709,8 +23211,7 @@ const generatedFocusOperations = [
|
|
|
23709
23211
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23710
23212
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23711
23213
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23712
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23713
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23214
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23714
23215
|
}),
|
|
23715
23216
|
execute: (input, { client }) => {
|
|
23716
23217
|
const data = input;
|
|
@@ -23981,8 +23482,7 @@ const generatedFocusOperations = [
|
|
|
23981
23482
|
mcp: { entityTool: "tasks" },
|
|
23982
23483
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23983
23484
|
date_from: /* @__PURE__ */ string$1(),
|
|
23984
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23985
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23485
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23986
23486
|
}),
|
|
23987
23487
|
execute: (input, { client }) => {
|
|
23988
23488
|
const data = input;
|
|
@@ -23992,7 +23492,6 @@ const generatedFocusOperations = [
|
|
|
23992
23492
|
client.workspaceIdNumber,
|
|
23993
23493
|
data.date_from,
|
|
23994
23494
|
data.date_to,
|
|
23995
|
-
data.skip_provider_refresh,
|
|
23996
23495
|
void 0
|
|
23997
23496
|
]));
|
|
23998
23497
|
}
|
|
@@ -24579,8 +24078,7 @@ const generatedFocusOperations = [
|
|
|
24579
24078
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24580
24079
|
"project",
|
|
24581
24080
|
"task",
|
|
24582
|
-
"description"
|
|
24583
|
-
"tags"
|
|
24081
|
+
"description"
|
|
24584
24082
|
]) })),
|
|
24585
24083
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24586
24084
|
}) }),
|
|
@@ -24610,7 +24108,6 @@ const generatedFocusOperations = [
|
|
|
24610
24108
|
},
|
|
24611
24109
|
mcp: { entityTool: "time-entries" },
|
|
24612
24110
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24613
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24614
24111
|
payload: /* @__PURE__ */ looseObject({
|
|
24615
24112
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24616
24113
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24621,13 +24118,11 @@ const generatedFocusOperations = [
|
|
|
24621
24118
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24622
24119
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24623
24120
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24624
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24625
24121
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24626
24122
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24627
24123
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24628
24124
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24629
24125
|
}),
|
|
24630
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24631
24126
|
task_id: /* @__PURE__ */ number$2()
|
|
24632
24127
|
}),
|
|
24633
24128
|
execute: (input, { client }) => {
|
|
@@ -24638,8 +24133,6 @@ const generatedFocusOperations = [
|
|
|
24638
24133
|
client.workspaceIdNumber,
|
|
24639
24134
|
data.task_id,
|
|
24640
24135
|
data.payload ?? data.data ?? data,
|
|
24641
|
-
data.from_recurring_task_id,
|
|
24642
|
-
data.return_occurrence,
|
|
24643
24136
|
void 0
|
|
24644
24137
|
]));
|
|
24645
24138
|
}
|
|
@@ -24659,26 +24152,21 @@ const generatedFocusOperations = [
|
|
|
24659
24152
|
interactive: "default"
|
|
24660
24153
|
},
|
|
24661
24154
|
mcp: { entityTool: "time-entries" },
|
|
24662
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
|
|
24677
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24678
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24679
|
-
}),
|
|
24680
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24681
|
-
}),
|
|
24155
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24156
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24157
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24158
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24159
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24160
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24161
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24162
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24163
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24164
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24165
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24166
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24167
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24168
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24169
|
+
}) }),
|
|
24682
24170
|
execute: (input, { client }) => {
|
|
24683
24171
|
const data = input;
|
|
24684
24172
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24686,8 +24174,6 @@ const generatedFocusOperations = [
|
|
|
24686
24174
|
client.organizationId,
|
|
24687
24175
|
client.workspaceIdNumber,
|
|
24688
24176
|
data.payload ?? data.data ?? data,
|
|
24689
|
-
data.from_recurring_task_id,
|
|
24690
|
-
data.return_occurrence,
|
|
24691
24177
|
void 0
|
|
24692
24178
|
]));
|
|
24693
24179
|
}
|
|
@@ -24707,11 +24193,7 @@ const generatedFocusOperations = [
|
|
|
24707
24193
|
interactive: "default"
|
|
24708
24194
|
},
|
|
24709
24195
|
mcp: { entityTool: "time-entries" },
|
|
24710
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24711
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24712
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24713
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24714
|
-
}),
|
|
24196
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24715
24197
|
execute: (input, { client }) => {
|
|
24716
24198
|
const data = input;
|
|
24717
24199
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24719,8 +24201,6 @@ const generatedFocusOperations = [
|
|
|
24719
24201
|
client.organizationId,
|
|
24720
24202
|
client.workspaceIdNumber,
|
|
24721
24203
|
data.time_entry_id,
|
|
24722
|
-
data.from_recurring_task_id,
|
|
24723
|
-
data.return_occurrence,
|
|
24724
24204
|
void 0
|
|
24725
24205
|
]));
|
|
24726
24206
|
}
|
|
@@ -24801,7 +24281,6 @@ const generatedFocusOperations = [
|
|
|
24801
24281
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24802
24282
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24803
24283
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24804
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24805
24284
|
status_id: /* @__PURE__ */ number$2(),
|
|
24806
24285
|
task_id: /* @__PURE__ */ number$2(),
|
|
24807
24286
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24978,14 +24457,12 @@ const generatedFocusOperations = [
|
|
|
24978
24457
|
},
|
|
24979
24458
|
mcp: { entityTool: "time-entries" },
|
|
24980
24459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24981
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24982
24460
|
payload: /* @__PURE__ */ looseObject({
|
|
24983
24461
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24984
24462
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24985
24463
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24986
24464
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24987
24465
|
}),
|
|
24988
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24989
24466
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24990
24467
|
}),
|
|
24991
24468
|
execute: (input, { client }) => {
|
|
@@ -24996,8 +24473,6 @@ const generatedFocusOperations = [
|
|
|
24996
24473
|
client.workspaceIdNumber,
|
|
24997
24474
|
data.time_entry_id,
|
|
24998
24475
|
data.payload ?? data.data ?? data,
|
|
24999
|
-
data.from_recurring_task_id,
|
|
25000
|
-
data.return_occurrence,
|
|
25001
24476
|
void 0
|
|
25002
24477
|
]));
|
|
25003
24478
|
}
|
|
@@ -25255,7 +24730,6 @@ const generatedFocusOperations = [
|
|
|
25255
24730
|
},
|
|
25256
24731
|
mcp: { entityTool: "time-entries" },
|
|
25257
24732
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25258
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25259
24733
|
payload: /* @__PURE__ */ looseObject({
|
|
25260
24734
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
25261
24735
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -25268,7 +24742,6 @@ const generatedFocusOperations = [
|
|
|
25268
24742
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25269
24743
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
25270
24744
|
}),
|
|
25271
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25272
24745
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
25273
24746
|
}),
|
|
25274
24747
|
execute: (input, { client }) => {
|
|
@@ -25279,8 +24752,6 @@ const generatedFocusOperations = [
|
|
|
25279
24752
|
client.workspaceIdNumber,
|
|
25280
24753
|
data.time_entry_id,
|
|
25281
24754
|
data.payload ?? data.data ?? data,
|
|
25282
|
-
data.from_recurring_task_id,
|
|
25283
|
-
data.return_occurrence,
|
|
25284
24755
|
void 0
|
|
25285
24756
|
]));
|
|
25286
24757
|
}
|
|
@@ -25796,40 +25267,6 @@ const generatedFocusOperations = [
|
|
|
25796
25267
|
]));
|
|
25797
25268
|
}
|
|
25798
25269
|
},
|
|
25799
|
-
{
|
|
25800
|
-
id: "focus.timesheets.get-status-counts",
|
|
25801
|
-
family: "focus",
|
|
25802
|
-
resource: "timesheets",
|
|
25803
|
-
action: "get-status-counts",
|
|
25804
|
-
title: "Get Status Counts Timesheets",
|
|
25805
|
-
description: "Get Status Counts Timesheets.",
|
|
25806
|
-
safety: "read",
|
|
25807
|
-
destructive: false,
|
|
25808
|
-
cli: {
|
|
25809
|
-
group: ["timesheets"],
|
|
25810
|
-
command: "get-status-counts",
|
|
25811
|
-
interactive: "hidden"
|
|
25812
|
-
},
|
|
25813
|
-
mcp: { entityTool: "timesheets" },
|
|
25814
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25815
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25816
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25817
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25818
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25819
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25820
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25821
|
-
}),
|
|
25822
|
-
execute: (input, { client }) => {
|
|
25823
|
-
const data = input;
|
|
25824
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25825
|
-
client.httpClient,
|
|
25826
|
-
client.organizationId,
|
|
25827
|
-
client.workspaceIdNumber,
|
|
25828
|
-
data,
|
|
25829
|
-
void 0
|
|
25830
|
-
]));
|
|
25831
|
-
}
|
|
25832
|
-
},
|
|
25833
25270
|
{
|
|
25834
25271
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25835
25272
|
family: "focus",
|
|
@@ -26379,33 +25816,6 @@ const generatedFocusOperations = [
|
|
|
26379
25816
|
]));
|
|
26380
25817
|
}
|
|
26381
25818
|
},
|
|
26382
|
-
{
|
|
26383
|
-
id: "focus.track-team-invites.post",
|
|
26384
|
-
family: "focus",
|
|
26385
|
-
resource: "track-team-invites",
|
|
26386
|
-
action: "post",
|
|
26387
|
-
title: "Post Track Team Invites",
|
|
26388
|
-
description: "Post Track Team Invites.",
|
|
26389
|
-
safety: "create",
|
|
26390
|
-
destructive: false,
|
|
26391
|
-
cli: {
|
|
26392
|
-
group: ["track-team-invites"],
|
|
26393
|
-
command: "post",
|
|
26394
|
-
interactive: "default"
|
|
26395
|
-
},
|
|
26396
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26397
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26398
|
-
execute: (input, { client }) => {
|
|
26399
|
-
const data = input;
|
|
26400
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26401
|
-
client.httpClient,
|
|
26402
|
-
client.organizationId,
|
|
26403
|
-
client.workspaceIdNumber,
|
|
26404
|
-
data.payload ?? data.data ?? data,
|
|
26405
|
-
void 0
|
|
26406
|
-
]));
|
|
26407
|
-
}
|
|
26408
|
-
},
|
|
26409
25819
|
{
|
|
26410
25820
|
id: "focus.users.list",
|
|
26411
25821
|
family: "focus",
|
|
@@ -26427,56 +25837,6 @@ const generatedFocusOperations = [
|
|
|
26427
25837
|
return client.listOrgUsers(data);
|
|
26428
25838
|
}
|
|
26429
25839
|
},
|
|
26430
|
-
{
|
|
26431
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26432
|
-
family: "focus",
|
|
26433
|
-
resource: "users",
|
|
26434
|
-
action: "settings-email-unsubscribe",
|
|
26435
|
-
title: "Settings Email Unsubscribe Users",
|
|
26436
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26437
|
-
safety: "update",
|
|
26438
|
-
destructive: false,
|
|
26439
|
-
cli: {
|
|
26440
|
-
group: ["users", "settings"],
|
|
26441
|
-
command: "email-unsubscribe",
|
|
26442
|
-
interactive: "default"
|
|
26443
|
-
},
|
|
26444
|
-
mcp: { entityTool: "users" },
|
|
26445
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26446
|
-
execute: (input, { client }) => {
|
|
26447
|
-
const data = input;
|
|
26448
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26449
|
-
client.httpClient,
|
|
26450
|
-
data.token,
|
|
26451
|
-
void 0
|
|
26452
|
-
]));
|
|
26453
|
-
}
|
|
26454
|
-
},
|
|
26455
|
-
{
|
|
26456
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26457
|
-
family: "focus",
|
|
26458
|
-
resource: "users",
|
|
26459
|
-
action: "settings-email-unsubscribe-page",
|
|
26460
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26461
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26462
|
-
safety: "read",
|
|
26463
|
-
destructive: false,
|
|
26464
|
-
cli: {
|
|
26465
|
-
group: ["users", "settings"],
|
|
26466
|
-
command: "email-unsubscribe-page",
|
|
26467
|
-
interactive: "available"
|
|
26468
|
-
},
|
|
26469
|
-
mcp: { entityTool: "users" },
|
|
26470
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26471
|
-
execute: (input, { client }) => {
|
|
26472
|
-
const data = input;
|
|
26473
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26474
|
-
client.httpClient,
|
|
26475
|
-
data.token,
|
|
26476
|
-
void 0
|
|
26477
|
-
]));
|
|
26478
|
-
}
|
|
26479
|
-
},
|
|
26480
25840
|
{
|
|
26481
25841
|
id: "focus.users.settings-list",
|
|
26482
25842
|
family: "focus",
|
|
@@ -26538,9 +25898,6 @@ const generatedFocusOperations = [
|
|
|
26538
25898
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26539
25899
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26540
25900
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26541
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26542
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26543
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26544
25901
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26545
25902
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26546
25903
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28603,4 +27960,4 @@ Common commands:
|
|
|
28603
27960
|
//#endregion
|
|
28604
27961
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28605
27962
|
|
|
28606
|
-
//# sourceMappingURL=program-
|
|
27963
|
+
//# sourceMappingURL=program-B6QI55oV.js.map
|