@togglhq/cli 1.11.63 → 1.11.65
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-BGUyOeun.js → program-C5GYCsU3.js} +117 -762
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -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,19 +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_include_unassigned,
|
|
10125
|
-
task_name,
|
|
10126
10108
|
page,
|
|
10127
10109
|
per_page,
|
|
10128
10110
|
order_by,
|
|
@@ -10372,7 +10354,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10372
10354
|
}
|
|
10373
10355
|
//#endregion
|
|
10374
10356
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10375
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
10357
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10376
10358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10377
10359
|
signal,
|
|
10378
10360
|
searchParams: buildSearchParams$2({
|
|
@@ -10423,11 +10405,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10423
10405
|
include_assignees,
|
|
10424
10406
|
include_parent_matches,
|
|
10425
10407
|
disable_aggregations,
|
|
10426
|
-
cf_filter
|
|
10427
|
-
recurring_occurrences_after,
|
|
10428
|
-
max_recurring_occurrences_after,
|
|
10429
|
-
recurring_task_read,
|
|
10430
|
-
include_projected_occurrences
|
|
10408
|
+
cf_filter
|
|
10431
10409
|
})
|
|
10432
10410
|
}).json();
|
|
10433
10411
|
}
|
|
@@ -10502,17 +10480,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10502
10480
|
})
|
|
10503
10481
|
}).json();
|
|
10504
10482
|
}
|
|
10505
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10483
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10506
10484
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10507
10485
|
signal,
|
|
10508
10486
|
searchParams: buildSearchParams$2({
|
|
10509
10487
|
date_from,
|
|
10510
|
-
date_to
|
|
10511
|
-
skip_provider_refresh
|
|
10488
|
+
date_to
|
|
10512
10489
|
})
|
|
10513
10490
|
}).json();
|
|
10514
10491
|
}
|
|
10515
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees
|
|
10492
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10516
10493
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10517
10494
|
signal,
|
|
10518
10495
|
searchParams: buildSearchParams$2({
|
|
@@ -10528,15 +10505,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10528
10505
|
assignee_team_id,
|
|
10529
10506
|
assignee_user_id,
|
|
10530
10507
|
tag_id,
|
|
10531
|
-
include_assignees
|
|
10532
|
-
recurring_occurrences_after,
|
|
10533
|
-
max_recurring_occurrences_after,
|
|
10534
|
-
recurring_task_read,
|
|
10535
|
-
include_projected_occurrences
|
|
10508
|
+
include_assignees
|
|
10536
10509
|
})
|
|
10537
10510
|
}).json();
|
|
10538
10511
|
}
|
|
10539
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
10512
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10540
10513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10541
10514
|
signal,
|
|
10542
10515
|
searchParams: buildSearchParams$2({
|
|
@@ -10581,11 +10554,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10581
10554
|
recurring_task_ids,
|
|
10582
10555
|
client_id,
|
|
10583
10556
|
include_assignees,
|
|
10584
|
-
cf_filter
|
|
10585
|
-
recurring_occurrences_after,
|
|
10586
|
-
max_recurring_occurrences_after,
|
|
10587
|
-
recurring_task_read,
|
|
10588
|
-
include_projected_occurrences
|
|
10557
|
+
cf_filter
|
|
10589
10558
|
})
|
|
10590
10559
|
}).json();
|
|
10591
10560
|
}
|
|
@@ -10640,12 +10609,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10640
10609
|
})
|
|
10641
10610
|
}).json();
|
|
10642
10611
|
}
|
|
10643
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10644
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10645
|
-
signal,
|
|
10646
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10647
|
-
}).json();
|
|
10648
|
-
}
|
|
10649
10612
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10650
10613
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10651
10614
|
signal,
|
|
@@ -10782,24 +10745,16 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10782
10745
|
})
|
|
10783
10746
|
}).json();
|
|
10784
10747
|
}
|
|
10785
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10748
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10786
10749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10787
10750
|
signal,
|
|
10788
|
-
json: data
|
|
10789
|
-
searchParams: buildSearchParams$2({
|
|
10790
|
-
from_recurring_task_id,
|
|
10791
|
-
return_occurrence
|
|
10792
|
-
})
|
|
10751
|
+
json: data
|
|
10793
10752
|
}).json();
|
|
10794
10753
|
}
|
|
10795
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10754
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10796
10755
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10797
10756
|
signal,
|
|
10798
|
-
json: data
|
|
10799
|
-
searchParams: buildSearchParams$2({
|
|
10800
|
-
from_recurring_task_id,
|
|
10801
|
-
return_occurrence
|
|
10802
|
-
})
|
|
10757
|
+
json: data
|
|
10803
10758
|
}).json();
|
|
10804
10759
|
}
|
|
10805
10760
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10850,7 +10805,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10850
10805
|
json: data
|
|
10851
10806
|
}).json();
|
|
10852
10807
|
}
|
|
10853
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10808
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10854
10809
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10855
10810
|
signal,
|
|
10856
10811
|
searchParams: buildSearchParams$2({
|
|
@@ -10858,7 +10813,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10858
10813
|
date_to,
|
|
10859
10814
|
task_id,
|
|
10860
10815
|
status_id,
|
|
10861
|
-
project_id,
|
|
10862
10816
|
type,
|
|
10863
10817
|
order_by,
|
|
10864
10818
|
archived,
|
|
@@ -10882,33 +10836,19 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10882
10836
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10883
10837
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10884
10838
|
}
|
|
10885
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10839
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10886
10840
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10887
10841
|
signal,
|
|
10888
|
-
json: data
|
|
10889
|
-
searchParams: buildSearchParams$2({
|
|
10890
|
-
from_recurring_task_id,
|
|
10891
|
-
return_occurrence
|
|
10892
|
-
})
|
|
10842
|
+
json: data
|
|
10893
10843
|
}).json();
|
|
10894
10844
|
}
|
|
10895
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10896
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10897
|
-
signal,
|
|
10898
|
-
searchParams: buildSearchParams$2({
|
|
10899
|
-
from_recurring_task_id,
|
|
10900
|
-
return_occurrence
|
|
10901
|
-
})
|
|
10902
|
-
}).json();
|
|
10845
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10846
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10903
10847
|
}
|
|
10904
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10848
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10905
10849
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10906
10850
|
signal,
|
|
10907
|
-
json: data
|
|
10908
|
-
searchParams: buildSearchParams$2({
|
|
10909
|
-
from_recurring_task_id,
|
|
10910
|
-
return_occurrence
|
|
10911
|
-
})
|
|
10851
|
+
json: data
|
|
10912
10852
|
}).json();
|
|
10913
10853
|
}
|
|
10914
10854
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -11023,7 +10963,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11023
10963
|
]))
|
|
11024
10964
|
});
|
|
11025
10965
|
//#endregion
|
|
11026
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10966
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11027
10967
|
async function getInvitations(httpClient, signal) {
|
|
11028
10968
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11029
10969
|
}
|
|
@@ -11040,7 +10980,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11040
10980
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11041
10981
|
}
|
|
11042
10982
|
//#endregion
|
|
11043
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10983
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11044
10984
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11045
10985
|
const searchParams = new URLSearchParams();
|
|
11046
10986
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11052,7 +10992,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11052
10992
|
return searchParams;
|
|
11053
10993
|
}
|
|
11054
10994
|
//#endregion
|
|
11055
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10995
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11056
10996
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11057
10997
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11058
10998
|
}
|
|
@@ -11066,7 +11006,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11066
11006
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11067
11007
|
}
|
|
11068
11008
|
//#endregion
|
|
11069
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11009
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11070
11010
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11071
11011
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11072
11012
|
}
|
|
@@ -11086,7 +11026,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11086
11026
|
});
|
|
11087
11027
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11088
11028
|
//#endregion
|
|
11089
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11029
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11090
11030
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11091
11031
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11092
11032
|
signal,
|
|
@@ -11097,12 +11037,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11097
11037
|
})).json();
|
|
11098
11038
|
}
|
|
11099
11039
|
//#endregion
|
|
11100
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11040
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11101
11041
|
async function getStatus(httpClient, signal) {
|
|
11102
11042
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11103
11043
|
}
|
|
11104
11044
|
//#endregion
|
|
11105
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11045
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11106
11046
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11107
11047
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11108
11048
|
signal,
|
|
@@ -11130,7 +11070,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11130
11070
|
return response.json();
|
|
11131
11071
|
}
|
|
11132
11072
|
//#endregion
|
|
11133
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11073
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.63_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_3085063bba60f639e8aa7f3285add2c2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11134
11074
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11135
11075
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11136
11076
|
}
|
|
@@ -14778,15 +14718,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14778
14718
|
}
|
|
14779
14719
|
//#endregion
|
|
14780
14720
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14781
|
-
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) {
|
|
14782
14722
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14783
14723
|
signal,
|
|
14784
14724
|
searchParams: buildSearchParams$2({
|
|
14785
14725
|
workspace_id,
|
|
14786
14726
|
entity_type,
|
|
14787
14727
|
entity_id,
|
|
14788
|
-
project_id,
|
|
14789
|
-
custom_field_id,
|
|
14790
14728
|
action,
|
|
14791
14729
|
user_id,
|
|
14792
14730
|
page_size,
|
|
@@ -14795,14 +14733,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14795
14733
|
})
|
|
14796
14734
|
}).json();
|
|
14797
14735
|
}
|
|
14798
|
-
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) {
|
|
14799
14737
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14800
14738
|
signal,
|
|
14801
14739
|
searchParams: buildSearchParams$2({
|
|
14802
14740
|
entity_type,
|
|
14803
14741
|
entity_id,
|
|
14804
|
-
project_id,
|
|
14805
|
-
custom_field_id,
|
|
14806
14742
|
action,
|
|
14807
14743
|
user_id,
|
|
14808
14744
|
page_size,
|
|
@@ -14955,14 +14891,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14955
14891
|
}
|
|
14956
14892
|
//#endregion
|
|
14957
14893
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14958
|
-
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) {
|
|
14959
14895
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14960
14896
|
signal,
|
|
14961
14897
|
searchParams: buildSearchParams$2({
|
|
14898
|
+
user_id,
|
|
14962
14899
|
start_date,
|
|
14963
14900
|
end_date,
|
|
14964
|
-
user_id,
|
|
14965
|
-
team_id,
|
|
14966
14901
|
private: private_,
|
|
14967
14902
|
task_source,
|
|
14968
14903
|
unit,
|
|
@@ -15022,15 +14957,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
15022
14957
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15023
14958
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
15024
14959
|
}
|
|
15025
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
15026
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
15027
|
-
}
|
|
15028
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
15029
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
15030
|
-
signal,
|
|
15031
|
-
json: data
|
|
15032
|
-
}).json();
|
|
15033
|
-
}
|
|
15034
14960
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
15035
14961
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
15036
14962
|
signal,
|
|
@@ -15294,7 +15220,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15294
15220
|
}
|
|
15295
15221
|
//#endregion
|
|
15296
15222
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15297
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts,
|
|
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) {
|
|
15298
15224
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15299
15225
|
signal,
|
|
15300
15226
|
searchParams: buildSearchParams$2({
|
|
@@ -15320,7 +15246,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15320
15246
|
user_id,
|
|
15321
15247
|
only_me,
|
|
15322
15248
|
include_drafts,
|
|
15323
|
-
include_recurring_series,
|
|
15324
15249
|
cf_filter
|
|
15325
15250
|
})
|
|
15326
15251
|
}).json();
|
|
@@ -15339,6 +15264,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15339
15264
|
json: data
|
|
15340
15265
|
}).json();
|
|
15341
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
|
+
}
|
|
15342
15270
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15343
15271
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15344
15272
|
}
|
|
@@ -15364,37 +15292,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15364
15292
|
}).json();
|
|
15365
15293
|
}
|
|
15366
15294
|
//#endregion
|
|
15367
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15368
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15369
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15370
|
-
}
|
|
15371
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15372
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15373
|
-
signal,
|
|
15374
|
-
json: data,
|
|
15375
|
-
searchParams: buildSearchParams$2({
|
|
15376
|
-
response_format,
|
|
15377
|
-
include_dicts
|
|
15378
|
-
})
|
|
15379
|
-
}).json();
|
|
15380
|
-
}
|
|
15381
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15382
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15383
|
-
signal,
|
|
15384
|
-
json: data,
|
|
15385
|
-
searchParams: buildSearchParams$2({
|
|
15386
|
-
response_format,
|
|
15387
|
-
include_dicts
|
|
15388
|
-
})
|
|
15389
|
-
}).json();
|
|
15390
|
-
}
|
|
15391
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15392
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15393
|
-
signal,
|
|
15394
|
-
json: data
|
|
15395
|
-
}).json();
|
|
15396
|
-
}
|
|
15397
|
-
//#endregion
|
|
15398
15295
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15399
15296
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15400
15297
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15556,7 +15453,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15556
15453
|
}
|
|
15557
15454
|
//#endregion
|
|
15558
15455
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15559
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15456
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15560
15457
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15561
15458
|
signal,
|
|
15562
15459
|
searchParams: buildSearchParams$2({
|
|
@@ -15564,7 +15461,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15564
15461
|
per_group,
|
|
15565
15462
|
assignee_user_id,
|
|
15566
15463
|
assignee_team_id,
|
|
15567
|
-
include_unassigned,
|
|
15568
15464
|
project_id,
|
|
15569
15465
|
task_id,
|
|
15570
15466
|
include_drafts,
|
|
@@ -15609,9 +15505,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15609
15505
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15610
15506
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15611
15507
|
}
|
|
15612
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15613
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15614
|
-
}
|
|
15615
15508
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15616
15509
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15617
15510
|
signal,
|
|
@@ -15621,21 +15514,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15621
15514
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15622
15515
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15623
15516
|
}
|
|
15624
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15625
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15626
|
-
signal,
|
|
15627
|
-
json: data
|
|
15628
|
-
}).json();
|
|
15629
|
-
}
|
|
15630
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15631
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15632
|
-
}
|
|
15633
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15634
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15635
|
-
signal,
|
|
15636
|
-
json: data
|
|
15637
|
-
}).json();
|
|
15638
|
-
}
|
|
15639
15517
|
//#endregion
|
|
15640
15518
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15641
15519
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15692,10 +15570,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15692
15570
|
}
|
|
15693
15571
|
//#endregion
|
|
15694
15572
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15695
|
-
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) {
|
|
15696
15574
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15697
15575
|
signal,
|
|
15698
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15699
15576
|
searchParams: buildSearchParams$2({
|
|
15700
15577
|
project_id,
|
|
15701
15578
|
source,
|
|
@@ -15724,18 +15601,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15724
15601
|
min_days,
|
|
15725
15602
|
include_drafts,
|
|
15726
15603
|
cf_filter,
|
|
15727
|
-
user_cf_filter
|
|
15728
|
-
recurring_occurrences_after,
|
|
15729
|
-
max_recurring_occurrences_after,
|
|
15730
|
-
recurring_task_read,
|
|
15731
|
-
include_projected_occurrences
|
|
15604
|
+
user_cf_filter
|
|
15732
15605
|
})
|
|
15733
15606
|
}).json();
|
|
15734
15607
|
}
|
|
15735
|
-
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) {
|
|
15736
15609
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15737
15610
|
signal,
|
|
15738
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15739
15611
|
searchParams: buildSearchParams$2({
|
|
15740
15612
|
team_id,
|
|
15741
15613
|
project_id,
|
|
@@ -15764,18 +15636,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15764
15636
|
min_days,
|
|
15765
15637
|
include_drafts,
|
|
15766
15638
|
cf_filter,
|
|
15767
|
-
user_cf_filter
|
|
15768
|
-
recurring_occurrences_after,
|
|
15769
|
-
max_recurring_occurrences_after,
|
|
15770
|
-
recurring_task_read,
|
|
15771
|
-
include_projected_occurrences
|
|
15639
|
+
user_cf_filter
|
|
15772
15640
|
})
|
|
15773
15641
|
}).json();
|
|
15774
15642
|
}
|
|
15775
|
-
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) {
|
|
15776
15644
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15777
15645
|
signal,
|
|
15778
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15779
15646
|
searchParams: buildSearchParams$2({
|
|
15780
15647
|
source,
|
|
15781
15648
|
priority,
|
|
@@ -15805,10 +15672,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15805
15672
|
include_drafts,
|
|
15806
15673
|
cf_filter,
|
|
15807
15674
|
user_cf_filter,
|
|
15808
|
-
recurring_occurrences_after,
|
|
15809
|
-
max_recurring_occurrences_after,
|
|
15810
|
-
recurring_task_read,
|
|
15811
|
-
include_projected_occurrences,
|
|
15812
15675
|
page,
|
|
15813
15676
|
per_page,
|
|
15814
15677
|
order_by
|
|
@@ -16000,19 +15863,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
16000
15863
|
json: data
|
|
16001
15864
|
}).json();
|
|
16002
15865
|
}
|
|
16003
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
16004
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
16005
|
-
signal,
|
|
16006
|
-
searchParams: buildSearchParams$2({
|
|
16007
|
-
date_from,
|
|
16008
|
-
date_to,
|
|
16009
|
-
setup_id,
|
|
16010
|
-
user_account_ids,
|
|
16011
|
-
approver_user_account_ids,
|
|
16012
|
-
team_ids
|
|
16013
|
-
})
|
|
16014
|
-
}).json();
|
|
16015
|
-
}
|
|
16016
15866
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
16017
15867
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
16018
15868
|
}
|
|
@@ -16056,21 +15906,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
16056
15906
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
16057
15907
|
}
|
|
16058
15908
|
//#endregion
|
|
16059
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
16060
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
16061
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
16062
|
-
signal,
|
|
16063
|
-
json: data
|
|
16064
|
-
}).json();
|
|
16065
|
-
}
|
|
16066
|
-
//#endregion
|
|
16067
15909
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
16068
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
16069
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
16070
|
-
}
|
|
16071
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
16072
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
16073
|
-
}
|
|
16074
15910
|
async function getUserSettings(httpClient, signal) {
|
|
16075
15911
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
16076
15912
|
}
|
|
@@ -16310,7 +16146,6 @@ const generatedFocusOperations = [
|
|
|
16310
16146
|
mcp: { entityTool: "audit-log" },
|
|
16311
16147
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16312
16148
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16313
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16314
16149
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16315
16150
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16316
16151
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16318,7 +16153,6 @@ const generatedFocusOperations = [
|
|
|
16318
16153
|
from: /* @__PURE__ */ string$1(),
|
|
16319
16154
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16320
16155
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16321
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16322
16156
|
to: /* @__PURE__ */ string$1(),
|
|
16323
16157
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16324
16158
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16352,7 +16186,6 @@ const generatedFocusOperations = [
|
|
|
16352
16186
|
mcp: { entityTool: "audit-log" },
|
|
16353
16187
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16354
16188
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16355
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16356
16189
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16357
16190
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16358
16191
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16360,7 +16193,6 @@ const generatedFocusOperations = [
|
|
|
16360
16193
|
from: /* @__PURE__ */ string$1(),
|
|
16361
16194
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16362
16195
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16363
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16364
16196
|
to: /* @__PURE__ */ string$1(),
|
|
16365
16197
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16366
16198
|
}),
|
|
@@ -16400,7 +16232,6 @@ const generatedFocusOperations = [
|
|
|
16400
16232
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16401
16233
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16402
16234
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16403
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16404
16235
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16405
16236
|
user_id: /* @__PURE__ */ number$2()
|
|
16406
16237
|
}),
|
|
@@ -16650,6 +16481,8 @@ const generatedFocusOperations = [
|
|
|
16650
16481
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16651
16482
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16652
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()),
|
|
16653
16486
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16654
16487
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16655
16488
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16683,6 +16516,8 @@ const generatedFocusOperations = [
|
|
|
16683
16516
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16684
16517
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16685
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()),
|
|
16686
16521
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16687
16522
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16688
16523
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16837,33 +16672,6 @@ const generatedFocusOperations = [
|
|
|
16837
16672
|
]));
|
|
16838
16673
|
}
|
|
16839
16674
|
},
|
|
16840
|
-
{
|
|
16841
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16842
|
-
family: "focus",
|
|
16843
|
-
resource: "custom-fields",
|
|
16844
|
-
action: "get-allowed-users",
|
|
16845
|
-
title: "Get Allowed Users Custom Fields",
|
|
16846
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16847
|
-
safety: "read",
|
|
16848
|
-
destructive: false,
|
|
16849
|
-
cli: {
|
|
16850
|
-
group: ["custom-fields"],
|
|
16851
|
-
command: "get-allowed-users",
|
|
16852
|
-
interactive: "available"
|
|
16853
|
-
},
|
|
16854
|
-
mcp: { entityTool: "custom-fields" },
|
|
16855
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16856
|
-
execute: (input, { client }) => {
|
|
16857
|
-
const data = input;
|
|
16858
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16859
|
-
client.httpClient,
|
|
16860
|
-
client.organizationId,
|
|
16861
|
-
client.workspaceIdNumber,
|
|
16862
|
-
data.custom_field_id,
|
|
16863
|
-
void 0
|
|
16864
|
-
]));
|
|
16865
|
-
}
|
|
16866
|
-
},
|
|
16867
16675
|
{
|
|
16868
16676
|
id: "focus.custom-fields.list",
|
|
16869
16677
|
family: "focus",
|
|
@@ -17033,37 +16841,6 @@ const generatedFocusOperations = [
|
|
|
17033
16841
|
]));
|
|
17034
16842
|
}
|
|
17035
16843
|
},
|
|
17036
|
-
{
|
|
17037
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
17038
|
-
family: "focus",
|
|
17039
|
-
resource: "custom-fields",
|
|
17040
|
-
action: "replace-custom-field-allowed-users",
|
|
17041
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
17042
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
17043
|
-
safety: "update",
|
|
17044
|
-
destructive: false,
|
|
17045
|
-
cli: {
|
|
17046
|
-
group: ["custom-fields"],
|
|
17047
|
-
command: "replace-custom-field-allowed-users",
|
|
17048
|
-
interactive: "default"
|
|
17049
|
-
},
|
|
17050
|
-
mcp: { entityTool: "custom-fields" },
|
|
17051
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
17052
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
17053
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
17054
|
-
}),
|
|
17055
|
-
execute: (input, { client }) => {
|
|
17056
|
-
const data = input;
|
|
17057
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
17058
|
-
client.httpClient,
|
|
17059
|
-
client.organizationId,
|
|
17060
|
-
client.workspaceIdNumber,
|
|
17061
|
-
data.custom_field_id,
|
|
17062
|
-
data.payload ?? data.data ?? data,
|
|
17063
|
-
void 0
|
|
17064
|
-
]));
|
|
17065
|
-
}
|
|
17066
|
-
},
|
|
17067
16844
|
{
|
|
17068
16845
|
id: "focus.custom-fields.update",
|
|
17069
16846
|
family: "focus",
|
|
@@ -17210,7 +16987,13 @@ const generatedFocusOperations = [
|
|
|
17210
16987
|
},
|
|
17211
16988
|
mcp: { entityTool: "goals" },
|
|
17212
16989
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16990
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17213
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()),
|
|
17214
16997
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17215
16998
|
"daily",
|
|
17216
16999
|
"weekly",
|
|
@@ -17218,18 +17001,12 @@ const generatedFocusOperations = [
|
|
|
17218
17001
|
"monthly"
|
|
17219
17002
|
]),
|
|
17220
17003
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17004
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17221
17005
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17222
|
-
|
|
17006
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17007
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17223
17008
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17224
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17225
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17226
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17227
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17228
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17229
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17230
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17231
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17232
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17009
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17233
17010
|
}) }),
|
|
17234
17011
|
execute: (input, { client }) => {
|
|
17235
17012
|
const data = input;
|
|
@@ -17335,6 +17112,13 @@ const generatedFocusOperations = [
|
|
|
17335
17112
|
},
|
|
17336
17113
|
mcp: { entityTool: "goals" },
|
|
17337
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()),
|
|
17338
17122
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17339
17123
|
"daily",
|
|
17340
17124
|
"weekly",
|
|
@@ -17342,19 +17126,12 @@ const generatedFocusOperations = [
|
|
|
17342
17126
|
"monthly"
|
|
17343
17127
|
]),
|
|
17344
17128
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17345
|
-
|
|
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()),
|
|
17346
17133
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17347
|
-
|
|
17348
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17349
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17350
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17351
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17352
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17353
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17354
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17355
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17356
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17357
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17134
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17358
17135
|
}) }),
|
|
17359
17136
|
execute: (input, { client }) => {
|
|
17360
17137
|
const data = input;
|
|
@@ -18321,17 +18098,9 @@ const generatedFocusOperations = [
|
|
|
18321
18098
|
mcp: { entityTool: "projects" },
|
|
18322
18099
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18323
18100
|
payload: /* @__PURE__ */ looseObject({
|
|
18324
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18325
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18326
18101
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18327
18102
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18328
18103
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18329
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18330
|
-
"expire",
|
|
18331
|
-
"carry_all",
|
|
18332
|
-
"carry_over"
|
|
18333
|
-
])),
|
|
18334
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18335
18104
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18336
18105
|
}),
|
|
18337
18106
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18775,7 +18544,6 @@ const generatedFocusOperations = [
|
|
|
18775
18544
|
group: /* @__PURE__ */ string$1(),
|
|
18776
18545
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18777
18546
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18778
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18779
18547
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18780
18548
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18781
18549
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18878,6 +18646,29 @@ const generatedFocusOperations = [
|
|
|
18878
18646
|
]));
|
|
18879
18647
|
}
|
|
18880
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
|
+
},
|
|
18881
18672
|
{
|
|
18882
18673
|
id: "focus.projects.margin-targets-get",
|
|
18883
18674
|
family: "focus",
|
|
@@ -19322,130 +19113,6 @@ const generatedFocusOperations = [
|
|
|
19322
19113
|
]));
|
|
19323
19114
|
}
|
|
19324
19115
|
},
|
|
19325
|
-
{
|
|
19326
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19327
|
-
family: "focus",
|
|
19328
|
-
resource: "publicsharedreports",
|
|
19329
|
-
action: "open-public-shared-report",
|
|
19330
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19331
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19332
|
-
safety: "read",
|
|
19333
|
-
destructive: false,
|
|
19334
|
-
cli: {
|
|
19335
|
-
group: ["publicsharedreports"],
|
|
19336
|
-
command: "open-public-shared-report",
|
|
19337
|
-
interactive: "available"
|
|
19338
|
-
},
|
|
19339
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19340
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19341
|
-
execute: (input, { client }) => {
|
|
19342
|
-
const data = input;
|
|
19343
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19344
|
-
client.httpClient,
|
|
19345
|
-
data.token,
|
|
19346
|
-
void 0
|
|
19347
|
-
]));
|
|
19348
|
-
}
|
|
19349
|
-
},
|
|
19350
|
-
{
|
|
19351
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19352
|
-
family: "focus",
|
|
19353
|
-
resource: "publicsharedreports",
|
|
19354
|
-
action: "profitability-public-shared-report",
|
|
19355
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19356
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19357
|
-
safety: "update",
|
|
19358
|
-
destructive: false,
|
|
19359
|
-
cli: {
|
|
19360
|
-
group: ["publicsharedreports"],
|
|
19361
|
-
command: "profitability-public-shared-report",
|
|
19362
|
-
interactive: "default"
|
|
19363
|
-
},
|
|
19364
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19365
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19366
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19367
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19368
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19369
|
-
token: /* @__PURE__ */ string$1()
|
|
19370
|
-
}),
|
|
19371
|
-
execute: (input, { client }) => {
|
|
19372
|
-
const data = input;
|
|
19373
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19374
|
-
client.httpClient,
|
|
19375
|
-
data.token,
|
|
19376
|
-
data.payload ?? data.data ?? data,
|
|
19377
|
-
data.response_format,
|
|
19378
|
-
data.include_dicts,
|
|
19379
|
-
void 0
|
|
19380
|
-
]));
|
|
19381
|
-
}
|
|
19382
|
-
},
|
|
19383
|
-
{
|
|
19384
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19385
|
-
family: "focus",
|
|
19386
|
-
resource: "publicsharedreports",
|
|
19387
|
-
action: "query-public-shared-report",
|
|
19388
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19389
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19390
|
-
safety: "update",
|
|
19391
|
-
destructive: false,
|
|
19392
|
-
cli: {
|
|
19393
|
-
group: ["publicsharedreports"],
|
|
19394
|
-
command: "query-public-shared-report",
|
|
19395
|
-
interactive: "default"
|
|
19396
|
-
},
|
|
19397
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19398
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19399
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19400
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19401
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19402
|
-
"json_row",
|
|
19403
|
-
"table",
|
|
19404
|
-
"hierarchical"
|
|
19405
|
-
])),
|
|
19406
|
-
token: /* @__PURE__ */ string$1()
|
|
19407
|
-
}),
|
|
19408
|
-
execute: (input, { client }) => {
|
|
19409
|
-
const data = input;
|
|
19410
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19411
|
-
client.httpClient,
|
|
19412
|
-
data.token,
|
|
19413
|
-
data.payload ?? data.data ?? data,
|
|
19414
|
-
data.response_format,
|
|
19415
|
-
data.include_dicts,
|
|
19416
|
-
void 0
|
|
19417
|
-
]));
|
|
19418
|
-
}
|
|
19419
|
-
},
|
|
19420
|
-
{
|
|
19421
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19422
|
-
family: "focus",
|
|
19423
|
-
resource: "publicsharedreports",
|
|
19424
|
-
action: "workload-public-shared-report",
|
|
19425
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19426
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19427
|
-
safety: "update",
|
|
19428
|
-
destructive: false,
|
|
19429
|
-
cli: {
|
|
19430
|
-
group: ["publicsharedreports"],
|
|
19431
|
-
command: "workload-public-shared-report",
|
|
19432
|
-
interactive: "default"
|
|
19433
|
-
},
|
|
19434
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19435
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19436
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19437
|
-
token: /* @__PURE__ */ string$1()
|
|
19438
|
-
}),
|
|
19439
|
-
execute: (input, { client }) => {
|
|
19440
|
-
const data = input;
|
|
19441
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19442
|
-
client.httpClient,
|
|
19443
|
-
data.token,
|
|
19444
|
-
data.payload ?? data.data ?? data,
|
|
19445
|
-
void 0
|
|
19446
|
-
]));
|
|
19447
|
-
}
|
|
19448
|
-
},
|
|
19449
19116
|
{
|
|
19450
19117
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19451
19118
|
family: "focus",
|
|
@@ -21404,7 +21071,7 @@ const generatedFocusOperations = [
|
|
|
21404
21071
|
cli: {
|
|
21405
21072
|
group: ["reportschedules"],
|
|
21406
21073
|
command: "upsert-saved-view-schedule",
|
|
21407
|
-
interactive: "
|
|
21074
|
+
interactive: "default"
|
|
21408
21075
|
},
|
|
21409
21076
|
mcp: { entityTool: "reportschedules" },
|
|
21410
21077
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21415,10 +21082,8 @@ const generatedFocusOperations = [
|
|
|
21415
21082
|
"weekly",
|
|
21416
21083
|
"monthly"
|
|
21417
21084
|
]),
|
|
21418
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21419
21085
|
time: /* @__PURE__ */ string$1(),
|
|
21420
21086
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21421
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21422
21087
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21423
21088
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21424
21089
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21821,36 +21486,6 @@ const generatedFocusOperations = [
|
|
|
21821
21486
|
void 0
|
|
21822
21487
|
]))
|
|
21823
21488
|
},
|
|
21824
|
-
{
|
|
21825
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21826
|
-
family: "focus",
|
|
21827
|
-
resource: "sharedreports",
|
|
21828
|
-
action: "mint-shared-report-link",
|
|
21829
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21830
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21831
|
-
safety: "update",
|
|
21832
|
-
destructive: false,
|
|
21833
|
-
cli: {
|
|
21834
|
-
group: ["sharedreports"],
|
|
21835
|
-
command: "mint-shared-report-link",
|
|
21836
|
-
interactive: "default"
|
|
21837
|
-
},
|
|
21838
|
-
mcp: { entityTool: "sharedreports" },
|
|
21839
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21840
|
-
id: /* @__PURE__ */ number$2(),
|
|
21841
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21842
|
-
}),
|
|
21843
|
-
execute: (input, { client }) => {
|
|
21844
|
-
const data = input;
|
|
21845
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21846
|
-
client.httpClient,
|
|
21847
|
-
client.workspaceIdNumber,
|
|
21848
|
-
data.id,
|
|
21849
|
-
data.payload ?? data.data ?? data,
|
|
21850
|
-
void 0
|
|
21851
|
-
]));
|
|
21852
|
-
}
|
|
21853
|
-
},
|
|
21854
21489
|
{
|
|
21855
21490
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21856
21491
|
family: "focus",
|
|
@@ -21881,62 +21516,6 @@ const generatedFocusOperations = [
|
|
|
21881
21516
|
]));
|
|
21882
21517
|
}
|
|
21883
21518
|
},
|
|
21884
|
-
{
|
|
21885
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21886
|
-
family: "focus",
|
|
21887
|
-
resource: "sharedreports",
|
|
21888
|
-
action: "revoke-shared-report-link",
|
|
21889
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
21890
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
21891
|
-
safety: "delete",
|
|
21892
|
-
destructive: true,
|
|
21893
|
-
cli: {
|
|
21894
|
-
group: ["sharedreports"],
|
|
21895
|
-
command: "revoke-shared-report-link",
|
|
21896
|
-
interactive: "default"
|
|
21897
|
-
},
|
|
21898
|
-
mcp: { entityTool: "sharedreports" },
|
|
21899
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21900
|
-
execute: (input, { client }) => {
|
|
21901
|
-
const data = input;
|
|
21902
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21903
|
-
client.httpClient,
|
|
21904
|
-
client.workspaceIdNumber,
|
|
21905
|
-
data.id,
|
|
21906
|
-
void 0
|
|
21907
|
-
]));
|
|
21908
|
-
}
|
|
21909
|
-
},
|
|
21910
|
-
{
|
|
21911
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21912
|
-
family: "focus",
|
|
21913
|
-
resource: "sharedreports",
|
|
21914
|
-
action: "rotate-shared-report-link",
|
|
21915
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
21916
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
21917
|
-
safety: "update",
|
|
21918
|
-
destructive: false,
|
|
21919
|
-
cli: {
|
|
21920
|
-
group: ["sharedreports"],
|
|
21921
|
-
command: "rotate-shared-report-link",
|
|
21922
|
-
interactive: "default"
|
|
21923
|
-
},
|
|
21924
|
-
mcp: { entityTool: "sharedreports" },
|
|
21925
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21926
|
-
id: /* @__PURE__ */ number$2(),
|
|
21927
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21928
|
-
}),
|
|
21929
|
-
execute: (input, { client }) => {
|
|
21930
|
-
const data = input;
|
|
21931
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21932
|
-
client.httpClient,
|
|
21933
|
-
client.workspaceIdNumber,
|
|
21934
|
-
data.id,
|
|
21935
|
-
data.payload ?? data.data ?? data,
|
|
21936
|
-
void 0
|
|
21937
|
-
]));
|
|
21938
|
-
}
|
|
21939
|
-
},
|
|
21940
21519
|
{
|
|
21941
21520
|
id: "focus.sharedreports.share-saved-view",
|
|
21942
21521
|
family: "focus",
|
|
@@ -22011,32 +21590,6 @@ const generatedFocusOperations = [
|
|
|
22011
21590
|
]));
|
|
22012
21591
|
}
|
|
22013
21592
|
},
|
|
22014
|
-
{
|
|
22015
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
22016
|
-
family: "focus",
|
|
22017
|
-
resource: "sharedreports",
|
|
22018
|
-
action: "unshare-shared-report",
|
|
22019
|
-
title: "Unshare Shared Report Sharedreports",
|
|
22020
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
22021
|
-
safety: "delete",
|
|
22022
|
-
destructive: true,
|
|
22023
|
-
cli: {
|
|
22024
|
-
group: ["sharedreports"],
|
|
22025
|
-
command: "unshare-shared-report",
|
|
22026
|
-
interactive: "default"
|
|
22027
|
-
},
|
|
22028
|
-
mcp: { entityTool: "sharedreports" },
|
|
22029
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22030
|
-
execute: (input, { client }) => {
|
|
22031
|
-
const data = input;
|
|
22032
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22033
|
-
client.httpClient,
|
|
22034
|
-
client.workspaceIdNumber,
|
|
22035
|
-
data.id,
|
|
22036
|
-
void 0
|
|
22037
|
-
]));
|
|
22038
|
-
}
|
|
22039
|
-
},
|
|
22040
21593
|
{
|
|
22041
21594
|
id: "focus.statuses.create-status",
|
|
22042
21595
|
family: "focus",
|
|
@@ -23079,37 +22632,6 @@ const generatedFocusOperations = [
|
|
|
23079
22632
|
return client.createTask(data);
|
|
23080
22633
|
}
|
|
23081
22634
|
},
|
|
23082
|
-
{
|
|
23083
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
23084
|
-
family: "focus",
|
|
23085
|
-
resource: "tasks",
|
|
23086
|
-
action: "create-recurring-occurrence",
|
|
23087
|
-
title: "Create Recurring Occurrence Tasks",
|
|
23088
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
23089
|
-
safety: "create",
|
|
23090
|
-
destructive: false,
|
|
23091
|
-
cli: {
|
|
23092
|
-
group: ["tasks"],
|
|
23093
|
-
command: "create-recurring-occurrence",
|
|
23094
|
-
interactive: "default"
|
|
23095
|
-
},
|
|
23096
|
-
mcp: { entityTool: "tasks" },
|
|
23097
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23098
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23099
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23100
|
-
}),
|
|
23101
|
-
execute: (input, { client }) => {
|
|
23102
|
-
const data = input;
|
|
23103
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23104
|
-
client.httpClient,
|
|
23105
|
-
client.organizationId,
|
|
23106
|
-
client.workspaceIdNumber,
|
|
23107
|
-
data.task_id,
|
|
23108
|
-
data.return_occurrence,
|
|
23109
|
-
void 0
|
|
23110
|
-
]));
|
|
23111
|
-
}
|
|
23112
|
-
},
|
|
23113
22635
|
{
|
|
23114
22636
|
id: "focus.tasks.delete",
|
|
23115
22637
|
family: "focus",
|
|
@@ -23357,13 +22879,9 @@ const generatedFocusOperations = [
|
|
|
23357
22879
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23358
22880
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23359
22881
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23360
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23361
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23362
22882
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23363
22883
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23364
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23365
22884
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23366
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23367
22885
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23368
22886
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23369
22887
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23415,9 +22933,7 @@ const generatedFocusOperations = [
|
|
|
23415
22933
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23416
22934
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23417
22935
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23418
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23419
22936
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23420
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23421
22937
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23422
22938
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23423
22939
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23426,9 +22942,7 @@ const generatedFocusOperations = [
|
|
|
23426
22942
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23427
22943
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23428
22944
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23429
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23430
22945
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23431
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23432
22946
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23433
22947
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23434
22948
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23566,10 +23080,8 @@ const generatedFocusOperations = [
|
|
|
23566
23080
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23567
23081
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23568
23082
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23569
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23570
23083
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23571
23084
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23572
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23573
23085
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23574
23086
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23575
23087
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23578,8 +23090,6 @@ const generatedFocusOperations = [
|
|
|
23578
23090
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23579
23091
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23580
23092
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23581
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23582
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23583
23093
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23584
23094
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23585
23095
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23588,8 +23098,7 @@ const generatedFocusOperations = [
|
|
|
23588
23098
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23589
23099
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23590
23100
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23591
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23592
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23101
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23593
23102
|
}),
|
|
23594
23103
|
execute: (input, { client }) => {
|
|
23595
23104
|
const data = input;
|
|
@@ -23631,17 +23140,13 @@ const generatedFocusOperations = [
|
|
|
23631
23140
|
group_id: /* @__PURE__ */ number$2(),
|
|
23632
23141
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23633
23142
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23634
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23635
23143
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23636
23144
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23637
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23638
23145
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23639
23146
|
name: /* @__PURE__ */ unknown$1(),
|
|
23640
23147
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23641
23148
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23642
23149
|
project_id: /* @__PURE__ */ number$2(),
|
|
23643
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23644
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23645
23150
|
source: /* @__PURE__ */ unknown$1(),
|
|
23646
23151
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23647
23152
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23650,8 +23155,7 @@ const generatedFocusOperations = [
|
|
|
23650
23155
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23651
23156
|
team_id: /* @__PURE__ */ number$2(),
|
|
23652
23157
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23653
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23654
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23158
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23655
23159
|
}),
|
|
23656
23160
|
execute: (input, { client }) => {
|
|
23657
23161
|
const data = input;
|
|
@@ -23692,17 +23196,13 @@ const generatedFocusOperations = [
|
|
|
23692
23196
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23693
23197
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23694
23198
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23695
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23696
23199
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23697
23200
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23698
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23699
23201
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23700
23202
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23701
23203
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23702
23204
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23703
23205
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23704
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23705
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23706
23206
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23707
23207
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23708
23208
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23711,8 +23211,7 @@ const generatedFocusOperations = [
|
|
|
23711
23211
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23712
23212
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23713
23213
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23714
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23715
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23214
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23716
23215
|
}),
|
|
23717
23216
|
execute: (input, { client }) => {
|
|
23718
23217
|
const data = input;
|
|
@@ -23983,8 +23482,7 @@ const generatedFocusOperations = [
|
|
|
23983
23482
|
mcp: { entityTool: "tasks" },
|
|
23984
23483
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23985
23484
|
date_from: /* @__PURE__ */ string$1(),
|
|
23986
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23987
|
-
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23485
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23988
23486
|
}),
|
|
23989
23487
|
execute: (input, { client }) => {
|
|
23990
23488
|
const data = input;
|
|
@@ -23994,7 +23492,6 @@ const generatedFocusOperations = [
|
|
|
23994
23492
|
client.workspaceIdNumber,
|
|
23995
23493
|
data.date_from,
|
|
23996
23494
|
data.date_to,
|
|
23997
|
-
data.skip_provider_refresh,
|
|
23998
23495
|
void 0
|
|
23999
23496
|
]));
|
|
24000
23497
|
}
|
|
@@ -24581,8 +24078,7 @@ const generatedFocusOperations = [
|
|
|
24581
24078
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24582
24079
|
"project",
|
|
24583
24080
|
"task",
|
|
24584
|
-
"description"
|
|
24585
|
-
"tags"
|
|
24081
|
+
"description"
|
|
24586
24082
|
]) })),
|
|
24587
24083
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24588
24084
|
}) }),
|
|
@@ -24612,7 +24108,6 @@ const generatedFocusOperations = [
|
|
|
24612
24108
|
},
|
|
24613
24109
|
mcp: { entityTool: "time-entries" },
|
|
24614
24110
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24615
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24616
24111
|
payload: /* @__PURE__ */ looseObject({
|
|
24617
24112
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24618
24113
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24623,13 +24118,11 @@ const generatedFocusOperations = [
|
|
|
24623
24118
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24624
24119
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24625
24120
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24626
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24627
24121
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24628
24122
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24629
24123
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24630
24124
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24631
24125
|
}),
|
|
24632
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24633
24126
|
task_id: /* @__PURE__ */ number$2()
|
|
24634
24127
|
}),
|
|
24635
24128
|
execute: (input, { client }) => {
|
|
@@ -24640,8 +24133,6 @@ const generatedFocusOperations = [
|
|
|
24640
24133
|
client.workspaceIdNumber,
|
|
24641
24134
|
data.task_id,
|
|
24642
24135
|
data.payload ?? data.data ?? data,
|
|
24643
|
-
data.from_recurring_task_id,
|
|
24644
|
-
data.return_occurrence,
|
|
24645
24136
|
void 0
|
|
24646
24137
|
]));
|
|
24647
24138
|
}
|
|
@@ -24661,26 +24152,21 @@ const generatedFocusOperations = [
|
|
|
24661
24152
|
interactive: "default"
|
|
24662
24153
|
},
|
|
24663
24154
|
mcp: { entityTool: "time-entries" },
|
|
24664
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24665
|
-
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
|
|
24677
|
-
|
|
24678
|
-
|
|
24679
|
-
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24680
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24681
|
-
}),
|
|
24682
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24683
|
-
}),
|
|
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
|
+
}) }),
|
|
24684
24170
|
execute: (input, { client }) => {
|
|
24685
24171
|
const data = input;
|
|
24686
24172
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24688,8 +24174,6 @@ const generatedFocusOperations = [
|
|
|
24688
24174
|
client.organizationId,
|
|
24689
24175
|
client.workspaceIdNumber,
|
|
24690
24176
|
data.payload ?? data.data ?? data,
|
|
24691
|
-
data.from_recurring_task_id,
|
|
24692
|
-
data.return_occurrence,
|
|
24693
24177
|
void 0
|
|
24694
24178
|
]));
|
|
24695
24179
|
}
|
|
@@ -24709,11 +24193,7 @@ const generatedFocusOperations = [
|
|
|
24709
24193
|
interactive: "default"
|
|
24710
24194
|
},
|
|
24711
24195
|
mcp: { entityTool: "time-entries" },
|
|
24712
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24713
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24714
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24715
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24716
|
-
}),
|
|
24196
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24717
24197
|
execute: (input, { client }) => {
|
|
24718
24198
|
const data = input;
|
|
24719
24199
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24721,8 +24201,6 @@ const generatedFocusOperations = [
|
|
|
24721
24201
|
client.organizationId,
|
|
24722
24202
|
client.workspaceIdNumber,
|
|
24723
24203
|
data.time_entry_id,
|
|
24724
|
-
data.from_recurring_task_id,
|
|
24725
|
-
data.return_occurrence,
|
|
24726
24204
|
void 0
|
|
24727
24205
|
]));
|
|
24728
24206
|
}
|
|
@@ -24803,7 +24281,6 @@ const generatedFocusOperations = [
|
|
|
24803
24281
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24804
24282
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24805
24283
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24806
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24807
24284
|
status_id: /* @__PURE__ */ number$2(),
|
|
24808
24285
|
task_id: /* @__PURE__ */ number$2(),
|
|
24809
24286
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24980,14 +24457,12 @@ const generatedFocusOperations = [
|
|
|
24980
24457
|
},
|
|
24981
24458
|
mcp: { entityTool: "time-entries" },
|
|
24982
24459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24983
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24984
24460
|
payload: /* @__PURE__ */ looseObject({
|
|
24985
24461
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24986
24462
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24987
24463
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24988
24464
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24989
24465
|
}),
|
|
24990
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24991
24466
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24992
24467
|
}),
|
|
24993
24468
|
execute: (input, { client }) => {
|
|
@@ -24998,8 +24473,6 @@ const generatedFocusOperations = [
|
|
|
24998
24473
|
client.workspaceIdNumber,
|
|
24999
24474
|
data.time_entry_id,
|
|
25000
24475
|
data.payload ?? data.data ?? data,
|
|
25001
|
-
data.from_recurring_task_id,
|
|
25002
|
-
data.return_occurrence,
|
|
25003
24476
|
void 0
|
|
25004
24477
|
]));
|
|
25005
24478
|
}
|
|
@@ -25257,7 +24730,6 @@ const generatedFocusOperations = [
|
|
|
25257
24730
|
},
|
|
25258
24731
|
mcp: { entityTool: "time-entries" },
|
|
25259
24732
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25260
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25261
24733
|
payload: /* @__PURE__ */ looseObject({
|
|
25262
24734
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
25263
24735
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -25270,7 +24742,6 @@ const generatedFocusOperations = [
|
|
|
25270
24742
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25271
24743
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
25272
24744
|
}),
|
|
25273
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25274
24745
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
25275
24746
|
}),
|
|
25276
24747
|
execute: (input, { client }) => {
|
|
@@ -25281,8 +24752,6 @@ const generatedFocusOperations = [
|
|
|
25281
24752
|
client.workspaceIdNumber,
|
|
25282
24753
|
data.time_entry_id,
|
|
25283
24754
|
data.payload ?? data.data ?? data,
|
|
25284
|
-
data.from_recurring_task_id,
|
|
25285
|
-
data.return_occurrence,
|
|
25286
24755
|
void 0
|
|
25287
24756
|
]));
|
|
25288
24757
|
}
|
|
@@ -25798,40 +25267,6 @@ const generatedFocusOperations = [
|
|
|
25798
25267
|
]));
|
|
25799
25268
|
}
|
|
25800
25269
|
},
|
|
25801
|
-
{
|
|
25802
|
-
id: "focus.timesheets.get-status-counts",
|
|
25803
|
-
family: "focus",
|
|
25804
|
-
resource: "timesheets",
|
|
25805
|
-
action: "get-status-counts",
|
|
25806
|
-
title: "Get Status Counts Timesheets",
|
|
25807
|
-
description: "Get Status Counts Timesheets.",
|
|
25808
|
-
safety: "read",
|
|
25809
|
-
destructive: false,
|
|
25810
|
-
cli: {
|
|
25811
|
-
group: ["timesheets"],
|
|
25812
|
-
command: "get-status-counts",
|
|
25813
|
-
interactive: "hidden"
|
|
25814
|
-
},
|
|
25815
|
-
mcp: { entityTool: "timesheets" },
|
|
25816
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25817
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25818
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25819
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25820
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25821
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25822
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25823
|
-
}),
|
|
25824
|
-
execute: (input, { client }) => {
|
|
25825
|
-
const data = input;
|
|
25826
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25827
|
-
client.httpClient,
|
|
25828
|
-
client.organizationId,
|
|
25829
|
-
client.workspaceIdNumber,
|
|
25830
|
-
data,
|
|
25831
|
-
void 0
|
|
25832
|
-
]));
|
|
25833
|
-
}
|
|
25834
|
-
},
|
|
25835
25270
|
{
|
|
25836
25271
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25837
25272
|
family: "focus",
|
|
@@ -26381,33 +25816,6 @@ const generatedFocusOperations = [
|
|
|
26381
25816
|
]));
|
|
26382
25817
|
}
|
|
26383
25818
|
},
|
|
26384
|
-
{
|
|
26385
|
-
id: "focus.track-team-invites.post",
|
|
26386
|
-
family: "focus",
|
|
26387
|
-
resource: "track-team-invites",
|
|
26388
|
-
action: "post",
|
|
26389
|
-
title: "Post Track Team Invites",
|
|
26390
|
-
description: "Post Track Team Invites.",
|
|
26391
|
-
safety: "create",
|
|
26392
|
-
destructive: false,
|
|
26393
|
-
cli: {
|
|
26394
|
-
group: ["track-team-invites"],
|
|
26395
|
-
command: "post",
|
|
26396
|
-
interactive: "default"
|
|
26397
|
-
},
|
|
26398
|
-
mcp: { entityTool: "track-team-invites" },
|
|
26399
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26400
|
-
execute: (input, { client }) => {
|
|
26401
|
-
const data = input;
|
|
26402
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26403
|
-
client.httpClient,
|
|
26404
|
-
client.organizationId,
|
|
26405
|
-
client.workspaceIdNumber,
|
|
26406
|
-
data.payload ?? data.data ?? data,
|
|
26407
|
-
void 0
|
|
26408
|
-
]));
|
|
26409
|
-
}
|
|
26410
|
-
},
|
|
26411
25819
|
{
|
|
26412
25820
|
id: "focus.users.list",
|
|
26413
25821
|
family: "focus",
|
|
@@ -26429,56 +25837,6 @@ const generatedFocusOperations = [
|
|
|
26429
25837
|
return client.listOrgUsers(data);
|
|
26430
25838
|
}
|
|
26431
25839
|
},
|
|
26432
|
-
{
|
|
26433
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
26434
|
-
family: "focus",
|
|
26435
|
-
resource: "users",
|
|
26436
|
-
action: "settings-email-unsubscribe",
|
|
26437
|
-
title: "Settings Email Unsubscribe Users",
|
|
26438
|
-
description: "Settings Email Unsubscribe Users.",
|
|
26439
|
-
safety: "update",
|
|
26440
|
-
destructive: false,
|
|
26441
|
-
cli: {
|
|
26442
|
-
group: ["users", "settings"],
|
|
26443
|
-
command: "email-unsubscribe",
|
|
26444
|
-
interactive: "default"
|
|
26445
|
-
},
|
|
26446
|
-
mcp: { entityTool: "users" },
|
|
26447
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26448
|
-
execute: (input, { client }) => {
|
|
26449
|
-
const data = input;
|
|
26450
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26451
|
-
client.httpClient,
|
|
26452
|
-
data.token,
|
|
26453
|
-
void 0
|
|
26454
|
-
]));
|
|
26455
|
-
}
|
|
26456
|
-
},
|
|
26457
|
-
{
|
|
26458
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
26459
|
-
family: "focus",
|
|
26460
|
-
resource: "users",
|
|
26461
|
-
action: "settings-email-unsubscribe-page",
|
|
26462
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
26463
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
26464
|
-
safety: "read",
|
|
26465
|
-
destructive: false,
|
|
26466
|
-
cli: {
|
|
26467
|
-
group: ["users", "settings"],
|
|
26468
|
-
command: "email-unsubscribe-page",
|
|
26469
|
-
interactive: "available"
|
|
26470
|
-
},
|
|
26471
|
-
mcp: { entityTool: "users" },
|
|
26472
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26473
|
-
execute: (input, { client }) => {
|
|
26474
|
-
const data = input;
|
|
26475
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26476
|
-
client.httpClient,
|
|
26477
|
-
data.token,
|
|
26478
|
-
void 0
|
|
26479
|
-
]));
|
|
26480
|
-
}
|
|
26481
|
-
},
|
|
26482
25840
|
{
|
|
26483
25841
|
id: "focus.users.settings-list",
|
|
26484
25842
|
family: "focus",
|
|
@@ -26540,9 +25898,6 @@ const generatedFocusOperations = [
|
|
|
26540
25898
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26541
25899
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26542
25900
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26543
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26544
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26545
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26546
25901
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26547
25902
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26548
25903
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28605,4 +27960,4 @@ Common commands:
|
|
|
28605
27960
|
//#endregion
|
|
28606
27961
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28607
27962
|
|
|
28608
|
-
//# sourceMappingURL=program-
|
|
27963
|
+
//# sourceMappingURL=program-C5GYCsU3.js.map
|