@togglhq/mcp 1.11.66 → 1.11.67
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-fnqUMiy3.js → src-C45SLn6O.js} +820 -1003
- package/package.json +1 -1
|
@@ -34683,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34683
34683
|
name: /* @__PURE__ */ string(),
|
|
34684
34684
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34685
34685
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34686
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34687
34686
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34688
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34689
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34770
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34771
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34772
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34773
|
-
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."))),
|
|
34774
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34775
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34776
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34832
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34833
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34834
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34835
|
-
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."))),
|
|
34836
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34837
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34838
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34993,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34993
34990
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34994
34991
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34995
34992
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34996
|
-
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."))),
|
|
34997
|
-
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."))),
|
|
34998
34993
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34999
34994
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35000
34995
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35080,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35080
35075
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35081
35076
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35082
35077
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35083
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35084
35078
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35085
35079
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35086
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35087
35080
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35088
35081
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35089
35082
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -35139,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35139
35132
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35140
35133
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35141
35134
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35142
|
-
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."))),
|
|
35143
|
-
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."))),
|
|
35144
35135
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35145
35136
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
35137
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35313,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35313
35304
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35314
35305
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35315
35306
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35307
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35316
35309
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35317
35310
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35318
35311
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35369,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35369
35362
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35370
35363
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35371
35364
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35372
|
-
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."))),
|
|
35373
35365
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35374
35366
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35375
35367
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35406,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35406
35398
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35407
35399
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35408
35400
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
-
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."))),
|
|
35410
35401
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35411
35402
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35412
35403
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35427,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35427
35418
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35428
35419
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35429
35420
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35430
35422
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35431
35423
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35432
35424
|
});
|
|
@@ -35455,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35455
35447
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35456
35448
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35457
35449
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35458
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35450
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35451
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35459
35452
|
});
|
|
35460
35453
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35461
35454
|
//#endregion
|
|
@@ -37329,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37329
37322
|
})
|
|
37330
37323
|
}).json();
|
|
37331
37324
|
}
|
|
37332
|
-
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,
|
|
37325
|
+
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) {
|
|
37333
37326
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37334
37327
|
signal,
|
|
37335
37328
|
searchParams: buildSearchParams$2({
|
|
@@ -37350,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37350
37343
|
include_rates,
|
|
37351
37344
|
pinned_ids,
|
|
37352
37345
|
has_group,
|
|
37353
|
-
track_without_focus,
|
|
37354
37346
|
cf_filter,
|
|
37355
37347
|
include_custom_fields,
|
|
37356
37348
|
include_calendar_integration
|
|
@@ -37452,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37452
37444
|
}
|
|
37453
37445
|
//#endregion
|
|
37454
37446
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37455
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37447
|
+
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) {
|
|
37456
37448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37457
37449
|
signal,
|
|
37458
37450
|
searchParams: buildSearchParams$2({
|
|
37459
|
-
include_task_counts,
|
|
37460
|
-
include_picker_parent_group_counts,
|
|
37461
|
-
task_archived,
|
|
37462
|
-
task_recurring,
|
|
37463
|
-
task_state,
|
|
37464
|
-
task_source,
|
|
37465
|
-
task_assignee_user_id,
|
|
37466
|
-
task_assignee_team_id,
|
|
37467
|
-
task_include_unassigned,
|
|
37468
|
-
task_name,
|
|
37469
37451
|
page,
|
|
37470
37452
|
per_page,
|
|
37471
37453
|
order_by,
|
|
@@ -37715,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37715
37697
|
}
|
|
37716
37698
|
//#endregion
|
|
37717
37699
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37718
|
-
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_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, 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
|
|
37700
|
+
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) {
|
|
37719
37701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37720
37702
|
signal,
|
|
37721
37703
|
searchParams: buildSearchParams$2({
|
|
@@ -37728,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37728
37710
|
toggl_user_id,
|
|
37729
37711
|
name,
|
|
37730
37712
|
has_time_entries,
|
|
37713
|
+
has_time_blocks,
|
|
37731
37714
|
has_dates,
|
|
37732
37715
|
private: private_,
|
|
37733
37716
|
archived,
|
|
@@ -37750,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37750
37733
|
priority,
|
|
37751
37734
|
is_priority,
|
|
37752
37735
|
state,
|
|
37736
|
+
timeblock_start_from,
|
|
37737
|
+
timeblock_start_until,
|
|
37738
|
+
time_block_id,
|
|
37739
|
+
time_block_completed,
|
|
37753
37740
|
team_id,
|
|
37754
37741
|
assignee_team_id,
|
|
37755
37742
|
assignee_user_id,
|
|
@@ -37761,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37761
37748
|
include_assignees,
|
|
37762
37749
|
include_parent_matches,
|
|
37763
37750
|
disable_aggregations,
|
|
37764
|
-
cf_filter
|
|
37765
|
-
recurring_occurrences_after,
|
|
37766
|
-
max_recurring_occurrences_after,
|
|
37767
|
-
recurring_task_read,
|
|
37768
|
-
include_projected_occurrences
|
|
37751
|
+
cf_filter
|
|
37769
37752
|
})
|
|
37770
37753
|
}).json();
|
|
37771
37754
|
}
|
|
@@ -37840,44 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37840
37823
|
})
|
|
37841
37824
|
}).json();
|
|
37842
37825
|
}
|
|
37843
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37826
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37844
37827
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37845
37828
|
signal,
|
|
37846
37829
|
searchParams: buildSearchParams$2({
|
|
37847
37830
|
date_from,
|
|
37848
|
-
date_to
|
|
37849
|
-
skip_provider_refresh
|
|
37850
|
-
})
|
|
37851
|
-
}).json();
|
|
37852
|
-
}
|
|
37853
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, search, only_me, page, per_page } = {}, signal) {
|
|
37854
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37855
|
-
signal,
|
|
37856
|
-
searchParams: buildSearchParams$2({
|
|
37857
|
-
project_id,
|
|
37858
|
-
without_project,
|
|
37859
|
-
pinned_only,
|
|
37860
|
-
search,
|
|
37861
|
-
only_me,
|
|
37862
|
-
page,
|
|
37863
|
-
per_page
|
|
37864
|
-
})
|
|
37865
|
-
}).json();
|
|
37866
|
-
}
|
|
37867
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, search, only_me, page, per_page } = {}, signal) {
|
|
37868
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37869
|
-
signal,
|
|
37870
|
-
searchParams: buildSearchParams$2({
|
|
37871
|
-
project_id,
|
|
37872
|
-
without_project,
|
|
37873
|
-
search,
|
|
37874
|
-
only_me,
|
|
37875
|
-
page,
|
|
37876
|
-
per_page
|
|
37831
|
+
date_to
|
|
37877
37832
|
})
|
|
37878
37833
|
}).json();
|
|
37879
37834
|
}
|
|
37880
|
-
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
|
|
37835
|
+
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) {
|
|
37881
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37882
37837
|
signal,
|
|
37883
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37893,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37893
37848
|
assignee_team_id,
|
|
37894
37849
|
assignee_user_id,
|
|
37895
37850
|
tag_id,
|
|
37896
|
-
include_assignees
|
|
37897
|
-
recurring_occurrences_after,
|
|
37898
|
-
max_recurring_occurrences_after,
|
|
37899
|
-
recurring_task_read,
|
|
37900
|
-
include_projected_occurrences
|
|
37851
|
+
include_assignees
|
|
37901
37852
|
})
|
|
37902
37853
|
}).json();
|
|
37903
37854
|
}
|
|
37904
|
-
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_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, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter
|
|
37855
|
+
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) {
|
|
37905
37856
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37906
37857
|
signal,
|
|
37907
37858
|
searchParams: buildSearchParams$2({
|
|
@@ -37913,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37913
37864
|
name,
|
|
37914
37865
|
include_parent_matches,
|
|
37915
37866
|
has_time_entries,
|
|
37867
|
+
has_time_blocks,
|
|
37916
37868
|
has_dates,
|
|
37917
37869
|
private: private_,
|
|
37918
37870
|
archived,
|
|
@@ -37935,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37935
37887
|
priority,
|
|
37936
37888
|
is_priority,
|
|
37937
37889
|
state,
|
|
37890
|
+
time_block_id,
|
|
37891
|
+
time_block_completed,
|
|
37938
37892
|
team_id,
|
|
37939
37893
|
assignee_team_id,
|
|
37940
37894
|
assignee_user_id,
|
|
@@ -37943,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37943
37897
|
recurring_task_ids,
|
|
37944
37898
|
client_id,
|
|
37945
37899
|
include_assignees,
|
|
37946
|
-
cf_filter
|
|
37947
|
-
recurring_occurrences_after,
|
|
37948
|
-
max_recurring_occurrences_after,
|
|
37949
|
-
recurring_task_read,
|
|
37950
|
-
include_projected_occurrences
|
|
37900
|
+
cf_filter
|
|
37951
37901
|
})
|
|
37952
37902
|
}).json();
|
|
37953
37903
|
}
|
|
@@ -38002,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38002
37952
|
})
|
|
38003
37953
|
}).json();
|
|
38004
37954
|
}
|
|
38005
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38006
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38007
|
-
signal,
|
|
38008
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38009
|
-
}).json();
|
|
38010
|
-
}
|
|
38011
37955
|
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) {
|
|
38012
37956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38013
37957
|
signal,
|
|
@@ -38033,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
38033
37977
|
}
|
|
38034
37978
|
//#endregion
|
|
38035
37979
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
38036
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37980
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
38037
37981
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38038
37982
|
signal,
|
|
38039
37983
|
searchParams: buildSearchParams$2({
|
|
@@ -38041,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38041
37985
|
per_page,
|
|
38042
37986
|
order_by,
|
|
38043
37987
|
type,
|
|
38044
|
-
archived
|
|
37988
|
+
archived,
|
|
37989
|
+
time_block_id
|
|
38045
37990
|
})
|
|
38046
37991
|
}).json();
|
|
38047
37992
|
}
|
|
38048
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
37993
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38049
37994
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38050
37995
|
signal,
|
|
38051
|
-
json: data
|
|
38052
|
-
searchParams: buildSearchParams$2({
|
|
38053
|
-
from_recurring_task_id,
|
|
38054
|
-
return_occurrence
|
|
38055
|
-
})
|
|
37996
|
+
json: data
|
|
38056
37997
|
}).json();
|
|
38057
37998
|
}
|
|
38058
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
37999
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38059
38000
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38060
38001
|
signal,
|
|
38061
|
-
json: data
|
|
38062
|
-
searchParams: buildSearchParams$2({
|
|
38063
|
-
from_recurring_task_id,
|
|
38064
|
-
return_occurrence
|
|
38065
|
-
})
|
|
38002
|
+
json: data
|
|
38066
38003
|
}).json();
|
|
38067
38004
|
}
|
|
38068
38005
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38113,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38113
38050
|
json: data
|
|
38114
38051
|
}).json();
|
|
38115
38052
|
}
|
|
38116
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38053
|
+
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) {
|
|
38117
38054
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38118
38055
|
signal,
|
|
38119
38056
|
searchParams: buildSearchParams$2({
|
|
@@ -38121,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38121
38058
|
date_to,
|
|
38122
38059
|
task_id,
|
|
38123
38060
|
status_id,
|
|
38124
|
-
project_id,
|
|
38125
38061
|
type,
|
|
38126
38062
|
order_by,
|
|
38127
38063
|
archived,
|
|
@@ -38136,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38136
38072
|
json: data
|
|
38137
38073
|
}).json();
|
|
38138
38074
|
}
|
|
38075
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
|
+
signal,
|
|
38078
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
38079
|
+
}).json();
|
|
38080
|
+
}
|
|
38139
38081
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38140
38082
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38141
38083
|
}
|
|
38142
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38084
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38143
38085
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38144
38086
|
signal,
|
|
38145
|
-
json: data
|
|
38146
|
-
searchParams: buildSearchParams$2({
|
|
38147
|
-
from_recurring_task_id,
|
|
38148
|
-
return_occurrence
|
|
38149
|
-
})
|
|
38087
|
+
json: data
|
|
38150
38088
|
}).json();
|
|
38151
38089
|
}
|
|
38152
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38153
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38154
|
-
signal,
|
|
38155
|
-
searchParams: buildSearchParams$2({
|
|
38156
|
-
from_recurring_task_id,
|
|
38157
|
-
return_occurrence
|
|
38158
|
-
})
|
|
38159
|
-
}).json();
|
|
38090
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38091
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38160
38092
|
}
|
|
38161
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38093
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38162
38094
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38163
38095
|
signal,
|
|
38164
|
-
json: data
|
|
38165
|
-
searchParams: buildSearchParams$2({
|
|
38166
|
-
from_recurring_task_id,
|
|
38167
|
-
return_occurrence
|
|
38168
|
-
})
|
|
38096
|
+
json: data
|
|
38169
38097
|
}).json();
|
|
38170
38098
|
}
|
|
38171
38099
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -41877,15 +41805,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41877
41805
|
}
|
|
41878
41806
|
//#endregion
|
|
41879
41807
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41880
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
41808
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41881
41809
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41882
41810
|
signal,
|
|
41883
41811
|
searchParams: buildSearchParams$2({
|
|
41884
41812
|
workspace_id,
|
|
41885
41813
|
entity_type,
|
|
41886
41814
|
entity_id,
|
|
41887
|
-
project_id,
|
|
41888
|
-
custom_field_id,
|
|
41889
41815
|
action,
|
|
41890
41816
|
user_id,
|
|
41891
41817
|
page_size,
|
|
@@ -41894,14 +41820,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41894
41820
|
})
|
|
41895
41821
|
}).json();
|
|
41896
41822
|
}
|
|
41897
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
41823
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41898
41824
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41899
41825
|
signal,
|
|
41900
41826
|
searchParams: buildSearchParams$2({
|
|
41901
41827
|
entity_type,
|
|
41902
41828
|
entity_id,
|
|
41903
|
-
project_id,
|
|
41904
|
-
custom_field_id,
|
|
41905
41829
|
action,
|
|
41906
41830
|
user_id,
|
|
41907
41831
|
page_size,
|
|
@@ -42054,14 +41978,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42054
41978
|
}
|
|
42055
41979
|
//#endregion
|
|
42056
41980
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42057
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
41981
|
+
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) {
|
|
42058
41982
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42059
41983
|
signal,
|
|
42060
41984
|
searchParams: buildSearchParams$2({
|
|
41985
|
+
user_id,
|
|
42061
41986
|
start_date,
|
|
42062
41987
|
end_date,
|
|
42063
|
-
user_id,
|
|
42064
|
-
team_id,
|
|
42065
41988
|
private: private_,
|
|
42066
41989
|
task_source,
|
|
42067
41990
|
unit,
|
|
@@ -42121,15 +42044,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42121
42044
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42122
42045
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42123
42046
|
}
|
|
42124
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42125
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42126
|
-
}
|
|
42127
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42128
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42129
|
-
signal,
|
|
42130
|
-
json: data
|
|
42131
|
-
}).json();
|
|
42132
|
-
}
|
|
42133
42047
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42134
42048
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42135
42049
|
signal,
|
|
@@ -42393,7 +42307,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42393
42307
|
}
|
|
42394
42308
|
//#endregion
|
|
42395
42309
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42396
|
-
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,
|
|
42310
|
+
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) {
|
|
42397
42311
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42398
42312
|
signal,
|
|
42399
42313
|
searchParams: buildSearchParams$2({
|
|
@@ -42419,7 +42333,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42419
42333
|
user_id,
|
|
42420
42334
|
only_me,
|
|
42421
42335
|
include_drafts,
|
|
42422
|
-
include_recurring_series,
|
|
42423
42336
|
cf_filter
|
|
42424
42337
|
})
|
|
42425
42338
|
}).json();
|
|
@@ -42438,6 +42351,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42438
42351
|
json: data
|
|
42439
42352
|
}).json();
|
|
42440
42353
|
}
|
|
42354
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42355
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42356
|
+
}
|
|
42441
42357
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42442
42358
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42443
42359
|
}
|
|
@@ -42463,37 +42379,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42463
42379
|
}).json();
|
|
42464
42380
|
}
|
|
42465
42381
|
//#endregion
|
|
42466
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42467
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42468
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42469
|
-
}
|
|
42470
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42471
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42472
|
-
signal,
|
|
42473
|
-
json: data,
|
|
42474
|
-
searchParams: buildSearchParams$2({
|
|
42475
|
-
response_format,
|
|
42476
|
-
include_dicts
|
|
42477
|
-
})
|
|
42478
|
-
}).json();
|
|
42479
|
-
}
|
|
42480
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42481
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
42482
|
-
signal,
|
|
42483
|
-
json: data,
|
|
42484
|
-
searchParams: buildSearchParams$2({
|
|
42485
|
-
response_format,
|
|
42486
|
-
include_dicts
|
|
42487
|
-
})
|
|
42488
|
-
}).json();
|
|
42489
|
-
}
|
|
42490
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42491
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
42492
|
-
signal,
|
|
42493
|
-
json: data
|
|
42494
|
-
}).json();
|
|
42495
|
-
}
|
|
42496
|
-
//#endregion
|
|
42497
42382
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42498
42383
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42499
42384
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42655,7 +42540,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42655
42540
|
}
|
|
42656
42541
|
//#endregion
|
|
42657
42542
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42658
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
42543
|
+
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) {
|
|
42659
42544
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42660
42545
|
signal,
|
|
42661
42546
|
searchParams: buildSearchParams$2({
|
|
@@ -42663,7 +42548,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42663
42548
|
per_group,
|
|
42664
42549
|
assignee_user_id,
|
|
42665
42550
|
assignee_team_id,
|
|
42666
|
-
include_unassigned,
|
|
42667
42551
|
project_id,
|
|
42668
42552
|
task_id,
|
|
42669
42553
|
include_drafts,
|
|
@@ -42708,18 +42592,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42708
42592
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42709
42593
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42710
42594
|
}
|
|
42711
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42712
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42713
|
-
}
|
|
42714
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42715
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42716
|
-
}
|
|
42717
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42718
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42719
|
-
signal,
|
|
42720
|
-
json: data
|
|
42721
|
-
}).json();
|
|
42722
|
-
}
|
|
42723
42595
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42724
42596
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42725
42597
|
signal,
|
|
@@ -42729,21 +42601,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42729
42601
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42730
42602
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42731
42603
|
}
|
|
42732
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42733
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42734
|
-
signal,
|
|
42735
|
-
json: data
|
|
42736
|
-
}).json();
|
|
42737
|
-
}
|
|
42738
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42739
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42740
|
-
}
|
|
42741
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42742
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42743
|
-
signal,
|
|
42744
|
-
json: data
|
|
42745
|
-
}).json();
|
|
42746
|
-
}
|
|
42747
42604
|
//#endregion
|
|
42748
42605
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42749
42606
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42800,10 +42657,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42800
42657
|
}
|
|
42801
42658
|
//#endregion
|
|
42802
42659
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42803
|
-
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
|
|
42660
|
+
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) {
|
|
42804
42661
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42805
42662
|
signal,
|
|
42806
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42807
42663
|
searchParams: buildSearchParams$2({
|
|
42808
42664
|
project_id,
|
|
42809
42665
|
source,
|
|
@@ -42832,18 +42688,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42832
42688
|
min_days,
|
|
42833
42689
|
include_drafts,
|
|
42834
42690
|
cf_filter,
|
|
42835
|
-
user_cf_filter
|
|
42836
|
-
recurring_occurrences_after,
|
|
42837
|
-
max_recurring_occurrences_after,
|
|
42838
|
-
recurring_task_read,
|
|
42839
|
-
include_projected_occurrences
|
|
42691
|
+
user_cf_filter
|
|
42840
42692
|
})
|
|
42841
42693
|
}).json();
|
|
42842
42694
|
}
|
|
42843
|
-
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
|
|
42695
|
+
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) {
|
|
42844
42696
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42845
42697
|
signal,
|
|
42846
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42847
42698
|
searchParams: buildSearchParams$2({
|
|
42848
42699
|
team_id,
|
|
42849
42700
|
project_id,
|
|
@@ -42872,18 +42723,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42872
42723
|
min_days,
|
|
42873
42724
|
include_drafts,
|
|
42874
42725
|
cf_filter,
|
|
42875
|
-
user_cf_filter
|
|
42876
|
-
recurring_occurrences_after,
|
|
42877
|
-
max_recurring_occurrences_after,
|
|
42878
|
-
recurring_task_read,
|
|
42879
|
-
include_projected_occurrences
|
|
42726
|
+
user_cf_filter
|
|
42880
42727
|
})
|
|
42881
42728
|
}).json();
|
|
42882
42729
|
}
|
|
42883
|
-
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,
|
|
42730
|
+
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) {
|
|
42884
42731
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42885
42732
|
signal,
|
|
42886
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42887
42733
|
searchParams: buildSearchParams$2({
|
|
42888
42734
|
source,
|
|
42889
42735
|
priority,
|
|
@@ -42913,10 +42759,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42913
42759
|
include_drafts,
|
|
42914
42760
|
cf_filter,
|
|
42915
42761
|
user_cf_filter,
|
|
42916
|
-
recurring_occurrences_after,
|
|
42917
|
-
max_recurring_occurrences_after,
|
|
42918
|
-
recurring_task_read,
|
|
42919
|
-
include_projected_occurrences,
|
|
42920
42762
|
page,
|
|
42921
42763
|
per_page,
|
|
42922
42764
|
order_by
|
|
@@ -42944,6 +42786,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42944
42786
|
}).json();
|
|
42945
42787
|
}
|
|
42946
42788
|
//#endregion
|
|
42789
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42790
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42791
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42792
|
+
signal,
|
|
42793
|
+
searchParams: buildSearchParams$2({
|
|
42794
|
+
page,
|
|
42795
|
+
per_page,
|
|
42796
|
+
order_by,
|
|
42797
|
+
archived
|
|
42798
|
+
})
|
|
42799
|
+
}).json();
|
|
42800
|
+
}
|
|
42801
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42802
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42803
|
+
signal,
|
|
42804
|
+
json: data
|
|
42805
|
+
}).json();
|
|
42806
|
+
}
|
|
42807
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42808
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42809
|
+
}
|
|
42810
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42811
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42812
|
+
signal,
|
|
42813
|
+
json: data
|
|
42814
|
+
}).json();
|
|
42815
|
+
}
|
|
42816
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42817
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42818
|
+
signal,
|
|
42819
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42820
|
+
}).json();
|
|
42821
|
+
}
|
|
42822
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42823
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42824
|
+
signal,
|
|
42825
|
+
json: data
|
|
42826
|
+
}).json();
|
|
42827
|
+
}
|
|
42828
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42829
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42830
|
+
}
|
|
42831
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42832
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42833
|
+
}
|
|
42834
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42835
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42836
|
+
}
|
|
42837
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42838
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42839
|
+
signal,
|
|
42840
|
+
searchParams: buildSearchParams$2({
|
|
42841
|
+
date_from,
|
|
42842
|
+
date_to,
|
|
42843
|
+
task_id,
|
|
42844
|
+
status_id,
|
|
42845
|
+
page,
|
|
42846
|
+
per_page,
|
|
42847
|
+
archived,
|
|
42848
|
+
order_by
|
|
42849
|
+
})
|
|
42850
|
+
}).json();
|
|
42851
|
+
}
|
|
42852
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42853
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42854
|
+
signal,
|
|
42855
|
+
json: data
|
|
42856
|
+
}).json();
|
|
42857
|
+
}
|
|
42858
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42859
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42860
|
+
signal,
|
|
42861
|
+
searchParams: buildSearchParams$2({
|
|
42862
|
+
ids,
|
|
42863
|
+
outbound_sync
|
|
42864
|
+
})
|
|
42865
|
+
}).json();
|
|
42866
|
+
}
|
|
42867
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42868
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42869
|
+
signal,
|
|
42870
|
+
json: data
|
|
42871
|
+
}).json();
|
|
42872
|
+
}
|
|
42873
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42874
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42875
|
+
signal,
|
|
42876
|
+
searchParams: buildSearchParams$2({
|
|
42877
|
+
date_from,
|
|
42878
|
+
date_to,
|
|
42879
|
+
task_id,
|
|
42880
|
+
status_id,
|
|
42881
|
+
archived,
|
|
42882
|
+
order_by
|
|
42883
|
+
})
|
|
42884
|
+
}).json();
|
|
42885
|
+
}
|
|
42886
|
+
//#endregion
|
|
42947
42887
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42948
42888
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42949
42889
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43108,19 +43048,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43108
43048
|
json: data
|
|
43109
43049
|
}).json();
|
|
43110
43050
|
}
|
|
43111
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43112
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43113
|
-
signal,
|
|
43114
|
-
searchParams: buildSearchParams$2({
|
|
43115
|
-
date_from,
|
|
43116
|
-
date_to,
|
|
43117
|
-
setup_id,
|
|
43118
|
-
user_account_ids,
|
|
43119
|
-
approver_user_account_ids,
|
|
43120
|
-
team_ids
|
|
43121
|
-
})
|
|
43122
|
-
}).json();
|
|
43123
|
-
}
|
|
43124
43051
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43125
43052
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43126
43053
|
}
|
|
@@ -43164,21 +43091,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43164
43091
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43165
43092
|
}
|
|
43166
43093
|
//#endregion
|
|
43167
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43168
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43169
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43170
|
-
signal,
|
|
43171
|
-
json: data
|
|
43172
|
-
}).json();
|
|
43173
|
-
}
|
|
43174
|
-
//#endregion
|
|
43175
43094
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43176
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43177
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43178
|
-
}
|
|
43179
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43180
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43181
|
-
}
|
|
43182
43095
|
async function getUserSettings(httpClient, signal) {
|
|
43183
43096
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43184
43097
|
}
|
|
@@ -43418,7 +43331,6 @@ const generatedFocusOperations = [
|
|
|
43418
43331
|
mcp: { entityTool: "audit-log" },
|
|
43419
43332
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43420
43333
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43421
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43422
43334
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43423
43335
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43424
43336
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43426,7 +43338,6 @@ const generatedFocusOperations = [
|
|
|
43426
43338
|
from: /* @__PURE__ */ string$1(),
|
|
43427
43339
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43428
43340
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43429
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43430
43341
|
to: /* @__PURE__ */ string$1(),
|
|
43431
43342
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43432
43343
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43460,7 +43371,6 @@ const generatedFocusOperations = [
|
|
|
43460
43371
|
mcp: { entityTool: "audit-log" },
|
|
43461
43372
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43462
43373
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43463
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43464
43374
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43465
43375
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43466
43376
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43468,7 +43378,6 @@ const generatedFocusOperations = [
|
|
|
43468
43378
|
from: /* @__PURE__ */ string$1(),
|
|
43469
43379
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43470
43380
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43471
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43472
43381
|
to: /* @__PURE__ */ string$1(),
|
|
43473
43382
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43474
43383
|
}),
|
|
@@ -43508,7 +43417,6 @@ const generatedFocusOperations = [
|
|
|
43508
43417
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43509
43418
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43510
43419
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43511
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43512
43420
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43513
43421
|
user_id: /* @__PURE__ */ number$2()
|
|
43514
43422
|
}),
|
|
@@ -43758,6 +43666,8 @@ const generatedFocusOperations = [
|
|
|
43758
43666
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43759
43667
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43760
43668
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43669
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43670
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43761
43671
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43762
43672
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43763
43673
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43791,6 +43701,8 @@ const generatedFocusOperations = [
|
|
|
43791
43701
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43792
43702
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43793
43703
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43704
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43705
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43794
43706
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43795
43707
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43796
43708
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43806,6 +43718,12 @@ const generatedFocusOperations = [
|
|
|
43806
43718
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43807
43719
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43808
43720
|
}))),
|
|
43721
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43722
|
+
start: apiDateTimeString,
|
|
43723
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43724
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43725
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43726
|
+
}))),
|
|
43809
43727
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43810
43728
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43811
43729
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43815,6 +43733,13 @@ const generatedFocusOperations = [
|
|
|
43815
43733
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43816
43734
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43817
43735
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43736
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43737
|
+
start: apiDateTimeString,
|
|
43738
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43739
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43740
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43741
|
+
})),
|
|
43742
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43818
43743
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43819
43744
|
}))
|
|
43820
43745
|
}) }),
|
|
@@ -43932,33 +43857,6 @@ const generatedFocusOperations = [
|
|
|
43932
43857
|
]));
|
|
43933
43858
|
}
|
|
43934
43859
|
},
|
|
43935
|
-
{
|
|
43936
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
43937
|
-
family: "focus",
|
|
43938
|
-
resource: "custom-fields",
|
|
43939
|
-
action: "get-allowed-users",
|
|
43940
|
-
title: "Get Allowed Users Custom Fields",
|
|
43941
|
-
description: "Get Allowed Users Custom Fields.",
|
|
43942
|
-
safety: "read",
|
|
43943
|
-
destructive: false,
|
|
43944
|
-
cli: {
|
|
43945
|
-
group: ["custom-fields"],
|
|
43946
|
-
command: "get-allowed-users",
|
|
43947
|
-
interactive: "available"
|
|
43948
|
-
},
|
|
43949
|
-
mcp: { entityTool: "custom-fields" },
|
|
43950
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
43951
|
-
execute: (input, { client }) => {
|
|
43952
|
-
const data = input;
|
|
43953
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
43954
|
-
client.httpClient,
|
|
43955
|
-
client.organizationId,
|
|
43956
|
-
client.workspaceIdNumber,
|
|
43957
|
-
data.custom_field_id,
|
|
43958
|
-
void 0
|
|
43959
|
-
]));
|
|
43960
|
-
}
|
|
43961
|
-
},
|
|
43962
43860
|
{
|
|
43963
43861
|
id: "focus.custom-fields.list",
|
|
43964
43862
|
family: "focus",
|
|
@@ -44128,37 +44026,6 @@ const generatedFocusOperations = [
|
|
|
44128
44026
|
]));
|
|
44129
44027
|
}
|
|
44130
44028
|
},
|
|
44131
|
-
{
|
|
44132
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44133
|
-
family: "focus",
|
|
44134
|
-
resource: "custom-fields",
|
|
44135
|
-
action: "replace-custom-field-allowed-users",
|
|
44136
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44137
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44138
|
-
safety: "update",
|
|
44139
|
-
destructive: false,
|
|
44140
|
-
cli: {
|
|
44141
|
-
group: ["custom-fields"],
|
|
44142
|
-
command: "replace-custom-field-allowed-users",
|
|
44143
|
-
interactive: "default"
|
|
44144
|
-
},
|
|
44145
|
-
mcp: { entityTool: "custom-fields" },
|
|
44146
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44147
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44148
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44149
|
-
}),
|
|
44150
|
-
execute: (input, { client }) => {
|
|
44151
|
-
const data = input;
|
|
44152
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44153
|
-
client.httpClient,
|
|
44154
|
-
client.organizationId,
|
|
44155
|
-
client.workspaceIdNumber,
|
|
44156
|
-
data.custom_field_id,
|
|
44157
|
-
data.payload ?? data.data ?? data,
|
|
44158
|
-
void 0
|
|
44159
|
-
]));
|
|
44160
|
-
}
|
|
44161
|
-
},
|
|
44162
44029
|
{
|
|
44163
44030
|
id: "focus.custom-fields.update",
|
|
44164
44031
|
family: "focus",
|
|
@@ -44305,7 +44172,13 @@ const generatedFocusOperations = [
|
|
|
44305
44172
|
},
|
|
44306
44173
|
mcp: { entityTool: "goals" },
|
|
44307
44174
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44175
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44308
44176
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44177
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44178
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44179
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44180
|
+
name: /* @__PURE__ */ string$1(),
|
|
44181
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44309
44182
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44310
44183
|
"daily",
|
|
44311
44184
|
"weekly",
|
|
@@ -44313,18 +44186,12 @@ const generatedFocusOperations = [
|
|
|
44313
44186
|
"monthly"
|
|
44314
44187
|
]),
|
|
44315
44188
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44189
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44316
44190
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44317
|
-
|
|
44191
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44192
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44318
44193
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44319
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44320
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44321
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44322
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44323
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44324
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44325
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44326
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44327
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44194
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44328
44195
|
}) }),
|
|
44329
44196
|
execute: (input, { client }) => {
|
|
44330
44197
|
const data = input;
|
|
@@ -44430,6 +44297,13 @@ const generatedFocusOperations = [
|
|
|
44430
44297
|
},
|
|
44431
44298
|
mcp: { entityTool: "goals" },
|
|
44432
44299
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44300
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44301
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44302
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44303
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44304
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44305
|
+
name: /* @__PURE__ */ string$1(),
|
|
44306
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44433
44307
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44434
44308
|
"daily",
|
|
44435
44309
|
"weekly",
|
|
@@ -44437,19 +44311,12 @@ const generatedFocusOperations = [
|
|
|
44437
44311
|
"monthly"
|
|
44438
44312
|
]),
|
|
44439
44313
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44440
|
-
|
|
44314
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44315
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44316
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44317
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44441
44318
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44442
|
-
|
|
44443
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44444
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44445
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44446
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44447
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44448
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44449
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44450
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44451
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44452
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44319
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44453
44320
|
}) }),
|
|
44454
44321
|
execute: (input, { client }) => {
|
|
44455
44322
|
const data = input;
|
|
@@ -45416,17 +45283,9 @@ const generatedFocusOperations = [
|
|
|
45416
45283
|
mcp: { entityTool: "projects" },
|
|
45417
45284
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45418
45285
|
payload: /* @__PURE__ */ looseObject({
|
|
45419
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45420
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45421
45286
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45422
45287
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45423
45288
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45424
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45425
|
-
"expire",
|
|
45426
|
-
"carry_all",
|
|
45427
|
-
"carry_over"
|
|
45428
|
-
])),
|
|
45429
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45430
45289
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45431
45290
|
}),
|
|
45432
45291
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45870,7 +45729,6 @@ const generatedFocusOperations = [
|
|
|
45870
45729
|
group: /* @__PURE__ */ string$1(),
|
|
45871
45730
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45872
45731
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45873
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45874
45732
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45875
45733
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45876
45734
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -45973,6 +45831,29 @@ const generatedFocusOperations = [
|
|
|
45973
45831
|
]));
|
|
45974
45832
|
}
|
|
45975
45833
|
},
|
|
45834
|
+
{
|
|
45835
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
45836
|
+
family: "focus",
|
|
45837
|
+
resource: "projects",
|
|
45838
|
+
action: "margin-targets-clear-workspace",
|
|
45839
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
45840
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
45841
|
+
safety: "delete",
|
|
45842
|
+
destructive: true,
|
|
45843
|
+
cli: {
|
|
45844
|
+
group: ["projects", "margin-targets"],
|
|
45845
|
+
command: "clear-workspace",
|
|
45846
|
+
interactive: "default"
|
|
45847
|
+
},
|
|
45848
|
+
mcp: { entityTool: "projects" },
|
|
45849
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45850
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45851
|
+
client.httpClient,
|
|
45852
|
+
client.organizationId,
|
|
45853
|
+
client.workspaceIdNumber,
|
|
45854
|
+
void 0
|
|
45855
|
+
]))
|
|
45856
|
+
},
|
|
45976
45857
|
{
|
|
45977
45858
|
id: "focus.projects.margin-targets-get",
|
|
45978
45859
|
family: "focus",
|
|
@@ -46417,130 +46298,6 @@ const generatedFocusOperations = [
|
|
|
46417
46298
|
]));
|
|
46418
46299
|
}
|
|
46419
46300
|
},
|
|
46420
|
-
{
|
|
46421
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46422
|
-
family: "focus",
|
|
46423
|
-
resource: "publicsharedreports",
|
|
46424
|
-
action: "open-public-shared-report",
|
|
46425
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
46426
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
46427
|
-
safety: "read",
|
|
46428
|
-
destructive: false,
|
|
46429
|
-
cli: {
|
|
46430
|
-
group: ["publicsharedreports"],
|
|
46431
|
-
command: "open-public-shared-report",
|
|
46432
|
-
interactive: "available"
|
|
46433
|
-
},
|
|
46434
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46435
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46436
|
-
execute: (input, { client }) => {
|
|
46437
|
-
const data = input;
|
|
46438
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46439
|
-
client.httpClient,
|
|
46440
|
-
data.token,
|
|
46441
|
-
void 0
|
|
46442
|
-
]));
|
|
46443
|
-
}
|
|
46444
|
-
},
|
|
46445
|
-
{
|
|
46446
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46447
|
-
family: "focus",
|
|
46448
|
-
resource: "publicsharedreports",
|
|
46449
|
-
action: "profitability-public-shared-report",
|
|
46450
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46451
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46452
|
-
safety: "update",
|
|
46453
|
-
destructive: false,
|
|
46454
|
-
cli: {
|
|
46455
|
-
group: ["publicsharedreports"],
|
|
46456
|
-
command: "profitability-public-shared-report",
|
|
46457
|
-
interactive: "default"
|
|
46458
|
-
},
|
|
46459
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46460
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46461
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46462
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46463
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46464
|
-
token: /* @__PURE__ */ string$1()
|
|
46465
|
-
}),
|
|
46466
|
-
execute: (input, { client }) => {
|
|
46467
|
-
const data = input;
|
|
46468
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46469
|
-
client.httpClient,
|
|
46470
|
-
data.token,
|
|
46471
|
-
data.payload ?? data.data ?? data,
|
|
46472
|
-
data.response_format,
|
|
46473
|
-
data.include_dicts,
|
|
46474
|
-
void 0
|
|
46475
|
-
]));
|
|
46476
|
-
}
|
|
46477
|
-
},
|
|
46478
|
-
{
|
|
46479
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46480
|
-
family: "focus",
|
|
46481
|
-
resource: "publicsharedreports",
|
|
46482
|
-
action: "query-public-shared-report",
|
|
46483
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
46484
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
46485
|
-
safety: "update",
|
|
46486
|
-
destructive: false,
|
|
46487
|
-
cli: {
|
|
46488
|
-
group: ["publicsharedreports"],
|
|
46489
|
-
command: "query-public-shared-report",
|
|
46490
|
-
interactive: "default"
|
|
46491
|
-
},
|
|
46492
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46493
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46494
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46495
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46496
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46497
|
-
"json_row",
|
|
46498
|
-
"table",
|
|
46499
|
-
"hierarchical"
|
|
46500
|
-
])),
|
|
46501
|
-
token: /* @__PURE__ */ string$1()
|
|
46502
|
-
}),
|
|
46503
|
-
execute: (input, { client }) => {
|
|
46504
|
-
const data = input;
|
|
46505
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46506
|
-
client.httpClient,
|
|
46507
|
-
data.token,
|
|
46508
|
-
data.payload ?? data.data ?? data,
|
|
46509
|
-
data.response_format,
|
|
46510
|
-
data.include_dicts,
|
|
46511
|
-
void 0
|
|
46512
|
-
]));
|
|
46513
|
-
}
|
|
46514
|
-
},
|
|
46515
|
-
{
|
|
46516
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46517
|
-
family: "focus",
|
|
46518
|
-
resource: "publicsharedreports",
|
|
46519
|
-
action: "workload-public-shared-report",
|
|
46520
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
46521
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46522
|
-
safety: "update",
|
|
46523
|
-
destructive: false,
|
|
46524
|
-
cli: {
|
|
46525
|
-
group: ["publicsharedreports"],
|
|
46526
|
-
command: "workload-public-shared-report",
|
|
46527
|
-
interactive: "default"
|
|
46528
|
-
},
|
|
46529
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46530
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46531
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46532
|
-
token: /* @__PURE__ */ string$1()
|
|
46533
|
-
}),
|
|
46534
|
-
execute: (input, { client }) => {
|
|
46535
|
-
const data = input;
|
|
46536
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46537
|
-
client.httpClient,
|
|
46538
|
-
data.token,
|
|
46539
|
-
data.payload ?? data.data ?? data,
|
|
46540
|
-
void 0
|
|
46541
|
-
]));
|
|
46542
|
-
}
|
|
46543
|
-
},
|
|
46544
46301
|
{
|
|
46545
46302
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46546
46303
|
family: "focus",
|
|
@@ -48499,7 +48256,7 @@ const generatedFocusOperations = [
|
|
|
48499
48256
|
cli: {
|
|
48500
48257
|
group: ["reportschedules"],
|
|
48501
48258
|
command: "upsert-saved-view-schedule",
|
|
48502
|
-
interactive: "
|
|
48259
|
+
interactive: "default"
|
|
48503
48260
|
},
|
|
48504
48261
|
mcp: { entityTool: "reportschedules" },
|
|
48505
48262
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48510,10 +48267,8 @@ const generatedFocusOperations = [
|
|
|
48510
48267
|
"weekly",
|
|
48511
48268
|
"monthly"
|
|
48512
48269
|
]),
|
|
48513
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48514
48270
|
time: /* @__PURE__ */ string$1(),
|
|
48515
48271
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48516
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48517
48272
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48518
48273
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48519
48274
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48846,32 +48601,6 @@ const generatedFocusOperations = [
|
|
|
48846
48601
|
]));
|
|
48847
48602
|
}
|
|
48848
48603
|
},
|
|
48849
|
-
{
|
|
48850
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
48851
|
-
family: "focus",
|
|
48852
|
-
resource: "sharedreports",
|
|
48853
|
-
action: "get-shared-report-dates",
|
|
48854
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
48855
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
48856
|
-
safety: "read",
|
|
48857
|
-
destructive: false,
|
|
48858
|
-
cli: {
|
|
48859
|
-
group: ["sharedreports"],
|
|
48860
|
-
command: "get-shared-report-dates",
|
|
48861
|
-
interactive: "available"
|
|
48862
|
-
},
|
|
48863
|
-
mcp: { entityTool: "sharedreports" },
|
|
48864
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48865
|
-
execute: (input, { client }) => {
|
|
48866
|
-
const data = input;
|
|
48867
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
48868
|
-
client.httpClient,
|
|
48869
|
-
client.workspaceIdNumber,
|
|
48870
|
-
data.id,
|
|
48871
|
-
void 0
|
|
48872
|
-
]));
|
|
48873
|
-
}
|
|
48874
|
-
},
|
|
48875
48604
|
{
|
|
48876
48605
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48877
48606
|
family: "focus",
|
|
@@ -48942,36 +48671,6 @@ const generatedFocusOperations = [
|
|
|
48942
48671
|
void 0
|
|
48943
48672
|
]))
|
|
48944
48673
|
},
|
|
48945
|
-
{
|
|
48946
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
48947
|
-
family: "focus",
|
|
48948
|
-
resource: "sharedreports",
|
|
48949
|
-
action: "mint-shared-report-link",
|
|
48950
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
48951
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
48952
|
-
safety: "update",
|
|
48953
|
-
destructive: false,
|
|
48954
|
-
cli: {
|
|
48955
|
-
group: ["sharedreports"],
|
|
48956
|
-
command: "mint-shared-report-link",
|
|
48957
|
-
interactive: "default"
|
|
48958
|
-
},
|
|
48959
|
-
mcp: { entityTool: "sharedreports" },
|
|
48960
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48961
|
-
id: /* @__PURE__ */ number$2(),
|
|
48962
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
48963
|
-
}),
|
|
48964
|
-
execute: (input, { client }) => {
|
|
48965
|
-
const data = input;
|
|
48966
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
48967
|
-
client.httpClient,
|
|
48968
|
-
client.workspaceIdNumber,
|
|
48969
|
-
data.id,
|
|
48970
|
-
data.payload ?? data.data ?? data,
|
|
48971
|
-
void 0
|
|
48972
|
-
]));
|
|
48973
|
-
}
|
|
48974
|
-
},
|
|
48975
48674
|
{
|
|
48976
48675
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48977
48676
|
family: "focus",
|
|
@@ -49002,92 +48701,6 @@ const generatedFocusOperations = [
|
|
|
49002
48701
|
]));
|
|
49003
48702
|
}
|
|
49004
48703
|
},
|
|
49005
|
-
{
|
|
49006
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
49007
|
-
family: "focus",
|
|
49008
|
-
resource: "sharedreports",
|
|
49009
|
-
action: "revoke-shared-report-link",
|
|
49010
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
49011
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
49012
|
-
safety: "delete",
|
|
49013
|
-
destructive: true,
|
|
49014
|
-
cli: {
|
|
49015
|
-
group: ["sharedreports"],
|
|
49016
|
-
command: "revoke-shared-report-link",
|
|
49017
|
-
interactive: "default"
|
|
49018
|
-
},
|
|
49019
|
-
mcp: { entityTool: "sharedreports" },
|
|
49020
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49021
|
-
execute: (input, { client }) => {
|
|
49022
|
-
const data = input;
|
|
49023
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
49024
|
-
client.httpClient,
|
|
49025
|
-
client.workspaceIdNumber,
|
|
49026
|
-
data.id,
|
|
49027
|
-
void 0
|
|
49028
|
-
]));
|
|
49029
|
-
}
|
|
49030
|
-
},
|
|
49031
|
-
{
|
|
49032
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
49033
|
-
family: "focus",
|
|
49034
|
-
resource: "sharedreports",
|
|
49035
|
-
action: "rotate-shared-report-link",
|
|
49036
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
49037
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
49038
|
-
safety: "update",
|
|
49039
|
-
destructive: false,
|
|
49040
|
-
cli: {
|
|
49041
|
-
group: ["sharedreports"],
|
|
49042
|
-
command: "rotate-shared-report-link",
|
|
49043
|
-
interactive: "default"
|
|
49044
|
-
},
|
|
49045
|
-
mcp: { entityTool: "sharedreports" },
|
|
49046
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49047
|
-
id: /* @__PURE__ */ number$2(),
|
|
49048
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49049
|
-
}),
|
|
49050
|
-
execute: (input, { client }) => {
|
|
49051
|
-
const data = input;
|
|
49052
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
49053
|
-
client.httpClient,
|
|
49054
|
-
client.workspaceIdNumber,
|
|
49055
|
-
data.id,
|
|
49056
|
-
data.payload ?? data.data ?? data,
|
|
49057
|
-
void 0
|
|
49058
|
-
]));
|
|
49059
|
-
}
|
|
49060
|
-
},
|
|
49061
|
-
{
|
|
49062
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49063
|
-
family: "focus",
|
|
49064
|
-
resource: "sharedreports",
|
|
49065
|
-
action: "set-shared-report-dates-lock",
|
|
49066
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49067
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49068
|
-
safety: "update",
|
|
49069
|
-
destructive: false,
|
|
49070
|
-
cli: {
|
|
49071
|
-
group: ["sharedreports"],
|
|
49072
|
-
command: "set-shared-report-dates-lock",
|
|
49073
|
-
interactive: "default"
|
|
49074
|
-
},
|
|
49075
|
-
mcp: { entityTool: "sharedreports" },
|
|
49076
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49077
|
-
id: /* @__PURE__ */ number$2(),
|
|
49078
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49079
|
-
}),
|
|
49080
|
-
execute: (input, { client }) => {
|
|
49081
|
-
const data = input;
|
|
49082
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49083
|
-
client.httpClient,
|
|
49084
|
-
client.workspaceIdNumber,
|
|
49085
|
-
data.id,
|
|
49086
|
-
data.payload ?? data.data ?? data,
|
|
49087
|
-
void 0
|
|
49088
|
-
]));
|
|
49089
|
-
}
|
|
49090
|
-
},
|
|
49091
48704
|
{
|
|
49092
48705
|
id: "focus.sharedreports.share-saved-view",
|
|
49093
48706
|
family: "focus",
|
|
@@ -49162,32 +48775,6 @@ const generatedFocusOperations = [
|
|
|
49162
48775
|
]));
|
|
49163
48776
|
}
|
|
49164
48777
|
},
|
|
49165
|
-
{
|
|
49166
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
49167
|
-
family: "focus",
|
|
49168
|
-
resource: "sharedreports",
|
|
49169
|
-
action: "unshare-shared-report",
|
|
49170
|
-
title: "Unshare Shared Report Sharedreports",
|
|
49171
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
49172
|
-
safety: "delete",
|
|
49173
|
-
destructive: true,
|
|
49174
|
-
cli: {
|
|
49175
|
-
group: ["sharedreports"],
|
|
49176
|
-
command: "unshare-shared-report",
|
|
49177
|
-
interactive: "default"
|
|
49178
|
-
},
|
|
49179
|
-
mcp: { entityTool: "sharedreports" },
|
|
49180
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49181
|
-
execute: (input, { client }) => {
|
|
49182
|
-
const data = input;
|
|
49183
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49184
|
-
client.httpClient,
|
|
49185
|
-
client.workspaceIdNumber,
|
|
49186
|
-
data.id,
|
|
49187
|
-
void 0
|
|
49188
|
-
]));
|
|
49189
|
-
}
|
|
49190
|
-
},
|
|
49191
48778
|
{
|
|
49192
48779
|
id: "focus.statuses.create-status",
|
|
49193
48780
|
family: "focus",
|
|
@@ -50231,52 +49818,21 @@ const generatedFocusOperations = [
|
|
|
50231
49818
|
}
|
|
50232
49819
|
},
|
|
50233
49820
|
{
|
|
50234
|
-
id: "focus.tasks.
|
|
49821
|
+
id: "focus.tasks.delete",
|
|
50235
49822
|
family: "focus",
|
|
50236
49823
|
resource: "tasks",
|
|
50237
|
-
action: "
|
|
50238
|
-
title: "
|
|
50239
|
-
description: "
|
|
50240
|
-
safety: "
|
|
50241
|
-
destructive:
|
|
49824
|
+
action: "delete",
|
|
49825
|
+
title: "Delete Tasks",
|
|
49826
|
+
description: "Delete Tasks.",
|
|
49827
|
+
safety: "delete",
|
|
49828
|
+
destructive: true,
|
|
50242
49829
|
cli: {
|
|
50243
49830
|
group: ["tasks"],
|
|
50244
|
-
command: "
|
|
49831
|
+
command: "delete",
|
|
50245
49832
|
interactive: "default"
|
|
50246
49833
|
},
|
|
50247
49834
|
mcp: { entityTool: "tasks" },
|
|
50248
|
-
inputSchema:
|
|
50249
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50250
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50251
|
-
}),
|
|
50252
|
-
execute: (input, { client }) => {
|
|
50253
|
-
const data = input;
|
|
50254
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50255
|
-
client.httpClient,
|
|
50256
|
-
client.organizationId,
|
|
50257
|
-
client.workspaceIdNumber,
|
|
50258
|
-
data.task_id,
|
|
50259
|
-
data.return_occurrence,
|
|
50260
|
-
void 0
|
|
50261
|
-
]));
|
|
50262
|
-
}
|
|
50263
|
-
},
|
|
50264
|
-
{
|
|
50265
|
-
id: "focus.tasks.delete",
|
|
50266
|
-
family: "focus",
|
|
50267
|
-
resource: "tasks",
|
|
50268
|
-
action: "delete",
|
|
50269
|
-
title: "Delete Tasks",
|
|
50270
|
-
description: "Delete Tasks.",
|
|
50271
|
-
safety: "delete",
|
|
50272
|
-
destructive: true,
|
|
50273
|
-
cli: {
|
|
50274
|
-
group: ["tasks"],
|
|
50275
|
-
command: "delete",
|
|
50276
|
-
interactive: "default"
|
|
50277
|
-
},
|
|
50278
|
-
mcp: { entityTool: "tasks" },
|
|
50279
|
-
inputSchema: taskIdSchema,
|
|
49835
|
+
inputSchema: taskIdSchema,
|
|
50280
49836
|
execute: (input, { client }) => {
|
|
50281
49837
|
const data = input;
|
|
50282
49838
|
return client.deleteTask(data.task_id);
|
|
@@ -50485,77 +50041,6 @@ const generatedFocusOperations = [
|
|
|
50485
50041
|
]));
|
|
50486
50042
|
}
|
|
50487
50043
|
},
|
|
50488
|
-
{
|
|
50489
|
-
id: "focus.tasks.get-picker-task-children",
|
|
50490
|
-
family: "focus",
|
|
50491
|
-
resource: "tasks",
|
|
50492
|
-
action: "get-picker-task-children",
|
|
50493
|
-
title: "Get Picker Task Children Tasks",
|
|
50494
|
-
description: "Get Picker Task Children Tasks.",
|
|
50495
|
-
safety: "read",
|
|
50496
|
-
destructive: false,
|
|
50497
|
-
cli: {
|
|
50498
|
-
group: ["tasks"],
|
|
50499
|
-
command: "get-picker-task-children",
|
|
50500
|
-
interactive: "hidden"
|
|
50501
|
-
},
|
|
50502
|
-
mcp: { entityTool: "tasks" },
|
|
50503
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50504
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50505
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50506
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50507
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50508
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50509
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50510
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50511
|
-
}),
|
|
50512
|
-
execute: (input, { client }) => {
|
|
50513
|
-
const data = input;
|
|
50514
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50515
|
-
client.httpClient,
|
|
50516
|
-
client.organizationId,
|
|
50517
|
-
client.workspaceIdNumber,
|
|
50518
|
-
data.parent_task_id,
|
|
50519
|
-
data,
|
|
50520
|
-
void 0
|
|
50521
|
-
]));
|
|
50522
|
-
}
|
|
50523
|
-
},
|
|
50524
|
-
{
|
|
50525
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
50526
|
-
family: "focus",
|
|
50527
|
-
resource: "tasks",
|
|
50528
|
-
action: "get-picker-task-groups",
|
|
50529
|
-
title: "Get Picker Task Groups Tasks",
|
|
50530
|
-
description: "Get Picker Task Groups Tasks.",
|
|
50531
|
-
safety: "read",
|
|
50532
|
-
destructive: false,
|
|
50533
|
-
cli: {
|
|
50534
|
-
group: ["tasks"],
|
|
50535
|
-
command: "get-picker-task-groups",
|
|
50536
|
-
interactive: "hidden"
|
|
50537
|
-
},
|
|
50538
|
-
mcp: { entityTool: "tasks" },
|
|
50539
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50540
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50541
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50542
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50543
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50544
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50545
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50546
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50547
|
-
}),
|
|
50548
|
-
execute: (input, { client }) => {
|
|
50549
|
-
const data = input;
|
|
50550
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50551
|
-
client.httpClient,
|
|
50552
|
-
client.organizationId,
|
|
50553
|
-
client.workspaceIdNumber,
|
|
50554
|
-
data,
|
|
50555
|
-
void 0
|
|
50556
|
-
]));
|
|
50557
|
-
}
|
|
50558
|
-
},
|
|
50559
50044
|
{
|
|
50560
50045
|
id: "focus.tasks.get-recurring-instances",
|
|
50561
50046
|
family: "focus",
|
|
@@ -50579,13 +50064,9 @@ const generatedFocusOperations = [
|
|
|
50579
50064
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50580
50065
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50581
50066
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50582
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50583
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50584
50067
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50585
50068
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50586
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50587
50069
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50588
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50589
50070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50590
50071
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50591
50072
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50631,14 +50112,13 @@ const generatedFocusOperations = [
|
|
|
50631
50112
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50632
50113
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50633
50114
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50115
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50634
50116
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50635
50117
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50636
50118
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50637
50119
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50638
50120
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50639
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50640
50121
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50641
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50642
50122
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50643
50123
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50644
50124
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50647,9 +50127,7 @@ const generatedFocusOperations = [
|
|
|
50647
50127
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50648
50128
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50649
50129
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50650
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50651
50130
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50652
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50653
50131
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50654
50132
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50655
50133
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50658,6 +50136,8 @@ const generatedFocusOperations = [
|
|
|
50658
50136
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50659
50137
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50660
50138
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50139
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50140
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50661
50141
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50662
50142
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50663
50143
|
}),
|
|
@@ -50785,10 +50265,8 @@ const generatedFocusOperations = [
|
|
|
50785
50265
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50786
50266
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50787
50267
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50788
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50789
50268
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50790
50269
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50791
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50792
50270
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50793
50271
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50794
50272
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50797,8 +50275,6 @@ const generatedFocusOperations = [
|
|
|
50797
50275
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50798
50276
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50799
50277
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50800
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50801
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50802
50278
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50803
50279
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50804
50280
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50807,8 +50283,7 @@ const generatedFocusOperations = [
|
|
|
50807
50283
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50808
50284
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50809
50285
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50810
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50811
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50286
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50812
50287
|
}),
|
|
50813
50288
|
execute: (input, { client }) => {
|
|
50814
50289
|
const data = input;
|
|
@@ -50850,17 +50325,13 @@ const generatedFocusOperations = [
|
|
|
50850
50325
|
group_id: /* @__PURE__ */ number$2(),
|
|
50851
50326
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50852
50327
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50853
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50854
50328
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50855
50329
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50856
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50857
50330
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50858
50331
|
name: /* @__PURE__ */ unknown$1(),
|
|
50859
50332
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50860
50333
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50861
50334
|
project_id: /* @__PURE__ */ number$2(),
|
|
50862
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50863
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50864
50335
|
source: /* @__PURE__ */ unknown$1(),
|
|
50865
50336
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50866
50337
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50869,8 +50340,7 @@ const generatedFocusOperations = [
|
|
|
50869
50340
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50870
50341
|
team_id: /* @__PURE__ */ number$2(),
|
|
50871
50342
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50872
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50873
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50343
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50874
50344
|
}),
|
|
50875
50345
|
execute: (input, { client }) => {
|
|
50876
50346
|
const data = input;
|
|
@@ -50911,17 +50381,13 @@ const generatedFocusOperations = [
|
|
|
50911
50381
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50912
50382
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50913
50383
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50914
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50915
50384
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50916
50385
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50917
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50918
50386
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50919
50387
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50920
50388
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50921
50389
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50922
50390
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50923
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50924
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50925
50391
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50926
50392
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50927
50393
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50930,8 +50396,7 @@ const generatedFocusOperations = [
|
|
|
50930
50396
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50931
50397
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50932
50398
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50933
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50934
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50399
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50935
50400
|
}),
|
|
50936
50401
|
execute: (input, { client }) => {
|
|
50937
50402
|
const data = input;
|
|
@@ -51072,148 +50537,611 @@ const generatedFocusOperations = [
|
|
|
51072
50537
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
51073
50538
|
execute: (input, { client }) => {
|
|
51074
50539
|
const data = input;
|
|
51075
|
-
return client.runGeneratedRequest("getProjectSuggestionsForMultipleTasks", () => callGeneratedRequest(getProjectSuggestionsForMultipleTasks, [
|
|
50540
|
+
return client.runGeneratedRequest("getProjectSuggestionsForMultipleTasks", () => callGeneratedRequest(getProjectSuggestionsForMultipleTasks, [
|
|
50541
|
+
client.httpClient,
|
|
50542
|
+
client.organizationId,
|
|
50543
|
+
client.workspaceIdNumber,
|
|
50544
|
+
data.payload ?? data.data ?? data,
|
|
50545
|
+
void 0
|
|
50546
|
+
]));
|
|
50547
|
+
}
|
|
50548
|
+
},
|
|
50549
|
+
{
|
|
50550
|
+
id: "focus.tasks.unarchive",
|
|
50551
|
+
family: "focus",
|
|
50552
|
+
resource: "tasks",
|
|
50553
|
+
action: "unarchive",
|
|
50554
|
+
title: "Unarchive Tasks",
|
|
50555
|
+
description: "Unarchive Tasks.",
|
|
50556
|
+
safety: "update",
|
|
50557
|
+
destructive: false,
|
|
50558
|
+
cli: {
|
|
50559
|
+
group: ["tasks"],
|
|
50560
|
+
command: "unarchive",
|
|
50561
|
+
interactive: "default"
|
|
50562
|
+
},
|
|
50563
|
+
mcp: { entityTool: "tasks" },
|
|
50564
|
+
inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
|
|
50565
|
+
execute: (input, { client }) => {
|
|
50566
|
+
const data = input;
|
|
50567
|
+
return client.runGeneratedRequest("unarchiveTask", () => callGeneratedRequest(unarchiveTask, [
|
|
50568
|
+
client.httpClient,
|
|
50569
|
+
client.organizationId,
|
|
50570
|
+
client.workspaceIdNumber,
|
|
50571
|
+
data.task_id,
|
|
50572
|
+
void 0
|
|
50573
|
+
]));
|
|
50574
|
+
}
|
|
50575
|
+
},
|
|
50576
|
+
{
|
|
50577
|
+
id: "focus.tasks.update",
|
|
50578
|
+
family: "focus",
|
|
50579
|
+
resource: "tasks",
|
|
50580
|
+
action: "update",
|
|
50581
|
+
title: "Update Tasks",
|
|
50582
|
+
description: "Update Tasks.",
|
|
50583
|
+
safety: "update",
|
|
50584
|
+
destructive: false,
|
|
50585
|
+
cli: {
|
|
50586
|
+
group: ["tasks"],
|
|
50587
|
+
command: "update",
|
|
50588
|
+
interactive: "default"
|
|
50589
|
+
},
|
|
50590
|
+
mcp: { entityTool: "tasks" },
|
|
50591
|
+
inputSchema: taskUpdateSchema,
|
|
50592
|
+
execute: (input, { client }) => {
|
|
50593
|
+
const data = input;
|
|
50594
|
+
return client.updateTask(data.task_id, data.payload);
|
|
50595
|
+
}
|
|
50596
|
+
},
|
|
50597
|
+
{
|
|
50598
|
+
id: "focus.tasks.full-update",
|
|
50599
|
+
family: "focus",
|
|
50600
|
+
resource: "tasks",
|
|
50601
|
+
action: "full-update",
|
|
50602
|
+
title: "Full Update Tasks",
|
|
50603
|
+
description: "Full Update Tasks.",
|
|
50604
|
+
safety: "update",
|
|
50605
|
+
destructive: false,
|
|
50606
|
+
cli: {
|
|
50607
|
+
group: ["tasks"],
|
|
50608
|
+
command: "full-update",
|
|
50609
|
+
interactive: "hidden"
|
|
50610
|
+
},
|
|
50611
|
+
mcp: { entityTool: "tasks" },
|
|
50612
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50613
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50614
|
+
name: /* @__PURE__ */ string$1(),
|
|
50615
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50616
|
+
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50617
|
+
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50618
|
+
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50619
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50620
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50621
|
+
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
50622
|
+
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50623
|
+
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50624
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50625
|
+
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50626
|
+
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50627
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
50628
|
+
"none",
|
|
50629
|
+
"low",
|
|
50630
|
+
"medium",
|
|
50631
|
+
"high"
|
|
50632
|
+
])),
|
|
50633
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50634
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50635
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50636
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50637
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50638
|
+
}),
|
|
50639
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50640
|
+
}),
|
|
50641
|
+
execute: (input, { client }) => {
|
|
50642
|
+
const data = input;
|
|
50643
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50644
|
+
client.httpClient,
|
|
50645
|
+
client.organizationId,
|
|
50646
|
+
client.workspaceIdNumber,
|
|
50647
|
+
data.task_id,
|
|
50648
|
+
data.payload ?? data.data ?? data,
|
|
50649
|
+
void 0
|
|
50650
|
+
]));
|
|
50651
|
+
}
|
|
50652
|
+
},
|
|
50653
|
+
{
|
|
50654
|
+
id: "focus.tasks.update-calendar-range",
|
|
50655
|
+
family: "focus",
|
|
50656
|
+
resource: "tasks",
|
|
50657
|
+
action: "update-calendar-range",
|
|
50658
|
+
title: "Update Calendar Range Tasks",
|
|
50659
|
+
description: "Update Calendar Range Tasks.",
|
|
50660
|
+
safety: "update",
|
|
50661
|
+
destructive: false,
|
|
50662
|
+
cli: {
|
|
50663
|
+
group: ["tasks"],
|
|
50664
|
+
command: "update-calendar-range",
|
|
50665
|
+
interactive: "default"
|
|
50666
|
+
},
|
|
50667
|
+
mcp: { entityTool: "tasks" },
|
|
50668
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50669
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
50670
|
+
date_to: /* @__PURE__ */ string$1()
|
|
50671
|
+
}),
|
|
50672
|
+
execute: (input, { client }) => {
|
|
50673
|
+
const data = input;
|
|
50674
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
50675
|
+
client.httpClient,
|
|
50676
|
+
client.organizationId,
|
|
50677
|
+
client.workspaceIdNumber,
|
|
50678
|
+
data.date_from,
|
|
50679
|
+
data.date_to,
|
|
50680
|
+
void 0
|
|
50681
|
+
]));
|
|
50682
|
+
}
|
|
50683
|
+
},
|
|
50684
|
+
{
|
|
50685
|
+
id: "focus.time-blocks.archive",
|
|
50686
|
+
family: "focus",
|
|
50687
|
+
resource: "time-blocks",
|
|
50688
|
+
action: "archive",
|
|
50689
|
+
title: "Archive Time Blocks",
|
|
50690
|
+
description: "Archive Time Blocks.",
|
|
50691
|
+
safety: "update",
|
|
50692
|
+
destructive: false,
|
|
50693
|
+
cli: {
|
|
50694
|
+
group: ["time-blocks"],
|
|
50695
|
+
command: "archive",
|
|
50696
|
+
interactive: "default"
|
|
50697
|
+
},
|
|
50698
|
+
mcp: { entityTool: "time-blocks" },
|
|
50699
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50700
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50701
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50702
|
+
}),
|
|
50703
|
+
execute: (input, { client }) => {
|
|
50704
|
+
const data = input;
|
|
50705
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
50706
|
+
client.httpClient,
|
|
50707
|
+
client.organizationId,
|
|
50708
|
+
client.workspaceIdNumber,
|
|
50709
|
+
data.task_id,
|
|
50710
|
+
data.time_block_id,
|
|
50711
|
+
void 0
|
|
50712
|
+
]));
|
|
50713
|
+
}
|
|
50714
|
+
},
|
|
50715
|
+
{
|
|
50716
|
+
id: "focus.time-blocks.bulk-create",
|
|
50717
|
+
family: "focus",
|
|
50718
|
+
resource: "time-blocks",
|
|
50719
|
+
action: "bulk-create",
|
|
50720
|
+
title: "Bulk Create Time Blocks",
|
|
50721
|
+
description: "Bulk Create Time Blocks.",
|
|
50722
|
+
safety: "create",
|
|
50723
|
+
destructive: false,
|
|
50724
|
+
cli: {
|
|
50725
|
+
group: ["time-blocks", "bulk"],
|
|
50726
|
+
command: "create",
|
|
50727
|
+
interactive: "default"
|
|
50728
|
+
},
|
|
50729
|
+
mcp: { entityTool: "time-blocks" },
|
|
50730
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50731
|
+
start: apiDateTimeString,
|
|
50732
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50733
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50734
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50735
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50736
|
+
})) }) }),
|
|
50737
|
+
execute: (input, { client }) => {
|
|
50738
|
+
const data = input;
|
|
50739
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
50740
|
+
client.httpClient,
|
|
50741
|
+
client.organizationId,
|
|
50742
|
+
client.workspaceIdNumber,
|
|
50743
|
+
data.payload ?? data.data ?? data,
|
|
50744
|
+
void 0
|
|
50745
|
+
]));
|
|
50746
|
+
}
|
|
50747
|
+
},
|
|
50748
|
+
{
|
|
50749
|
+
id: "focus.time-blocks.bulk-delete",
|
|
50750
|
+
family: "focus",
|
|
50751
|
+
resource: "time-blocks",
|
|
50752
|
+
action: "bulk-delete",
|
|
50753
|
+
title: "Bulk Delete Time Blocks",
|
|
50754
|
+
description: "Bulk Delete Time Blocks.",
|
|
50755
|
+
safety: "delete",
|
|
50756
|
+
destructive: true,
|
|
50757
|
+
cli: {
|
|
50758
|
+
group: ["time-blocks", "bulk"],
|
|
50759
|
+
command: "delete",
|
|
50760
|
+
interactive: "default"
|
|
50761
|
+
},
|
|
50762
|
+
mcp: { entityTool: "time-blocks" },
|
|
50763
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50764
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50765
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50766
|
+
}),
|
|
50767
|
+
execute: (input, { client }) => {
|
|
50768
|
+
const data = input;
|
|
50769
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
50770
|
+
client.httpClient,
|
|
50771
|
+
client.organizationId,
|
|
50772
|
+
client.workspaceIdNumber,
|
|
50773
|
+
data.ids,
|
|
50774
|
+
data.outbound_sync,
|
|
50775
|
+
void 0
|
|
50776
|
+
]));
|
|
50777
|
+
}
|
|
50778
|
+
},
|
|
50779
|
+
{
|
|
50780
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
50781
|
+
family: "focus",
|
|
50782
|
+
resource: "time-blocks",
|
|
50783
|
+
action: "bulk-partial-update",
|
|
50784
|
+
title: "Bulk Partial Update Time Blocks",
|
|
50785
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
50786
|
+
safety: "update",
|
|
50787
|
+
destructive: false,
|
|
50788
|
+
cli: {
|
|
50789
|
+
group: ["time-blocks", "bulk"],
|
|
50790
|
+
command: "partial-update",
|
|
50791
|
+
interactive: "hidden"
|
|
50792
|
+
},
|
|
50793
|
+
mcp: { entityTool: "time-blocks" },
|
|
50794
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50795
|
+
execute: (input, { client }) => {
|
|
50796
|
+
const data = input;
|
|
50797
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50798
|
+
client.httpClient,
|
|
50799
|
+
client.organizationId,
|
|
50800
|
+
client.workspaceIdNumber,
|
|
50801
|
+
data.payload ?? data.data ?? data,
|
|
50802
|
+
void 0
|
|
50803
|
+
]));
|
|
50804
|
+
}
|
|
50805
|
+
},
|
|
50806
|
+
{
|
|
50807
|
+
id: "focus.time-blocks.create",
|
|
50808
|
+
family: "focus",
|
|
50809
|
+
resource: "time-blocks",
|
|
50810
|
+
action: "create",
|
|
50811
|
+
title: "Create Time Blocks",
|
|
50812
|
+
description: "Create Time Blocks.",
|
|
50813
|
+
safety: "create",
|
|
50814
|
+
destructive: false,
|
|
50815
|
+
cli: {
|
|
50816
|
+
group: ["time-blocks"],
|
|
50817
|
+
command: "create",
|
|
50818
|
+
interactive: "default"
|
|
50819
|
+
},
|
|
50820
|
+
mcp: { entityTool: "time-blocks" },
|
|
50821
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50822
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50823
|
+
start: apiDateTimeString,
|
|
50824
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50825
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50826
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50827
|
+
}),
|
|
50828
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50829
|
+
}),
|
|
50830
|
+
execute: (input, { client }) => {
|
|
50831
|
+
const data = input;
|
|
50832
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50833
|
+
client.httpClient,
|
|
50834
|
+
client.organizationId,
|
|
50835
|
+
client.workspaceIdNumber,
|
|
50836
|
+
data.task_id,
|
|
50837
|
+
data.payload ?? data.data ?? data,
|
|
50838
|
+
void 0
|
|
50839
|
+
]));
|
|
50840
|
+
}
|
|
50841
|
+
},
|
|
50842
|
+
{
|
|
50843
|
+
id: "focus.time-blocks.delete",
|
|
50844
|
+
family: "focus",
|
|
50845
|
+
resource: "time-blocks",
|
|
50846
|
+
action: "delete",
|
|
50847
|
+
title: "Delete Time Blocks",
|
|
50848
|
+
description: "Delete Time Blocks.",
|
|
50849
|
+
safety: "delete",
|
|
50850
|
+
destructive: true,
|
|
50851
|
+
cli: {
|
|
50852
|
+
group: ["time-blocks"],
|
|
50853
|
+
command: "delete",
|
|
50854
|
+
interactive: "default"
|
|
50855
|
+
},
|
|
50856
|
+
mcp: { entityTool: "time-blocks" },
|
|
50857
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50858
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50859
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50860
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50861
|
+
}),
|
|
50862
|
+
execute: (input, { client }) => {
|
|
50863
|
+
const data = input;
|
|
50864
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50865
|
+
client.httpClient,
|
|
50866
|
+
client.organizationId,
|
|
50867
|
+
client.workspaceIdNumber,
|
|
50868
|
+
data.task_id,
|
|
50869
|
+
data.time_block_id,
|
|
50870
|
+
data.outbound_sync,
|
|
50871
|
+
void 0
|
|
50872
|
+
]));
|
|
50873
|
+
}
|
|
50874
|
+
},
|
|
50875
|
+
{
|
|
50876
|
+
id: "focus.time-blocks.get",
|
|
50877
|
+
family: "focus",
|
|
50878
|
+
resource: "time-blocks",
|
|
50879
|
+
action: "get",
|
|
50880
|
+
title: "Get Time Blocks",
|
|
50881
|
+
description: "Get Time Blocks.",
|
|
50882
|
+
safety: "read",
|
|
50883
|
+
destructive: false,
|
|
50884
|
+
cli: {
|
|
50885
|
+
group: ["time-blocks"],
|
|
50886
|
+
command: "get",
|
|
50887
|
+
interactive: "available"
|
|
50888
|
+
},
|
|
50889
|
+
mcp: { entityTool: "time-blocks" },
|
|
50890
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50891
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50892
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50893
|
+
}),
|
|
50894
|
+
execute: (input, { client }) => {
|
|
50895
|
+
const data = input;
|
|
50896
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
50897
|
+
client.httpClient,
|
|
50898
|
+
client.organizationId,
|
|
50899
|
+
client.workspaceIdNumber,
|
|
50900
|
+
data.task_id,
|
|
50901
|
+
data.time_block_id,
|
|
50902
|
+
void 0
|
|
50903
|
+
]));
|
|
50904
|
+
}
|
|
50905
|
+
},
|
|
50906
|
+
{
|
|
50907
|
+
id: "focus.time-blocks.get-range",
|
|
50908
|
+
family: "focus",
|
|
50909
|
+
resource: "time-blocks",
|
|
50910
|
+
action: "get-range",
|
|
50911
|
+
title: "Get Range Time Blocks",
|
|
50912
|
+
description: "Get Range Time Blocks.",
|
|
50913
|
+
safety: "read",
|
|
50914
|
+
destructive: false,
|
|
50915
|
+
cli: {
|
|
50916
|
+
group: ["time-blocks"],
|
|
50917
|
+
command: "get-range",
|
|
50918
|
+
interactive: "hidden"
|
|
50919
|
+
},
|
|
50920
|
+
mcp: { entityTool: "time-blocks" },
|
|
50921
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50922
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
50923
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
50924
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
50925
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
50926
|
+
page: /* @__PURE__ */ number$2(),
|
|
50927
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
50928
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50929
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50930
|
+
}),
|
|
50931
|
+
execute: (input, { client }) => {
|
|
50932
|
+
const data = input;
|
|
50933
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
50934
|
+
client.httpClient,
|
|
50935
|
+
client.organizationId,
|
|
50936
|
+
client.workspaceIdNumber,
|
|
50937
|
+
data,
|
|
50938
|
+
void 0
|
|
50939
|
+
]));
|
|
50940
|
+
}
|
|
50941
|
+
},
|
|
50942
|
+
{
|
|
50943
|
+
id: "focus.time-blocks.get-range-stream",
|
|
50944
|
+
family: "focus",
|
|
50945
|
+
resource: "time-blocks",
|
|
50946
|
+
action: "get-range-stream",
|
|
50947
|
+
title: "Get Range Stream Time Blocks",
|
|
50948
|
+
description: "Get Range Stream Time Blocks.",
|
|
50949
|
+
safety: "read",
|
|
50950
|
+
destructive: false,
|
|
50951
|
+
cli: {
|
|
50952
|
+
group: ["time-blocks"],
|
|
50953
|
+
command: "get-range-stream",
|
|
50954
|
+
interactive: "hidden"
|
|
50955
|
+
},
|
|
50956
|
+
mcp: { entityTool: "time-blocks" },
|
|
50957
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50958
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
50959
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
50960
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
50961
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
50962
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50963
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50964
|
+
}),
|
|
50965
|
+
execute: (input, { client }) => {
|
|
50966
|
+
const data = input;
|
|
50967
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
50968
|
+
client.httpClient,
|
|
50969
|
+
client.organizationId,
|
|
50970
|
+
client.workspaceIdNumber,
|
|
50971
|
+
data,
|
|
50972
|
+
void 0
|
|
50973
|
+
]));
|
|
50974
|
+
}
|
|
50975
|
+
},
|
|
50976
|
+
{
|
|
50977
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
50978
|
+
family: "focus",
|
|
50979
|
+
resource: "time-blocks",
|
|
50980
|
+
action: "get-task-time-blocks",
|
|
50981
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
50982
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
50983
|
+
safety: "read",
|
|
50984
|
+
destructive: false,
|
|
50985
|
+
cli: {
|
|
50986
|
+
group: ["time-blocks"],
|
|
50987
|
+
command: "get-task-time-blocks",
|
|
50988
|
+
interactive: "hidden"
|
|
50989
|
+
},
|
|
50990
|
+
mcp: { entityTool: "time-blocks" },
|
|
50991
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50992
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50993
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50994
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50995
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50996
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50997
|
+
}),
|
|
50998
|
+
execute: (input, { client }) => {
|
|
50999
|
+
const data = input;
|
|
51000
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51076
51001
|
client.httpClient,
|
|
51077
51002
|
client.organizationId,
|
|
51078
51003
|
client.workspaceIdNumber,
|
|
51079
|
-
data.
|
|
51004
|
+
data.task_id,
|
|
51005
|
+
data,
|
|
51080
51006
|
void 0
|
|
51081
51007
|
]));
|
|
51082
51008
|
}
|
|
51083
51009
|
},
|
|
51084
51010
|
{
|
|
51085
|
-
id: "focus.
|
|
51011
|
+
id: "focus.time-blocks.partial-update",
|
|
51086
51012
|
family: "focus",
|
|
51087
|
-
resource: "
|
|
51088
|
-
action: "
|
|
51089
|
-
title: "
|
|
51090
|
-
description: "
|
|
51013
|
+
resource: "time-blocks",
|
|
51014
|
+
action: "partial-update",
|
|
51015
|
+
title: "Partial Update Time Blocks",
|
|
51016
|
+
description: "Partial Update Time Blocks.",
|
|
51091
51017
|
safety: "update",
|
|
51092
51018
|
destructive: false,
|
|
51093
51019
|
cli: {
|
|
51094
|
-
group: ["
|
|
51095
|
-
command: "
|
|
51020
|
+
group: ["time-blocks"],
|
|
51021
|
+
command: "partial-update",
|
|
51096
51022
|
interactive: "default"
|
|
51097
51023
|
},
|
|
51098
|
-
mcp: { entityTool: "
|
|
51099
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51024
|
+
mcp: { entityTool: "time-blocks" },
|
|
51025
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51026
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51027
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51028
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51029
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51030
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51031
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51032
|
+
}),
|
|
51033
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51034
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51035
|
+
}),
|
|
51100
51036
|
execute: (input, { client }) => {
|
|
51101
51037
|
const data = input;
|
|
51102
|
-
return client.runGeneratedRequest("
|
|
51038
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51103
51039
|
client.httpClient,
|
|
51104
51040
|
client.organizationId,
|
|
51105
51041
|
client.workspaceIdNumber,
|
|
51106
51042
|
data.task_id,
|
|
51043
|
+
data.time_block_id,
|
|
51044
|
+
data.payload ?? data.data ?? data,
|
|
51107
51045
|
void 0
|
|
51108
51046
|
]));
|
|
51109
51047
|
}
|
|
51110
51048
|
},
|
|
51111
51049
|
{
|
|
51112
|
-
id: "focus.
|
|
51050
|
+
id: "focus.time-blocks.restore",
|
|
51113
51051
|
family: "focus",
|
|
51114
|
-
resource: "
|
|
51115
|
-
action: "
|
|
51116
|
-
title: "
|
|
51117
|
-
description: "
|
|
51052
|
+
resource: "time-blocks",
|
|
51053
|
+
action: "restore",
|
|
51054
|
+
title: "Restore Time Blocks",
|
|
51055
|
+
description: "Restore Time Blocks.",
|
|
51118
51056
|
safety: "update",
|
|
51119
51057
|
destructive: false,
|
|
51120
51058
|
cli: {
|
|
51121
|
-
group: ["
|
|
51122
|
-
command: "
|
|
51059
|
+
group: ["time-blocks"],
|
|
51060
|
+
command: "restore",
|
|
51123
51061
|
interactive: "default"
|
|
51124
51062
|
},
|
|
51125
|
-
mcp: { entityTool: "
|
|
51126
|
-
inputSchema:
|
|
51063
|
+
mcp: { entityTool: "time-blocks" },
|
|
51064
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51065
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51066
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51067
|
+
}),
|
|
51127
51068
|
execute: (input, { client }) => {
|
|
51128
51069
|
const data = input;
|
|
51129
|
-
return client.
|
|
51070
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51071
|
+
client.httpClient,
|
|
51072
|
+
client.organizationId,
|
|
51073
|
+
client.workspaceIdNumber,
|
|
51074
|
+
data.task_id,
|
|
51075
|
+
data.time_block_id,
|
|
51076
|
+
void 0
|
|
51077
|
+
]));
|
|
51130
51078
|
}
|
|
51131
51079
|
},
|
|
51132
51080
|
{
|
|
51133
|
-
id: "focus.
|
|
51081
|
+
id: "focus.time-blocks.unarchive",
|
|
51134
51082
|
family: "focus",
|
|
51135
|
-
resource: "
|
|
51136
|
-
action: "
|
|
51137
|
-
title: "
|
|
51138
|
-
description: "
|
|
51083
|
+
resource: "time-blocks",
|
|
51084
|
+
action: "unarchive",
|
|
51085
|
+
title: "Unarchive Time Blocks",
|
|
51086
|
+
description: "Unarchive Time Blocks.",
|
|
51139
51087
|
safety: "update",
|
|
51140
51088
|
destructive: false,
|
|
51141
51089
|
cli: {
|
|
51142
|
-
group: ["
|
|
51143
|
-
command: "
|
|
51144
|
-
interactive: "
|
|
51090
|
+
group: ["time-blocks"],
|
|
51091
|
+
command: "unarchive",
|
|
51092
|
+
interactive: "default"
|
|
51145
51093
|
},
|
|
51146
|
-
mcp: { entityTool: "
|
|
51094
|
+
mcp: { entityTool: "time-blocks" },
|
|
51147
51095
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51148
|
-
|
|
51149
|
-
|
|
51150
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
51151
|
-
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51152
|
-
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51153
|
-
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51154
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51155
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51156
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
51157
|
-
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51158
|
-
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51159
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51160
|
-
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51161
|
-
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51162
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
51163
|
-
"none",
|
|
51164
|
-
"low",
|
|
51165
|
-
"medium",
|
|
51166
|
-
"high"
|
|
51167
|
-
])),
|
|
51168
|
-
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51169
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51170
|
-
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51171
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51172
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51173
|
-
}),
|
|
51174
|
-
task_id: /* @__PURE__ */ number$2()
|
|
51096
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51097
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51175
51098
|
}),
|
|
51176
51099
|
execute: (input, { client }) => {
|
|
51177
51100
|
const data = input;
|
|
51178
|
-
return client.runGeneratedRequest("
|
|
51101
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51179
51102
|
client.httpClient,
|
|
51180
51103
|
client.organizationId,
|
|
51181
51104
|
client.workspaceIdNumber,
|
|
51182
51105
|
data.task_id,
|
|
51183
|
-
data.
|
|
51106
|
+
data.time_block_id,
|
|
51184
51107
|
void 0
|
|
51185
51108
|
]));
|
|
51186
51109
|
}
|
|
51187
51110
|
},
|
|
51188
51111
|
{
|
|
51189
|
-
id: "focus.
|
|
51112
|
+
id: "focus.time-blocks.update",
|
|
51190
51113
|
family: "focus",
|
|
51191
|
-
resource: "
|
|
51192
|
-
action: "update
|
|
51193
|
-
title: "Update
|
|
51194
|
-
description: "Update
|
|
51114
|
+
resource: "time-blocks",
|
|
51115
|
+
action: "update",
|
|
51116
|
+
title: "Update Time Blocks",
|
|
51117
|
+
description: "Update Time Blocks.",
|
|
51195
51118
|
safety: "update",
|
|
51196
51119
|
destructive: false,
|
|
51197
51120
|
cli: {
|
|
51198
|
-
group: ["
|
|
51199
|
-
command: "update
|
|
51121
|
+
group: ["time-blocks"],
|
|
51122
|
+
command: "update",
|
|
51200
51123
|
interactive: "default"
|
|
51201
51124
|
},
|
|
51202
|
-
mcp: { entityTool: "
|
|
51125
|
+
mcp: { entityTool: "time-blocks" },
|
|
51203
51126
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51204
|
-
|
|
51205
|
-
|
|
51206
|
-
|
|
51127
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51128
|
+
start: apiDateTimeString,
|
|
51129
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51130
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51131
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51132
|
+
}),
|
|
51133
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51134
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51207
51135
|
}),
|
|
51208
51136
|
execute: (input, { client }) => {
|
|
51209
51137
|
const data = input;
|
|
51210
|
-
return client.runGeneratedRequest("
|
|
51138
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51211
51139
|
client.httpClient,
|
|
51212
51140
|
client.organizationId,
|
|
51213
51141
|
client.workspaceIdNumber,
|
|
51214
|
-
data.
|
|
51215
|
-
data.
|
|
51216
|
-
data.
|
|
51142
|
+
data.task_id,
|
|
51143
|
+
data.time_block_id,
|
|
51144
|
+
data.payload ?? data.data ?? data,
|
|
51217
51145
|
void 0
|
|
51218
51146
|
]));
|
|
51219
51147
|
}
|
|
@@ -51433,8 +51361,7 @@ const generatedFocusOperations = [
|
|
|
51433
51361
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51434
51362
|
"project",
|
|
51435
51363
|
"task",
|
|
51436
|
-
"description"
|
|
51437
|
-
"tags"
|
|
51364
|
+
"description"
|
|
51438
51365
|
]) })),
|
|
51439
51366
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51440
51367
|
}) }),
|
|
@@ -51464,7 +51391,6 @@ const generatedFocusOperations = [
|
|
|
51464
51391
|
},
|
|
51465
51392
|
mcp: { entityTool: "time-entries" },
|
|
51466
51393
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51467
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51468
51394
|
payload: /* @__PURE__ */ looseObject({
|
|
51469
51395
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51470
51396
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51475,12 +51401,11 @@ const generatedFocusOperations = [
|
|
|
51475
51401
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51476
51402
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51477
51403
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51478
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51479
51404
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51405
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51480
51406
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51481
51407
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51482
51408
|
}),
|
|
51483
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51484
51409
|
task_id: /* @__PURE__ */ number$2()
|
|
51485
51410
|
}),
|
|
51486
51411
|
execute: (input, { client }) => {
|
|
@@ -51491,8 +51416,6 @@ const generatedFocusOperations = [
|
|
|
51491
51416
|
client.workspaceIdNumber,
|
|
51492
51417
|
data.task_id,
|
|
51493
51418
|
data.payload ?? data.data ?? data,
|
|
51494
|
-
data.from_recurring_task_id,
|
|
51495
|
-
data.return_occurrence,
|
|
51496
51419
|
void 0
|
|
51497
51420
|
]));
|
|
51498
51421
|
}
|
|
@@ -51512,25 +51435,21 @@ const generatedFocusOperations = [
|
|
|
51512
51435
|
interactive: "default"
|
|
51513
51436
|
},
|
|
51514
51437
|
mcp: { entityTool: "time-entries" },
|
|
51515
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51516
|
-
|
|
51517
|
-
|
|
51518
|
-
|
|
51519
|
-
|
|
51520
|
-
|
|
51521
|
-
|
|
51522
|
-
|
|
51523
|
-
|
|
51524
|
-
|
|
51525
|
-
|
|
51526
|
-
|
|
51527
|
-
|
|
51528
|
-
|
|
51529
|
-
|
|
51530
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51531
|
-
}),
|
|
51532
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51533
|
-
}),
|
|
51438
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51439
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51440
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51441
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51442
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51443
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51444
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51445
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51446
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51447
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51448
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51449
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51450
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51451
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51452
|
+
}) }),
|
|
51534
51453
|
execute: (input, { client }) => {
|
|
51535
51454
|
const data = input;
|
|
51536
51455
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51538,8 +51457,6 @@ const generatedFocusOperations = [
|
|
|
51538
51457
|
client.organizationId,
|
|
51539
51458
|
client.workspaceIdNumber,
|
|
51540
51459
|
data.payload ?? data.data ?? data,
|
|
51541
|
-
data.from_recurring_task_id,
|
|
51542
|
-
data.return_occurrence,
|
|
51543
51460
|
void 0
|
|
51544
51461
|
]));
|
|
51545
51462
|
}
|
|
@@ -51559,11 +51476,7 @@ const generatedFocusOperations = [
|
|
|
51559
51476
|
interactive: "default"
|
|
51560
51477
|
},
|
|
51561
51478
|
mcp: { entityTool: "time-entries" },
|
|
51562
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51563
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51564
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51565
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51566
|
-
}),
|
|
51479
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51567
51480
|
execute: (input, { client }) => {
|
|
51568
51481
|
const data = input;
|
|
51569
51482
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51571,8 +51484,6 @@ const generatedFocusOperations = [
|
|
|
51571
51484
|
client.organizationId,
|
|
51572
51485
|
client.workspaceIdNumber,
|
|
51573
51486
|
data.time_entry_id,
|
|
51574
|
-
data.from_recurring_task_id,
|
|
51575
|
-
data.return_occurrence,
|
|
51576
51487
|
void 0
|
|
51577
51488
|
]));
|
|
51578
51489
|
}
|
|
@@ -51653,7 +51564,6 @@ const generatedFocusOperations = [
|
|
|
51653
51564
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51654
51565
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51655
51566
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51656
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51657
51567
|
status_id: /* @__PURE__ */ number$2(),
|
|
51658
51568
|
task_id: /* @__PURE__ */ number$2(),
|
|
51659
51569
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51669,6 +51579,33 @@ const generatedFocusOperations = [
|
|
|
51669
51579
|
]));
|
|
51670
51580
|
}
|
|
51671
51581
|
},
|
|
51582
|
+
{
|
|
51583
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51584
|
+
family: "focus",
|
|
51585
|
+
resource: "time-entries",
|
|
51586
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
51587
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51588
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51589
|
+
safety: "read",
|
|
51590
|
+
destructive: false,
|
|
51591
|
+
cli: {
|
|
51592
|
+
group: ["time-entries"],
|
|
51593
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
51594
|
+
interactive: "available"
|
|
51595
|
+
},
|
|
51596
|
+
mcp: { entityTool: "time-entries" },
|
|
51597
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51598
|
+
execute: (input, { client }) => {
|
|
51599
|
+
const data = input;
|
|
51600
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51601
|
+
client.httpClient,
|
|
51602
|
+
client.organizationId,
|
|
51603
|
+
client.workspaceIdNumber,
|
|
51604
|
+
data,
|
|
51605
|
+
void 0
|
|
51606
|
+
]));
|
|
51607
|
+
}
|
|
51608
|
+
},
|
|
51672
51609
|
{
|
|
51673
51610
|
id: "focus.time-entries.get-task-time-entries",
|
|
51674
51611
|
family: "focus",
|
|
@@ -51690,6 +51627,7 @@ const generatedFocusOperations = [
|
|
|
51690
51627
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51691
51628
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51692
51629
|
task_id: /* @__PURE__ */ number$2(),
|
|
51630
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51693
51631
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51694
51632
|
}),
|
|
51695
51633
|
execute: (input, { client }) => {
|
|
@@ -51802,14 +51740,12 @@ const generatedFocusOperations = [
|
|
|
51802
51740
|
},
|
|
51803
51741
|
mcp: { entityTool: "time-entries" },
|
|
51804
51742
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51805
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51806
51743
|
payload: /* @__PURE__ */ looseObject({
|
|
51807
51744
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51808
51745
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51809
51746
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51810
51747
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51811
51748
|
}),
|
|
51812
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51813
51749
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51814
51750
|
}),
|
|
51815
51751
|
execute: (input, { client }) => {
|
|
@@ -51820,8 +51756,6 @@ const generatedFocusOperations = [
|
|
|
51820
51756
|
client.workspaceIdNumber,
|
|
51821
51757
|
data.time_entry_id,
|
|
51822
51758
|
data.payload ?? data.data ?? data,
|
|
51823
|
-
data.from_recurring_task_id,
|
|
51824
|
-
data.return_occurrence,
|
|
51825
51759
|
void 0
|
|
51826
51760
|
]));
|
|
51827
51761
|
}
|
|
@@ -52079,7 +52013,6 @@ const generatedFocusOperations = [
|
|
|
52079
52013
|
},
|
|
52080
52014
|
mcp: { entityTool: "time-entries" },
|
|
52081
52015
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52082
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52083
52016
|
payload: /* @__PURE__ */ looseObject({
|
|
52084
52017
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52085
52018
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52089,9 +52022,9 @@ const generatedFocusOperations = [
|
|
|
52089
52022
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52090
52023
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52091
52024
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52025
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52092
52026
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52093
52027
|
}),
|
|
52094
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52095
52028
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52096
52029
|
}),
|
|
52097
52030
|
execute: (input, { client }) => {
|
|
@@ -52102,8 +52035,6 @@ const generatedFocusOperations = [
|
|
|
52102
52035
|
client.workspaceIdNumber,
|
|
52103
52036
|
data.time_entry_id,
|
|
52104
52037
|
data.payload ?? data.data ?? data,
|
|
52105
|
-
data.from_recurring_task_id,
|
|
52106
|
-
data.return_occurrence,
|
|
52107
52038
|
void 0
|
|
52108
52039
|
]));
|
|
52109
52040
|
}
|
|
@@ -52619,40 +52550,6 @@ const generatedFocusOperations = [
|
|
|
52619
52550
|
]));
|
|
52620
52551
|
}
|
|
52621
52552
|
},
|
|
52622
|
-
{
|
|
52623
|
-
id: "focus.timesheets.get-status-counts",
|
|
52624
|
-
family: "focus",
|
|
52625
|
-
resource: "timesheets",
|
|
52626
|
-
action: "get-status-counts",
|
|
52627
|
-
title: "Get Status Counts Timesheets",
|
|
52628
|
-
description: "Get Status Counts Timesheets.",
|
|
52629
|
-
safety: "read",
|
|
52630
|
-
destructive: false,
|
|
52631
|
-
cli: {
|
|
52632
|
-
group: ["timesheets"],
|
|
52633
|
-
command: "get-status-counts",
|
|
52634
|
-
interactive: "hidden"
|
|
52635
|
-
},
|
|
52636
|
-
mcp: { entityTool: "timesheets" },
|
|
52637
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52638
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52639
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
52640
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
52641
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
52642
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52643
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52644
|
-
}),
|
|
52645
|
-
execute: (input, { client }) => {
|
|
52646
|
-
const data = input;
|
|
52647
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52648
|
-
client.httpClient,
|
|
52649
|
-
client.organizationId,
|
|
52650
|
-
client.workspaceIdNumber,
|
|
52651
|
-
data,
|
|
52652
|
-
void 0
|
|
52653
|
-
]));
|
|
52654
|
-
}
|
|
52655
|
-
},
|
|
52656
52553
|
{
|
|
52657
52554
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52658
52555
|
family: "focus",
|
|
@@ -53202,33 +53099,6 @@ const generatedFocusOperations = [
|
|
|
53202
53099
|
]));
|
|
53203
53100
|
}
|
|
53204
53101
|
},
|
|
53205
|
-
{
|
|
53206
|
-
id: "focus.track-team-invites.post",
|
|
53207
|
-
family: "focus",
|
|
53208
|
-
resource: "track-team-invites",
|
|
53209
|
-
action: "post",
|
|
53210
|
-
title: "Post Track Team Invites",
|
|
53211
|
-
description: "Post Track Team Invites.",
|
|
53212
|
-
safety: "create",
|
|
53213
|
-
destructive: false,
|
|
53214
|
-
cli: {
|
|
53215
|
-
group: ["track-team-invites"],
|
|
53216
|
-
command: "post",
|
|
53217
|
-
interactive: "default"
|
|
53218
|
-
},
|
|
53219
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53220
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53221
|
-
execute: (input, { client }) => {
|
|
53222
|
-
const data = input;
|
|
53223
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53224
|
-
client.httpClient,
|
|
53225
|
-
client.organizationId,
|
|
53226
|
-
client.workspaceIdNumber,
|
|
53227
|
-
data.payload ?? data.data ?? data,
|
|
53228
|
-
void 0
|
|
53229
|
-
]));
|
|
53230
|
-
}
|
|
53231
|
-
},
|
|
53232
53102
|
{
|
|
53233
53103
|
id: "focus.users.list",
|
|
53234
53104
|
family: "focus",
|
|
@@ -53250,56 +53120,6 @@ const generatedFocusOperations = [
|
|
|
53250
53120
|
return client.listOrgUsers(data);
|
|
53251
53121
|
}
|
|
53252
53122
|
},
|
|
53253
|
-
{
|
|
53254
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53255
|
-
family: "focus",
|
|
53256
|
-
resource: "users",
|
|
53257
|
-
action: "settings-email-unsubscribe",
|
|
53258
|
-
title: "Settings Email Unsubscribe Users",
|
|
53259
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53260
|
-
safety: "update",
|
|
53261
|
-
destructive: false,
|
|
53262
|
-
cli: {
|
|
53263
|
-
group: ["users", "settings"],
|
|
53264
|
-
command: "email-unsubscribe",
|
|
53265
|
-
interactive: "default"
|
|
53266
|
-
},
|
|
53267
|
-
mcp: { entityTool: "users" },
|
|
53268
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53269
|
-
execute: (input, { client }) => {
|
|
53270
|
-
const data = input;
|
|
53271
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53272
|
-
client.httpClient,
|
|
53273
|
-
data.token,
|
|
53274
|
-
void 0
|
|
53275
|
-
]));
|
|
53276
|
-
}
|
|
53277
|
-
},
|
|
53278
|
-
{
|
|
53279
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53280
|
-
family: "focus",
|
|
53281
|
-
resource: "users",
|
|
53282
|
-
action: "settings-email-unsubscribe-page",
|
|
53283
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53284
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53285
|
-
safety: "read",
|
|
53286
|
-
destructive: false,
|
|
53287
|
-
cli: {
|
|
53288
|
-
group: ["users", "settings"],
|
|
53289
|
-
command: "email-unsubscribe-page",
|
|
53290
|
-
interactive: "available"
|
|
53291
|
-
},
|
|
53292
|
-
mcp: { entityTool: "users" },
|
|
53293
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53294
|
-
execute: (input, { client }) => {
|
|
53295
|
-
const data = input;
|
|
53296
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53297
|
-
client.httpClient,
|
|
53298
|
-
data.token,
|
|
53299
|
-
void 0
|
|
53300
|
-
]));
|
|
53301
|
-
}
|
|
53302
|
-
},
|
|
53303
53123
|
{
|
|
53304
53124
|
id: "focus.users.settings-list",
|
|
53305
53125
|
family: "focus",
|
|
@@ -53361,9 +53181,6 @@ const generatedFocusOperations = [
|
|
|
53361
53181
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53362
53182
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53363
53183
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53364
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53365
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53366
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53367
53184
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53368
53185
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53369
53186
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54906,7 +54723,7 @@ function registerWorkspaceTools(server) {
|
|
|
54906
54723
|
//#region src/package-version.ts
|
|
54907
54724
|
function mcpPackageVersion() {
|
|
54908
54725
|
try {
|
|
54909
|
-
return "1.11.
|
|
54726
|
+
return "1.11.67";
|
|
54910
54727
|
} catch {
|
|
54911
54728
|
return "unknown";
|
|
54912
54729
|
}
|
|
@@ -55081,7 +54898,7 @@ import_main.default.config({
|
|
|
55081
54898
|
quiet: true,
|
|
55082
54899
|
ignore: ["MISSING_ENV_FILE"]
|
|
55083
54900
|
});
|
|
55084
|
-
const packageVersion = "1.11.
|
|
54901
|
+
const packageVersion = "1.11.67";
|
|
55085
54902
|
function resolvePublicUrls() {
|
|
55086
54903
|
return {
|
|
55087
54904
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55146,4 +54963,4 @@ function bootstrapServer(options = {}) {
|
|
|
55146
54963
|
//#endregion
|
|
55147
54964
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55148
54965
|
|
|
55149
|
-
//# sourceMappingURL=src-
|
|
54966
|
+
//# sourceMappingURL=src-C45SLn6O.js.map
|