@togglhq/mcp 1.11.78 → 1.11.79
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-DfVAsJaO.js → src-lO2aIb8M.js} +1151 -826
- package/package.json +1 -1
|
@@ -34683,6 +34683,7 @@ 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()),
|
|
34686
34687
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34687
34688
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34688
34689
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34769,6 +34770,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34770
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34771
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34772
|
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."))),
|
|
34772
34774
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34775
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34776
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34830,6 +34832,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34832
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34833
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34834
|
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."))),
|
|
34833
34836
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34837
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34838
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34990,6 +34993,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34990
34993
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34991
34994
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34992
34995
|
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."))),
|
|
34993
34998
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34994
34999
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34995
35000
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35075,8 +35080,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35075
35080
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35076
35081
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35077
35082
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35083
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35078
35084
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35079
35085
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35086
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35080
35087
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35081
35088
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35082
35089
|
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)."))),
|
|
@@ -35132,6 +35139,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35132
35139
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35133
35140
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35134
35141
|
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."))),
|
|
35135
35144
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35136
35145
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35137
35146
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35304,8 +35313,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35304
35313
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35305
35314
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35306
35315
|
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()),
|
|
35309
35316
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35310
35317
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35311
35318
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35362,6 +35369,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35362
35369
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35363
35370
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35364
35371
|
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."))),
|
|
35365
35373
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35366
35374
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35367
35375
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35398,6 +35406,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35398
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35399
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35400
35408
|
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."))),
|
|
35401
35410
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35402
35411
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35403
35412
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35418,7 +35427,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35418
35427
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35419
35428
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35420
35429
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35422
35430
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35423
35431
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35424
35432
|
});
|
|
@@ -35447,8 +35455,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35447
35455
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35448
35456
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35449
35457
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35450
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35451
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35458
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35452
35459
|
});
|
|
35453
35460
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35454
35461
|
//#endregion
|
|
@@ -37322,7 +37329,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37322
37329
|
})
|
|
37323
37330
|
}).json();
|
|
37324
37331
|
}
|
|
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) {
|
|
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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37326
37333
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37327
37334
|
signal,
|
|
37328
37335
|
searchParams: buildSearchParams$2({
|
|
@@ -37343,6 +37350,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37343
37350
|
include_rates,
|
|
37344
37351
|
pinned_ids,
|
|
37345
37352
|
has_group,
|
|
37353
|
+
track_without_focus,
|
|
37346
37354
|
cf_filter,
|
|
37347
37355
|
include_custom_fields,
|
|
37348
37356
|
include_calendar_integration
|
|
@@ -37444,10 +37452,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37444
37452
|
}
|
|
37445
37453
|
//#endregion
|
|
37446
37454
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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) {
|
|
37455
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37448
37456
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37449
37457
|
signal,
|
|
37450
37458
|
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,
|
|
37451
37469
|
page,
|
|
37452
37470
|
per_page,
|
|
37453
37471
|
order_by,
|
|
@@ -37697,7 +37715,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37697
37715
|
}
|
|
37698
37716
|
//#endregion
|
|
37699
37717
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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,
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37701
37719
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37702
37720
|
signal,
|
|
37703
37721
|
searchParams: buildSearchParams$2({
|
|
@@ -37710,7 +37728,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37710
37728
|
toggl_user_id,
|
|
37711
37729
|
name,
|
|
37712
37730
|
has_time_entries,
|
|
37713
|
-
has_time_blocks,
|
|
37714
37731
|
has_dates,
|
|
37715
37732
|
private: private_,
|
|
37716
37733
|
archived,
|
|
@@ -37733,10 +37750,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37733
37750
|
priority,
|
|
37734
37751
|
is_priority,
|
|
37735
37752
|
state,
|
|
37736
|
-
timeblock_start_from,
|
|
37737
|
-
timeblock_start_until,
|
|
37738
|
-
time_block_id,
|
|
37739
|
-
time_block_completed,
|
|
37740
37753
|
team_id,
|
|
37741
37754
|
assignee_team_id,
|
|
37742
37755
|
assignee_user_id,
|
|
@@ -37748,7 +37761,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37748
37761
|
include_assignees,
|
|
37749
37762
|
include_parent_matches,
|
|
37750
37763
|
disable_aggregations,
|
|
37751
|
-
cf_filter
|
|
37764
|
+
cf_filter,
|
|
37765
|
+
recurring_occurrences_after,
|
|
37766
|
+
max_recurring_occurrences_after,
|
|
37767
|
+
recurring_task_read,
|
|
37768
|
+
include_projected_occurrences
|
|
37752
37769
|
})
|
|
37753
37770
|
}).json();
|
|
37754
37771
|
}
|
|
@@ -37823,16 +37840,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37823
37840
|
})
|
|
37824
37841
|
}).json();
|
|
37825
37842
|
}
|
|
37826
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37843
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37827
37844
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37828
37845
|
signal,
|
|
37829
37846
|
searchParams: buildSearchParams$2({
|
|
37830
37847
|
date_from,
|
|
37831
|
-
date_to
|
|
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, include_unassigned, 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
|
+
include_unassigned,
|
|
37861
|
+
search,
|
|
37862
|
+
only_me,
|
|
37863
|
+
page,
|
|
37864
|
+
per_page
|
|
37865
|
+
})
|
|
37866
|
+
}).json();
|
|
37867
|
+
}
|
|
37868
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37869
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37870
|
+
signal,
|
|
37871
|
+
searchParams: buildSearchParams$2({
|
|
37872
|
+
project_id,
|
|
37873
|
+
without_project,
|
|
37874
|
+
include_unassigned,
|
|
37875
|
+
search,
|
|
37876
|
+
only_me,
|
|
37877
|
+
page,
|
|
37878
|
+
per_page
|
|
37832
37879
|
})
|
|
37833
37880
|
}).json();
|
|
37834
37881
|
}
|
|
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) {
|
|
37882
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37836
37883
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37837
37884
|
signal,
|
|
37838
37885
|
searchParams: buildSearchParams$2({
|
|
@@ -37848,11 +37895,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37848
37895
|
assignee_team_id,
|
|
37849
37896
|
assignee_user_id,
|
|
37850
37897
|
tag_id,
|
|
37851
|
-
include_assignees
|
|
37898
|
+
include_assignees,
|
|
37899
|
+
recurring_occurrences_after,
|
|
37900
|
+
max_recurring_occurrences_after,
|
|
37901
|
+
recurring_task_read,
|
|
37902
|
+
include_projected_occurrences
|
|
37852
37903
|
})
|
|
37853
37904
|
}).json();
|
|
37854
37905
|
}
|
|
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,
|
|
37906
|
+
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37856
37907
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37857
37908
|
signal,
|
|
37858
37909
|
searchParams: buildSearchParams$2({
|
|
@@ -37864,7 +37915,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37864
37915
|
name,
|
|
37865
37916
|
include_parent_matches,
|
|
37866
37917
|
has_time_entries,
|
|
37867
|
-
has_time_blocks,
|
|
37868
37918
|
has_dates,
|
|
37869
37919
|
private: private_,
|
|
37870
37920
|
archived,
|
|
@@ -37887,8 +37937,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37887
37937
|
priority,
|
|
37888
37938
|
is_priority,
|
|
37889
37939
|
state,
|
|
37890
|
-
time_block_id,
|
|
37891
|
-
time_block_completed,
|
|
37892
37940
|
team_id,
|
|
37893
37941
|
assignee_team_id,
|
|
37894
37942
|
assignee_user_id,
|
|
@@ -37897,7 +37945,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37897
37945
|
recurring_task_ids,
|
|
37898
37946
|
client_id,
|
|
37899
37947
|
include_assignees,
|
|
37900
|
-
cf_filter
|
|
37948
|
+
cf_filter,
|
|
37949
|
+
recurring_occurrences_after,
|
|
37950
|
+
max_recurring_occurrences_after,
|
|
37951
|
+
recurring_task_read,
|
|
37952
|
+
include_projected_occurrences
|
|
37901
37953
|
})
|
|
37902
37954
|
}).json();
|
|
37903
37955
|
}
|
|
@@ -37952,6 +38004,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37952
38004
|
})
|
|
37953
38005
|
}).json();
|
|
37954
38006
|
}
|
|
38007
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38008
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38009
|
+
signal,
|
|
38010
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38011
|
+
}).json();
|
|
38012
|
+
}
|
|
37955
38013
|
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) {
|
|
37956
38014
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37957
38015
|
signal,
|
|
@@ -37977,7 +38035,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
37977
38035
|
}
|
|
37978
38036
|
//#endregion
|
|
37979
38037
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
37980
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
38038
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37981
38039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37982
38040
|
signal,
|
|
37983
38041
|
searchParams: buildSearchParams$2({
|
|
@@ -37985,21 +38043,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
37985
38043
|
per_page,
|
|
37986
38044
|
order_by,
|
|
37987
38045
|
type,
|
|
37988
|
-
archived
|
|
37989
|
-
time_block_id
|
|
38046
|
+
archived
|
|
37990
38047
|
})
|
|
37991
38048
|
}).json();
|
|
37992
38049
|
}
|
|
37993
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38050
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37994
38051
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37995
38052
|
signal,
|
|
37996
|
-
json: data
|
|
38053
|
+
json: data,
|
|
38054
|
+
searchParams: buildSearchParams$2({
|
|
38055
|
+
from_recurring_task_id,
|
|
38056
|
+
return_occurrence
|
|
38057
|
+
})
|
|
37997
38058
|
}).json();
|
|
37998
38059
|
}
|
|
37999
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38060
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38000
38061
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38001
38062
|
signal,
|
|
38002
|
-
json: data
|
|
38063
|
+
json: data,
|
|
38064
|
+
searchParams: buildSearchParams$2({
|
|
38065
|
+
from_recurring_task_id,
|
|
38066
|
+
return_occurrence
|
|
38067
|
+
})
|
|
38003
38068
|
}).json();
|
|
38004
38069
|
}
|
|
38005
38070
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38050,7 +38115,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38050
38115
|
json: data
|
|
38051
38116
|
}).json();
|
|
38052
38117
|
}
|
|
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) {
|
|
38118
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38054
38119
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38055
38120
|
signal,
|
|
38056
38121
|
searchParams: buildSearchParams$2({
|
|
@@ -38058,6 +38123,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38058
38123
|
date_to,
|
|
38059
38124
|
task_id,
|
|
38060
38125
|
status_id,
|
|
38126
|
+
project_id,
|
|
38061
38127
|
type,
|
|
38062
38128
|
order_by,
|
|
38063
38129
|
archived,
|
|
@@ -38072,28 +38138,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38072
38138
|
json: data
|
|
38073
38139
|
}).json();
|
|
38074
38140
|
}
|
|
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
|
-
}
|
|
38081
38141
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38082
38142
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38083
38143
|
}
|
|
38084
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38144
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38085
38145
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38086
38146
|
signal,
|
|
38087
|
-
json: data
|
|
38147
|
+
json: data,
|
|
38148
|
+
searchParams: buildSearchParams$2({
|
|
38149
|
+
from_recurring_task_id,
|
|
38150
|
+
return_occurrence
|
|
38151
|
+
})
|
|
38088
38152
|
}).json();
|
|
38089
38153
|
}
|
|
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}`, {
|
|
38154
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38155
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38156
|
+
signal,
|
|
38157
|
+
searchParams: buildSearchParams$2({
|
|
38158
|
+
from_recurring_task_id,
|
|
38159
|
+
return_occurrence
|
|
38160
|
+
})
|
|
38161
|
+
}).json();
|
|
38092
38162
|
}
|
|
38093
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38163
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38094
38164
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38095
38165
|
signal,
|
|
38096
|
-
json: data
|
|
38166
|
+
json: data,
|
|
38167
|
+
searchParams: buildSearchParams$2({
|
|
38168
|
+
from_recurring_task_id,
|
|
38169
|
+
return_occurrence
|
|
38170
|
+
})
|
|
38097
38171
|
}).json();
|
|
38098
38172
|
}
|
|
38099
38173
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -41805,13 +41879,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41805
41879
|
}
|
|
41806
41880
|
//#endregion
|
|
41807
41881
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
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) {
|
|
41882
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41809
41883
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41810
41884
|
signal,
|
|
41811
41885
|
searchParams: buildSearchParams$2({
|
|
41812
41886
|
workspace_id,
|
|
41813
41887
|
entity_type,
|
|
41814
41888
|
entity_id,
|
|
41889
|
+
project_id,
|
|
41890
|
+
custom_field_id,
|
|
41815
41891
|
action,
|
|
41816
41892
|
user_id,
|
|
41817
41893
|
page_size,
|
|
@@ -41820,12 +41896,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41820
41896
|
})
|
|
41821
41897
|
}).json();
|
|
41822
41898
|
}
|
|
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) {
|
|
41899
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41824
41900
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41825
41901
|
signal,
|
|
41826
41902
|
searchParams: buildSearchParams$2({
|
|
41827
41903
|
entity_type,
|
|
41828
41904
|
entity_id,
|
|
41905
|
+
project_id,
|
|
41906
|
+
custom_field_id,
|
|
41829
41907
|
action,
|
|
41830
41908
|
user_id,
|
|
41831
41909
|
page_size,
|
|
@@ -41978,13 +42056,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
41978
42056
|
}
|
|
41979
42057
|
//#endregion
|
|
41980
42058
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
41981
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42059
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
41982
42060
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
41983
42061
|
signal,
|
|
41984
42062
|
searchParams: buildSearchParams$2({
|
|
41985
|
-
user_id,
|
|
41986
42063
|
start_date,
|
|
41987
42064
|
end_date,
|
|
42065
|
+
user_id,
|
|
42066
|
+
team_id,
|
|
41988
42067
|
private: private_,
|
|
41989
42068
|
task_source,
|
|
41990
42069
|
unit,
|
|
@@ -42044,6 +42123,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42044
42123
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42045
42124
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42046
42125
|
}
|
|
42126
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42127
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42128
|
+
}
|
|
42129
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42130
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42131
|
+
signal,
|
|
42132
|
+
json: data
|
|
42133
|
+
}).json();
|
|
42134
|
+
}
|
|
42047
42135
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42048
42136
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42049
42137
|
signal,
|
|
@@ -42307,7 +42395,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42307
42395
|
}
|
|
42308
42396
|
//#endregion
|
|
42309
42397
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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) {
|
|
42398
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
42311
42399
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42312
42400
|
signal,
|
|
42313
42401
|
searchParams: buildSearchParams$2({
|
|
@@ -42333,6 +42421,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42333
42421
|
user_id,
|
|
42334
42422
|
only_me,
|
|
42335
42423
|
include_drafts,
|
|
42424
|
+
include_recurring_series,
|
|
42336
42425
|
cf_filter
|
|
42337
42426
|
})
|
|
42338
42427
|
}).json();
|
|
@@ -42351,9 +42440,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42351
42440
|
json: data
|
|
42352
42441
|
}).json();
|
|
42353
42442
|
}
|
|
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
|
-
}
|
|
42357
42443
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42358
42444
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42359
42445
|
}
|
|
@@ -42379,6 +42465,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42379
42465
|
}).json();
|
|
42380
42466
|
}
|
|
42381
42467
|
//#endregion
|
|
42468
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42469
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42470
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42471
|
+
}
|
|
42472
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42473
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42474
|
+
signal,
|
|
42475
|
+
json: data,
|
|
42476
|
+
searchParams: buildSearchParams$2({
|
|
42477
|
+
response_format,
|
|
42478
|
+
include_dicts
|
|
42479
|
+
})
|
|
42480
|
+
}).json();
|
|
42481
|
+
}
|
|
42482
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42483
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
42484
|
+
signal,
|
|
42485
|
+
json: data,
|
|
42486
|
+
searchParams: buildSearchParams$2({
|
|
42487
|
+
response_format,
|
|
42488
|
+
include_dicts
|
|
42489
|
+
})
|
|
42490
|
+
}).json();
|
|
42491
|
+
}
|
|
42492
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42493
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
42494
|
+
signal,
|
|
42495
|
+
json: data
|
|
42496
|
+
}).json();
|
|
42497
|
+
}
|
|
42498
|
+
//#endregion
|
|
42382
42499
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42383
42500
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42384
42501
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42540,7 +42657,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42540
42657
|
}
|
|
42541
42658
|
//#endregion
|
|
42542
42659
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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) {
|
|
42660
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42544
42661
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42545
42662
|
signal,
|
|
42546
42663
|
searchParams: buildSearchParams$2({
|
|
@@ -42548,6 +42665,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42548
42665
|
per_group,
|
|
42549
42666
|
assignee_user_id,
|
|
42550
42667
|
assignee_team_id,
|
|
42668
|
+
include_unassigned,
|
|
42551
42669
|
project_id,
|
|
42552
42670
|
task_id,
|
|
42553
42671
|
include_drafts,
|
|
@@ -42592,6 +42710,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42592
42710
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42593
42711
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42594
42712
|
}
|
|
42713
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42714
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42715
|
+
}
|
|
42716
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42717
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42718
|
+
}
|
|
42719
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42720
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42721
|
+
signal,
|
|
42722
|
+
json: data
|
|
42723
|
+
}).json();
|
|
42724
|
+
}
|
|
42595
42725
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42596
42726
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42597
42727
|
signal,
|
|
@@ -42601,6 +42731,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42601
42731
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42602
42732
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42603
42733
|
}
|
|
42734
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42735
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42736
|
+
signal,
|
|
42737
|
+
json: data
|
|
42738
|
+
}).json();
|
|
42739
|
+
}
|
|
42740
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42741
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42742
|
+
}
|
|
42743
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42744
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42745
|
+
signal,
|
|
42746
|
+
json: data
|
|
42747
|
+
}).json();
|
|
42748
|
+
}
|
|
42604
42749
|
//#endregion
|
|
42605
42750
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42606
42751
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42657,9 +42802,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42657
42802
|
}
|
|
42658
42803
|
//#endregion
|
|
42659
42804
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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) {
|
|
42805
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
42661
42806
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42662
42807
|
signal,
|
|
42808
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42663
42809
|
searchParams: buildSearchParams$2({
|
|
42664
42810
|
project_id,
|
|
42665
42811
|
source,
|
|
@@ -42688,13 +42834,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42688
42834
|
min_days,
|
|
42689
42835
|
include_drafts,
|
|
42690
42836
|
cf_filter,
|
|
42691
|
-
user_cf_filter
|
|
42837
|
+
user_cf_filter,
|
|
42838
|
+
recurring_occurrences_after,
|
|
42839
|
+
max_recurring_occurrences_after,
|
|
42840
|
+
recurring_task_read,
|
|
42841
|
+
include_projected_occurrences
|
|
42692
42842
|
})
|
|
42693
42843
|
}).json();
|
|
42694
42844
|
}
|
|
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) {
|
|
42845
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
42696
42846
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42697
42847
|
signal,
|
|
42848
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42698
42849
|
searchParams: buildSearchParams$2({
|
|
42699
42850
|
team_id,
|
|
42700
42851
|
project_id,
|
|
@@ -42723,13 +42874,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42723
42874
|
min_days,
|
|
42724
42875
|
include_drafts,
|
|
42725
42876
|
cf_filter,
|
|
42726
|
-
user_cf_filter
|
|
42877
|
+
user_cf_filter,
|
|
42878
|
+
recurring_occurrences_after,
|
|
42879
|
+
max_recurring_occurrences_after,
|
|
42880
|
+
recurring_task_read,
|
|
42881
|
+
include_projected_occurrences
|
|
42727
42882
|
})
|
|
42728
42883
|
}).json();
|
|
42729
42884
|
}
|
|
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) {
|
|
42885
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
42731
42886
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42732
42887
|
signal,
|
|
42888
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42733
42889
|
searchParams: buildSearchParams$2({
|
|
42734
42890
|
source,
|
|
42735
42891
|
priority,
|
|
@@ -42759,6 +42915,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42759
42915
|
include_drafts,
|
|
42760
42916
|
cf_filter,
|
|
42761
42917
|
user_cf_filter,
|
|
42918
|
+
recurring_occurrences_after,
|
|
42919
|
+
max_recurring_occurrences_after,
|
|
42920
|
+
recurring_task_read,
|
|
42921
|
+
include_projected_occurrences,
|
|
42762
42922
|
page,
|
|
42763
42923
|
per_page,
|
|
42764
42924
|
order_by
|
|
@@ -42786,104 +42946,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42786
42946
|
}).json();
|
|
42787
42947
|
}
|
|
42788
42948
|
//#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
|
|
42887
42949
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42888
42950
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42889
42951
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -42921,6 +42983,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
42921
42983
|
})
|
|
42922
42984
|
}).json();
|
|
42923
42985
|
}
|
|
42986
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
42987
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
42988
|
+
}
|
|
42989
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
42990
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
42991
|
+
}
|
|
42924
42992
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
42925
42993
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
42926
42994
|
signal,
|
|
@@ -42948,6 +43016,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42948
43016
|
json: data
|
|
42949
43017
|
}).json();
|
|
42950
43018
|
}
|
|
43019
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
43020
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
43021
|
+
signal,
|
|
43022
|
+
searchParams: buildSearchParams$2({
|
|
43023
|
+
category_id,
|
|
43024
|
+
date
|
|
43025
|
+
})
|
|
43026
|
+
}).json();
|
|
43027
|
+
}
|
|
43028
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
43029
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
43030
|
+
signal,
|
|
43031
|
+
searchParams: buildSearchParams$2({
|
|
43032
|
+
category_id,
|
|
43033
|
+
year,
|
|
43034
|
+
page,
|
|
43035
|
+
rows
|
|
43036
|
+
})
|
|
43037
|
+
}).json();
|
|
43038
|
+
}
|
|
42951
43039
|
//#endregion
|
|
42952
43040
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
42953
43041
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43048,6 +43136,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43048
43136
|
json: data
|
|
43049
43137
|
}).json();
|
|
43050
43138
|
}
|
|
43139
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43140
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43141
|
+
signal,
|
|
43142
|
+
searchParams: buildSearchParams$2({
|
|
43143
|
+
date_from,
|
|
43144
|
+
date_to,
|
|
43145
|
+
setup_id,
|
|
43146
|
+
user_account_ids,
|
|
43147
|
+
approver_user_account_ids,
|
|
43148
|
+
team_ids
|
|
43149
|
+
})
|
|
43150
|
+
}).json();
|
|
43151
|
+
}
|
|
43051
43152
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43052
43153
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43053
43154
|
}
|
|
@@ -43091,7 +43192,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43091
43192
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43092
43193
|
}
|
|
43093
43194
|
//#endregion
|
|
43195
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43196
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43197
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43198
|
+
signal,
|
|
43199
|
+
json: data
|
|
43200
|
+
}).json();
|
|
43201
|
+
}
|
|
43202
|
+
//#endregion
|
|
43094
43203
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43204
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43205
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43206
|
+
}
|
|
43207
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43208
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43209
|
+
}
|
|
43095
43210
|
async function getUserSettings(httpClient, signal) {
|
|
43096
43211
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43097
43212
|
}
|
|
@@ -43331,6 +43446,7 @@ const generatedFocusOperations = [
|
|
|
43331
43446
|
mcp: { entityTool: "audit-log" },
|
|
43332
43447
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43333
43448
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43449
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43334
43450
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43335
43451
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43336
43452
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43338,6 +43454,7 @@ const generatedFocusOperations = [
|
|
|
43338
43454
|
from: /* @__PURE__ */ string$1(),
|
|
43339
43455
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43340
43456
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43457
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43341
43458
|
to: /* @__PURE__ */ string$1(),
|
|
43342
43459
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43343
43460
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43371,6 +43488,7 @@ const generatedFocusOperations = [
|
|
|
43371
43488
|
mcp: { entityTool: "audit-log" },
|
|
43372
43489
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43373
43490
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43491
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43374
43492
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43375
43493
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43376
43494
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43378,6 +43496,7 @@ const generatedFocusOperations = [
|
|
|
43378
43496
|
from: /* @__PURE__ */ string$1(),
|
|
43379
43497
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43380
43498
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43499
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43381
43500
|
to: /* @__PURE__ */ string$1(),
|
|
43382
43501
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43383
43502
|
}),
|
|
@@ -43417,6 +43536,7 @@ const generatedFocusOperations = [
|
|
|
43417
43536
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43418
43537
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43419
43538
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43539
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43420
43540
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43421
43541
|
user_id: /* @__PURE__ */ number$2()
|
|
43422
43542
|
}),
|
|
@@ -43666,8 +43786,6 @@ const generatedFocusOperations = [
|
|
|
43666
43786
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43667
43787
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43668
43788
|
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()),
|
|
43671
43789
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43672
43790
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43673
43791
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43701,8 +43819,6 @@ const generatedFocusOperations = [
|
|
|
43701
43819
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43702
43820
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43703
43821
|
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()),
|
|
43706
43822
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43707
43823
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43708
43824
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43718,12 +43834,6 @@ const generatedFocusOperations = [
|
|
|
43718
43834
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43719
43835
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43720
43836
|
}))),
|
|
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
|
-
}))),
|
|
43727
43837
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43728
43838
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43729
43839
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43733,13 +43843,6 @@ const generatedFocusOperations = [
|
|
|
43733
43843
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43734
43844
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43735
43845
|
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()),
|
|
43743
43846
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43744
43847
|
}))
|
|
43745
43848
|
}) }),
|
|
@@ -43857,6 +43960,33 @@ const generatedFocusOperations = [
|
|
|
43857
43960
|
]));
|
|
43858
43961
|
}
|
|
43859
43962
|
},
|
|
43963
|
+
{
|
|
43964
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
43965
|
+
family: "focus",
|
|
43966
|
+
resource: "custom-fields",
|
|
43967
|
+
action: "get-allowed-users",
|
|
43968
|
+
title: "Get Allowed Users Custom Fields",
|
|
43969
|
+
description: "Get Allowed Users Custom Fields.",
|
|
43970
|
+
safety: "read",
|
|
43971
|
+
destructive: false,
|
|
43972
|
+
cli: {
|
|
43973
|
+
group: ["custom-fields"],
|
|
43974
|
+
command: "get-allowed-users",
|
|
43975
|
+
interactive: "available"
|
|
43976
|
+
},
|
|
43977
|
+
mcp: { entityTool: "custom-fields" },
|
|
43978
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
43979
|
+
execute: (input, { client }) => {
|
|
43980
|
+
const data = input;
|
|
43981
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
43982
|
+
client.httpClient,
|
|
43983
|
+
client.organizationId,
|
|
43984
|
+
client.workspaceIdNumber,
|
|
43985
|
+
data.custom_field_id,
|
|
43986
|
+
void 0
|
|
43987
|
+
]));
|
|
43988
|
+
}
|
|
43989
|
+
},
|
|
43860
43990
|
{
|
|
43861
43991
|
id: "focus.custom-fields.list",
|
|
43862
43992
|
family: "focus",
|
|
@@ -44027,30 +44157,27 @@ const generatedFocusOperations = [
|
|
|
44027
44157
|
}
|
|
44028
44158
|
},
|
|
44029
44159
|
{
|
|
44030
|
-
id: "focus.custom-fields.
|
|
44160
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44031
44161
|
family: "focus",
|
|
44032
44162
|
resource: "custom-fields",
|
|
44033
|
-
action: "
|
|
44034
|
-
title: "
|
|
44035
|
-
description: "
|
|
44163
|
+
action: "replace-custom-field-allowed-users",
|
|
44164
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44165
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44036
44166
|
safety: "update",
|
|
44037
44167
|
destructive: false,
|
|
44038
44168
|
cli: {
|
|
44039
44169
|
group: ["custom-fields"],
|
|
44040
|
-
command: "
|
|
44170
|
+
command: "replace-custom-field-allowed-users",
|
|
44041
44171
|
interactive: "default"
|
|
44042
44172
|
},
|
|
44043
44173
|
mcp: { entityTool: "custom-fields" },
|
|
44044
44174
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
44045
44175
|
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44046
|
-
payload: /* @__PURE__ */ looseObject({
|
|
44047
|
-
name: /* @__PURE__ */ string$1(),
|
|
44048
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44049
|
-
})
|
|
44176
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44050
44177
|
}),
|
|
44051
44178
|
execute: (input, { client }) => {
|
|
44052
44179
|
const data = input;
|
|
44053
|
-
return client.runGeneratedRequest("
|
|
44180
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44054
44181
|
client.httpClient,
|
|
44055
44182
|
client.organizationId,
|
|
44056
44183
|
client.workspaceIdNumber,
|
|
@@ -44061,7 +44188,41 @@ const generatedFocusOperations = [
|
|
|
44061
44188
|
}
|
|
44062
44189
|
},
|
|
44063
44190
|
{
|
|
44064
|
-
id: "focus.custom-fields.update
|
|
44191
|
+
id: "focus.custom-fields.update",
|
|
44192
|
+
family: "focus",
|
|
44193
|
+
resource: "custom-fields",
|
|
44194
|
+
action: "update",
|
|
44195
|
+
title: "Update Custom Fields",
|
|
44196
|
+
description: "Update Custom Fields.",
|
|
44197
|
+
safety: "update",
|
|
44198
|
+
destructive: false,
|
|
44199
|
+
cli: {
|
|
44200
|
+
group: ["custom-fields"],
|
|
44201
|
+
command: "update",
|
|
44202
|
+
interactive: "default"
|
|
44203
|
+
},
|
|
44204
|
+
mcp: { entityTool: "custom-fields" },
|
|
44205
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44206
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44207
|
+
payload: /* @__PURE__ */ looseObject({
|
|
44208
|
+
name: /* @__PURE__ */ string$1(),
|
|
44209
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44210
|
+
})
|
|
44211
|
+
}),
|
|
44212
|
+
execute: (input, { client }) => {
|
|
44213
|
+
const data = input;
|
|
44214
|
+
return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
|
|
44215
|
+
client.httpClient,
|
|
44216
|
+
client.organizationId,
|
|
44217
|
+
client.workspaceIdNumber,
|
|
44218
|
+
data.custom_field_id,
|
|
44219
|
+
data.payload ?? data.data ?? data,
|
|
44220
|
+
void 0
|
|
44221
|
+
]));
|
|
44222
|
+
}
|
|
44223
|
+
},
|
|
44224
|
+
{
|
|
44225
|
+
id: "focus.custom-fields.update-options-order",
|
|
44065
44226
|
family: "focus",
|
|
44066
44227
|
resource: "custom-fields",
|
|
44067
44228
|
action: "update-options-order",
|
|
@@ -44172,13 +44333,7 @@ const generatedFocusOperations = [
|
|
|
44172
44333
|
},
|
|
44173
44334
|
mcp: { entityTool: "goals" },
|
|
44174
44335
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44175
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44176
44336
|
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()),
|
|
44182
44337
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44183
44338
|
"daily",
|
|
44184
44339
|
"weekly",
|
|
@@ -44186,12 +44341,18 @@ const generatedFocusOperations = [
|
|
|
44186
44341
|
"monthly"
|
|
44187
44342
|
]),
|
|
44188
44343
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44189
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44190
44344
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44191
|
-
|
|
44192
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44345
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44193
44346
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44194
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44347
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44348
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44349
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44350
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44351
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44352
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44353
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44354
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44355
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44195
44356
|
}) }),
|
|
44196
44357
|
execute: (input, { client }) => {
|
|
44197
44358
|
const data = input;
|
|
@@ -44297,13 +44458,6 @@ const generatedFocusOperations = [
|
|
|
44297
44458
|
},
|
|
44298
44459
|
mcp: { entityTool: "goals" },
|
|
44299
44460
|
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()),
|
|
44307
44461
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44308
44462
|
"daily",
|
|
44309
44463
|
"weekly",
|
|
@@ -44311,12 +44465,19 @@ const generatedFocusOperations = [
|
|
|
44311
44465
|
"monthly"
|
|
44312
44466
|
]),
|
|
44313
44467
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44314
|
-
|
|
44315
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44316
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44317
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44468
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44318
44469
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44319
|
-
|
|
44470
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44471
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44472
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44473
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44474
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44475
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44476
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44477
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44478
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44479
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44480
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44320
44481
|
}) }),
|
|
44321
44482
|
execute: (input, { client }) => {
|
|
44322
44483
|
const data = input;
|
|
@@ -45283,9 +45444,17 @@ const generatedFocusOperations = [
|
|
|
45283
45444
|
mcp: { entityTool: "projects" },
|
|
45284
45445
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45285
45446
|
payload: /* @__PURE__ */ looseObject({
|
|
45447
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45448
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45286
45449
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45287
45450
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45288
45451
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45452
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45453
|
+
"expire",
|
|
45454
|
+
"carry_all",
|
|
45455
|
+
"carry_over"
|
|
45456
|
+
])),
|
|
45457
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45289
45458
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45290
45459
|
}),
|
|
45291
45460
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45729,6 +45898,7 @@ const generatedFocusOperations = [
|
|
|
45729
45898
|
group: /* @__PURE__ */ string$1(),
|
|
45730
45899
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45731
45900
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45901
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45732
45902
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45733
45903
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45734
45904
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -45831,29 +46001,6 @@ const generatedFocusOperations = [
|
|
|
45831
46001
|
]));
|
|
45832
46002
|
}
|
|
45833
46003
|
},
|
|
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
|
-
},
|
|
45857
46004
|
{
|
|
45858
46005
|
id: "focus.projects.margin-targets-get",
|
|
45859
46006
|
family: "focus",
|
|
@@ -46298,6 +46445,130 @@ const generatedFocusOperations = [
|
|
|
46298
46445
|
]));
|
|
46299
46446
|
}
|
|
46300
46447
|
},
|
|
46448
|
+
{
|
|
46449
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46450
|
+
family: "focus",
|
|
46451
|
+
resource: "publicsharedreports",
|
|
46452
|
+
action: "open-public-shared-report",
|
|
46453
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
46454
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
46455
|
+
safety: "read",
|
|
46456
|
+
destructive: false,
|
|
46457
|
+
cli: {
|
|
46458
|
+
group: ["publicsharedreports"],
|
|
46459
|
+
command: "open-public-shared-report",
|
|
46460
|
+
interactive: "available"
|
|
46461
|
+
},
|
|
46462
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46463
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46464
|
+
execute: (input, { client }) => {
|
|
46465
|
+
const data = input;
|
|
46466
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46467
|
+
client.httpClient,
|
|
46468
|
+
data.token,
|
|
46469
|
+
void 0
|
|
46470
|
+
]));
|
|
46471
|
+
}
|
|
46472
|
+
},
|
|
46473
|
+
{
|
|
46474
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46475
|
+
family: "focus",
|
|
46476
|
+
resource: "publicsharedreports",
|
|
46477
|
+
action: "profitability-public-shared-report",
|
|
46478
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46479
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46480
|
+
safety: "update",
|
|
46481
|
+
destructive: false,
|
|
46482
|
+
cli: {
|
|
46483
|
+
group: ["publicsharedreports"],
|
|
46484
|
+
command: "profitability-public-shared-report",
|
|
46485
|
+
interactive: "default"
|
|
46486
|
+
},
|
|
46487
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46488
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46489
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46490
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46491
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46492
|
+
token: /* @__PURE__ */ string$1()
|
|
46493
|
+
}),
|
|
46494
|
+
execute: (input, { client }) => {
|
|
46495
|
+
const data = input;
|
|
46496
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46497
|
+
client.httpClient,
|
|
46498
|
+
data.token,
|
|
46499
|
+
data.payload ?? data.data ?? data,
|
|
46500
|
+
data.response_format,
|
|
46501
|
+
data.include_dicts,
|
|
46502
|
+
void 0
|
|
46503
|
+
]));
|
|
46504
|
+
}
|
|
46505
|
+
},
|
|
46506
|
+
{
|
|
46507
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46508
|
+
family: "focus",
|
|
46509
|
+
resource: "publicsharedreports",
|
|
46510
|
+
action: "query-public-shared-report",
|
|
46511
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
46512
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
46513
|
+
safety: "update",
|
|
46514
|
+
destructive: false,
|
|
46515
|
+
cli: {
|
|
46516
|
+
group: ["publicsharedreports"],
|
|
46517
|
+
command: "query-public-shared-report",
|
|
46518
|
+
interactive: "default"
|
|
46519
|
+
},
|
|
46520
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46521
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46522
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46523
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46524
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46525
|
+
"json_row",
|
|
46526
|
+
"table",
|
|
46527
|
+
"hierarchical"
|
|
46528
|
+
])),
|
|
46529
|
+
token: /* @__PURE__ */ string$1()
|
|
46530
|
+
}),
|
|
46531
|
+
execute: (input, { client }) => {
|
|
46532
|
+
const data = input;
|
|
46533
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46534
|
+
client.httpClient,
|
|
46535
|
+
data.token,
|
|
46536
|
+
data.payload ?? data.data ?? data,
|
|
46537
|
+
data.response_format,
|
|
46538
|
+
data.include_dicts,
|
|
46539
|
+
void 0
|
|
46540
|
+
]));
|
|
46541
|
+
}
|
|
46542
|
+
},
|
|
46543
|
+
{
|
|
46544
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46545
|
+
family: "focus",
|
|
46546
|
+
resource: "publicsharedreports",
|
|
46547
|
+
action: "workload-public-shared-report",
|
|
46548
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
46549
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46550
|
+
safety: "update",
|
|
46551
|
+
destructive: false,
|
|
46552
|
+
cli: {
|
|
46553
|
+
group: ["publicsharedreports"],
|
|
46554
|
+
command: "workload-public-shared-report",
|
|
46555
|
+
interactive: "default"
|
|
46556
|
+
},
|
|
46557
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46558
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46559
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46560
|
+
token: /* @__PURE__ */ string$1()
|
|
46561
|
+
}),
|
|
46562
|
+
execute: (input, { client }) => {
|
|
46563
|
+
const data = input;
|
|
46564
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46565
|
+
client.httpClient,
|
|
46566
|
+
data.token,
|
|
46567
|
+
data.payload ?? data.data ?? data,
|
|
46568
|
+
void 0
|
|
46569
|
+
]));
|
|
46570
|
+
}
|
|
46571
|
+
},
|
|
46301
46572
|
{
|
|
46302
46573
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46303
46574
|
family: "focus",
|
|
@@ -48256,7 +48527,7 @@ const generatedFocusOperations = [
|
|
|
48256
48527
|
cli: {
|
|
48257
48528
|
group: ["reportschedules"],
|
|
48258
48529
|
command: "upsert-saved-view-schedule",
|
|
48259
|
-
interactive: "
|
|
48530
|
+
interactive: "hidden"
|
|
48260
48531
|
},
|
|
48261
48532
|
mcp: { entityTool: "reportschedules" },
|
|
48262
48533
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48267,8 +48538,10 @@ const generatedFocusOperations = [
|
|
|
48267
48538
|
"weekly",
|
|
48268
48539
|
"monthly"
|
|
48269
48540
|
]),
|
|
48541
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48270
48542
|
time: /* @__PURE__ */ string$1(),
|
|
48271
48543
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48544
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48272
48545
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48273
48546
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48274
48547
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48601,6 +48874,32 @@ const generatedFocusOperations = [
|
|
|
48601
48874
|
]));
|
|
48602
48875
|
}
|
|
48603
48876
|
},
|
|
48877
|
+
{
|
|
48878
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
48879
|
+
family: "focus",
|
|
48880
|
+
resource: "sharedreports",
|
|
48881
|
+
action: "get-shared-report-dates",
|
|
48882
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
48883
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
48884
|
+
safety: "read",
|
|
48885
|
+
destructive: false,
|
|
48886
|
+
cli: {
|
|
48887
|
+
group: ["sharedreports"],
|
|
48888
|
+
command: "get-shared-report-dates",
|
|
48889
|
+
interactive: "available"
|
|
48890
|
+
},
|
|
48891
|
+
mcp: { entityTool: "sharedreports" },
|
|
48892
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48893
|
+
execute: (input, { client }) => {
|
|
48894
|
+
const data = input;
|
|
48895
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
48896
|
+
client.httpClient,
|
|
48897
|
+
client.workspaceIdNumber,
|
|
48898
|
+
data.id,
|
|
48899
|
+
void 0
|
|
48900
|
+
]));
|
|
48901
|
+
}
|
|
48902
|
+
},
|
|
48604
48903
|
{
|
|
48605
48904
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48606
48905
|
family: "focus",
|
|
@@ -48671,6 +48970,36 @@ const generatedFocusOperations = [
|
|
|
48671
48970
|
void 0
|
|
48672
48971
|
]))
|
|
48673
48972
|
},
|
|
48973
|
+
{
|
|
48974
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
48975
|
+
family: "focus",
|
|
48976
|
+
resource: "sharedreports",
|
|
48977
|
+
action: "mint-shared-report-link",
|
|
48978
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
48979
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
48980
|
+
safety: "update",
|
|
48981
|
+
destructive: false,
|
|
48982
|
+
cli: {
|
|
48983
|
+
group: ["sharedreports"],
|
|
48984
|
+
command: "mint-shared-report-link",
|
|
48985
|
+
interactive: "default"
|
|
48986
|
+
},
|
|
48987
|
+
mcp: { entityTool: "sharedreports" },
|
|
48988
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48989
|
+
id: /* @__PURE__ */ number$2(),
|
|
48990
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
48991
|
+
}),
|
|
48992
|
+
execute: (input, { client }) => {
|
|
48993
|
+
const data = input;
|
|
48994
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
48995
|
+
client.httpClient,
|
|
48996
|
+
client.workspaceIdNumber,
|
|
48997
|
+
data.id,
|
|
48998
|
+
data.payload ?? data.data ?? data,
|
|
48999
|
+
void 0
|
|
49000
|
+
]));
|
|
49001
|
+
}
|
|
49002
|
+
},
|
|
48674
49003
|
{
|
|
48675
49004
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48676
49005
|
family: "focus",
|
|
@@ -48702,71 +49031,53 @@ const generatedFocusOperations = [
|
|
|
48702
49031
|
}
|
|
48703
49032
|
},
|
|
48704
49033
|
{
|
|
48705
|
-
id: "focus.sharedreports.
|
|
49034
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
48706
49035
|
family: "focus",
|
|
48707
49036
|
resource: "sharedreports",
|
|
48708
|
-
action: "
|
|
48709
|
-
title: "
|
|
48710
|
-
description: "
|
|
48711
|
-
safety: "
|
|
48712
|
-
destructive:
|
|
49037
|
+
action: "revoke-shared-report-link",
|
|
49038
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
49039
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
49040
|
+
safety: "delete",
|
|
49041
|
+
destructive: true,
|
|
48713
49042
|
cli: {
|
|
48714
49043
|
group: ["sharedreports"],
|
|
48715
|
-
command: "
|
|
48716
|
-
interactive: "
|
|
49044
|
+
command: "revoke-shared-report-link",
|
|
49045
|
+
interactive: "default"
|
|
48717
49046
|
},
|
|
48718
49047
|
mcp: { entityTool: "sharedreports" },
|
|
48719
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48720
|
-
id: /* @__PURE__ */ number$2(),
|
|
48721
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48722
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48723
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48724
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48725
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48726
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48727
|
-
})
|
|
48728
|
-
}),
|
|
49048
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48729
49049
|
execute: (input, { client }) => {
|
|
48730
49050
|
const data = input;
|
|
48731
|
-
return client.runGeneratedRequest("
|
|
49051
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
48732
49052
|
client.httpClient,
|
|
48733
49053
|
client.workspaceIdNumber,
|
|
48734
49054
|
data.id,
|
|
48735
|
-
data.payload ?? data.data ?? data,
|
|
48736
49055
|
void 0
|
|
48737
49056
|
]));
|
|
48738
49057
|
}
|
|
48739
49058
|
},
|
|
48740
49059
|
{
|
|
48741
|
-
id: "focus.sharedreports.
|
|
49060
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
48742
49061
|
family: "focus",
|
|
48743
49062
|
resource: "sharedreports",
|
|
48744
|
-
action: "
|
|
48745
|
-
title: "
|
|
48746
|
-
description: "
|
|
49063
|
+
action: "rotate-shared-report-link",
|
|
49064
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
49065
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
48747
49066
|
safety: "update",
|
|
48748
49067
|
destructive: false,
|
|
48749
49068
|
cli: {
|
|
48750
49069
|
group: ["sharedreports"],
|
|
48751
|
-
command: "
|
|
48752
|
-
interactive: "
|
|
49070
|
+
command: "rotate-shared-report-link",
|
|
49071
|
+
interactive: "default"
|
|
48753
49072
|
},
|
|
48754
49073
|
mcp: { entityTool: "sharedreports" },
|
|
48755
49074
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48756
49075
|
id: /* @__PURE__ */ number$2(),
|
|
48757
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48758
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48759
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48760
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48761
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48762
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48763
|
-
})),
|
|
48764
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48765
|
-
})
|
|
49076
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
48766
49077
|
}),
|
|
48767
49078
|
execute: (input, { client }) => {
|
|
48768
49079
|
const data = input;
|
|
48769
|
-
return client.runGeneratedRequest("
|
|
49080
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
48770
49081
|
client.httpClient,
|
|
48771
49082
|
client.workspaceIdNumber,
|
|
48772
49083
|
data.id,
|
|
@@ -48776,25 +49087,155 @@ const generatedFocusOperations = [
|
|
|
48776
49087
|
}
|
|
48777
49088
|
},
|
|
48778
49089
|
{
|
|
48779
|
-
id: "focus.
|
|
49090
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
48780
49091
|
family: "focus",
|
|
48781
|
-
resource: "
|
|
48782
|
-
action: "
|
|
48783
|
-
title: "
|
|
48784
|
-
description: "
|
|
48785
|
-
safety: "
|
|
49092
|
+
resource: "sharedreports",
|
|
49093
|
+
action: "set-shared-report-dates-lock",
|
|
49094
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49095
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49096
|
+
safety: "update",
|
|
48786
49097
|
destructive: false,
|
|
48787
49098
|
cli: {
|
|
48788
|
-
group: ["
|
|
48789
|
-
command: "
|
|
49099
|
+
group: ["sharedreports"],
|
|
49100
|
+
command: "set-shared-report-dates-lock",
|
|
48790
49101
|
interactive: "default"
|
|
48791
49102
|
},
|
|
48792
|
-
mcp: { entityTool: "
|
|
48793
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48794
|
-
|
|
48795
|
-
|
|
48796
|
-
|
|
48797
|
-
})
|
|
49103
|
+
mcp: { entityTool: "sharedreports" },
|
|
49104
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49105
|
+
id: /* @__PURE__ */ number$2(),
|
|
49106
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49107
|
+
}),
|
|
49108
|
+
execute: (input, { client }) => {
|
|
49109
|
+
const data = input;
|
|
49110
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49111
|
+
client.httpClient,
|
|
49112
|
+
client.workspaceIdNumber,
|
|
49113
|
+
data.id,
|
|
49114
|
+
data.payload ?? data.data ?? data,
|
|
49115
|
+
void 0
|
|
49116
|
+
]));
|
|
49117
|
+
}
|
|
49118
|
+
},
|
|
49119
|
+
{
|
|
49120
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49121
|
+
family: "focus",
|
|
49122
|
+
resource: "sharedreports",
|
|
49123
|
+
action: "share-saved-view",
|
|
49124
|
+
title: "Share Saved View Sharedreports",
|
|
49125
|
+
description: "Share Saved View Sharedreports.",
|
|
49126
|
+
safety: "update",
|
|
49127
|
+
destructive: false,
|
|
49128
|
+
cli: {
|
|
49129
|
+
group: ["sharedreports"],
|
|
49130
|
+
command: "share-saved-view",
|
|
49131
|
+
interactive: "hidden"
|
|
49132
|
+
},
|
|
49133
|
+
mcp: { entityTool: "sharedreports" },
|
|
49134
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49135
|
+
id: /* @__PURE__ */ number$2(),
|
|
49136
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49137
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49138
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49139
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49140
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49141
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49142
|
+
})
|
|
49143
|
+
}),
|
|
49144
|
+
execute: (input, { client }) => {
|
|
49145
|
+
const data = input;
|
|
49146
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49147
|
+
client.httpClient,
|
|
49148
|
+
client.workspaceIdNumber,
|
|
49149
|
+
data.id,
|
|
49150
|
+
data.payload ?? data.data ?? data,
|
|
49151
|
+
void 0
|
|
49152
|
+
]));
|
|
49153
|
+
}
|
|
49154
|
+
},
|
|
49155
|
+
{
|
|
49156
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49157
|
+
family: "focus",
|
|
49158
|
+
resource: "sharedreports",
|
|
49159
|
+
action: "share-saved-view-many",
|
|
49160
|
+
title: "Share Saved View Many Sharedreports",
|
|
49161
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49162
|
+
safety: "update",
|
|
49163
|
+
destructive: false,
|
|
49164
|
+
cli: {
|
|
49165
|
+
group: ["sharedreports"],
|
|
49166
|
+
command: "share-saved-view-many",
|
|
49167
|
+
interactive: "hidden"
|
|
49168
|
+
},
|
|
49169
|
+
mcp: { entityTool: "sharedreports" },
|
|
49170
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49171
|
+
id: /* @__PURE__ */ number$2(),
|
|
49172
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49173
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49174
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49175
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49176
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49177
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49178
|
+
})),
|
|
49179
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49180
|
+
})
|
|
49181
|
+
}),
|
|
49182
|
+
execute: (input, { client }) => {
|
|
49183
|
+
const data = input;
|
|
49184
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49185
|
+
client.httpClient,
|
|
49186
|
+
client.workspaceIdNumber,
|
|
49187
|
+
data.id,
|
|
49188
|
+
data.payload ?? data.data ?? data,
|
|
49189
|
+
void 0
|
|
49190
|
+
]));
|
|
49191
|
+
}
|
|
49192
|
+
},
|
|
49193
|
+
{
|
|
49194
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
49195
|
+
family: "focus",
|
|
49196
|
+
resource: "sharedreports",
|
|
49197
|
+
action: "unshare-shared-report",
|
|
49198
|
+
title: "Unshare Shared Report Sharedreports",
|
|
49199
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
49200
|
+
safety: "delete",
|
|
49201
|
+
destructive: true,
|
|
49202
|
+
cli: {
|
|
49203
|
+
group: ["sharedreports"],
|
|
49204
|
+
command: "unshare-shared-report",
|
|
49205
|
+
interactive: "default"
|
|
49206
|
+
},
|
|
49207
|
+
mcp: { entityTool: "sharedreports" },
|
|
49208
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49209
|
+
execute: (input, { client }) => {
|
|
49210
|
+
const data = input;
|
|
49211
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49212
|
+
client.httpClient,
|
|
49213
|
+
client.workspaceIdNumber,
|
|
49214
|
+
data.id,
|
|
49215
|
+
void 0
|
|
49216
|
+
]));
|
|
49217
|
+
}
|
|
49218
|
+
},
|
|
49219
|
+
{
|
|
49220
|
+
id: "focus.statuses.create-status",
|
|
49221
|
+
family: "focus",
|
|
49222
|
+
resource: "statuses",
|
|
49223
|
+
action: "create-status",
|
|
49224
|
+
title: "Create Status Statuses",
|
|
49225
|
+
description: "Create Status Statuses.",
|
|
49226
|
+
safety: "create",
|
|
49227
|
+
destructive: false,
|
|
49228
|
+
cli: {
|
|
49229
|
+
group: ["statuses"],
|
|
49230
|
+
command: "create-status",
|
|
49231
|
+
interactive: "default"
|
|
49232
|
+
},
|
|
49233
|
+
mcp: { entityTool: "statuses" },
|
|
49234
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
49235
|
+
emoji: /* @__PURE__ */ string$1(),
|
|
49236
|
+
name: /* @__PURE__ */ string$1(),
|
|
49237
|
+
position: /* @__PURE__ */ number$2()
|
|
49238
|
+
}) }),
|
|
48798
49239
|
execute: (input, { client }) => {
|
|
48799
49240
|
const data = input;
|
|
48800
49241
|
return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
|
|
@@ -49817,6 +50258,37 @@ const generatedFocusOperations = [
|
|
|
49817
50258
|
return client.createTask(data);
|
|
49818
50259
|
}
|
|
49819
50260
|
},
|
|
50261
|
+
{
|
|
50262
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50263
|
+
family: "focus",
|
|
50264
|
+
resource: "tasks",
|
|
50265
|
+
action: "create-recurring-occurrence",
|
|
50266
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50267
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50268
|
+
safety: "create",
|
|
50269
|
+
destructive: false,
|
|
50270
|
+
cli: {
|
|
50271
|
+
group: ["tasks"],
|
|
50272
|
+
command: "create-recurring-occurrence",
|
|
50273
|
+
interactive: "default"
|
|
50274
|
+
},
|
|
50275
|
+
mcp: { entityTool: "tasks" },
|
|
50276
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50277
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50278
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50279
|
+
}),
|
|
50280
|
+
execute: (input, { client }) => {
|
|
50281
|
+
const data = input;
|
|
50282
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50283
|
+
client.httpClient,
|
|
50284
|
+
client.organizationId,
|
|
50285
|
+
client.workspaceIdNumber,
|
|
50286
|
+
data.task_id,
|
|
50287
|
+
data.return_occurrence,
|
|
50288
|
+
void 0
|
|
50289
|
+
]));
|
|
50290
|
+
}
|
|
50291
|
+
},
|
|
49820
50292
|
{
|
|
49821
50293
|
id: "focus.tasks.delete",
|
|
49822
50294
|
family: "focus",
|
|
@@ -50041,6 +50513,79 @@ const generatedFocusOperations = [
|
|
|
50041
50513
|
]));
|
|
50042
50514
|
}
|
|
50043
50515
|
},
|
|
50516
|
+
{
|
|
50517
|
+
id: "focus.tasks.get-picker-task-children",
|
|
50518
|
+
family: "focus",
|
|
50519
|
+
resource: "tasks",
|
|
50520
|
+
action: "get-picker-task-children",
|
|
50521
|
+
title: "Get Picker Task Children Tasks",
|
|
50522
|
+
description: "Get Picker Task Children Tasks.",
|
|
50523
|
+
safety: "read",
|
|
50524
|
+
destructive: false,
|
|
50525
|
+
cli: {
|
|
50526
|
+
group: ["tasks"],
|
|
50527
|
+
command: "get-picker-task-children",
|
|
50528
|
+
interactive: "hidden"
|
|
50529
|
+
},
|
|
50530
|
+
mcp: { entityTool: "tasks" },
|
|
50531
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50532
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50533
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50534
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50535
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50536
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50537
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50538
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50539
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50540
|
+
}),
|
|
50541
|
+
execute: (input, { client }) => {
|
|
50542
|
+
const data = input;
|
|
50543
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50544
|
+
client.httpClient,
|
|
50545
|
+
client.organizationId,
|
|
50546
|
+
client.workspaceIdNumber,
|
|
50547
|
+
data.parent_task_id,
|
|
50548
|
+
data,
|
|
50549
|
+
void 0
|
|
50550
|
+
]));
|
|
50551
|
+
}
|
|
50552
|
+
},
|
|
50553
|
+
{
|
|
50554
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
50555
|
+
family: "focus",
|
|
50556
|
+
resource: "tasks",
|
|
50557
|
+
action: "get-picker-task-groups",
|
|
50558
|
+
title: "Get Picker Task Groups Tasks",
|
|
50559
|
+
description: "Get Picker Task Groups Tasks.",
|
|
50560
|
+
safety: "read",
|
|
50561
|
+
destructive: false,
|
|
50562
|
+
cli: {
|
|
50563
|
+
group: ["tasks"],
|
|
50564
|
+
command: "get-picker-task-groups",
|
|
50565
|
+
interactive: "hidden"
|
|
50566
|
+
},
|
|
50567
|
+
mcp: { entityTool: "tasks" },
|
|
50568
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50569
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50570
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50571
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50572
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50573
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50574
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50575
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50576
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50577
|
+
}),
|
|
50578
|
+
execute: (input, { client }) => {
|
|
50579
|
+
const data = input;
|
|
50580
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50581
|
+
client.httpClient,
|
|
50582
|
+
client.organizationId,
|
|
50583
|
+
client.workspaceIdNumber,
|
|
50584
|
+
data,
|
|
50585
|
+
void 0
|
|
50586
|
+
]));
|
|
50587
|
+
}
|
|
50588
|
+
},
|
|
50044
50589
|
{
|
|
50045
50590
|
id: "focus.tasks.get-recurring-instances",
|
|
50046
50591
|
family: "focus",
|
|
@@ -50064,9 +50609,13 @@ const generatedFocusOperations = [
|
|
|
50064
50609
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50065
50610
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50066
50611
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50612
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50613
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50067
50614
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50068
50615
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50616
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50069
50617
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50618
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50070
50619
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50071
50620
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50072
50621
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50112,13 +50661,14 @@ const generatedFocusOperations = [
|
|
|
50112
50661
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50113
50662
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50114
50663
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50115
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50116
50664
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50117
50665
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50118
50666
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50119
50667
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50120
50668
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50669
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50121
50670
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50671
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50122
50672
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50123
50673
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50124
50674
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50127,7 +50677,9 @@ const generatedFocusOperations = [
|
|
|
50127
50677
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50128
50678
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50129
50679
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50680
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50130
50681
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50682
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50131
50683
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50132
50684
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50133
50685
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50136,8 +50688,6 @@ const generatedFocusOperations = [
|
|
|
50136
50688
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50137
50689
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50138
50690
|
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()),
|
|
50141
50691
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50142
50692
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50143
50693
|
}),
|
|
@@ -50265,8 +50815,10 @@ const generatedFocusOperations = [
|
|
|
50265
50815
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50266
50816
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50267
50817
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50818
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50268
50819
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50269
50820
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50821
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50270
50822
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50271
50823
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50272
50824
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50275,6 +50827,8 @@ const generatedFocusOperations = [
|
|
|
50275
50827
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50276
50828
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50277
50829
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50830
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50831
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50278
50832
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50279
50833
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50280
50834
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50283,7 +50837,8 @@ const generatedFocusOperations = [
|
|
|
50283
50837
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50284
50838
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50285
50839
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50286
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50840
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50841
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50287
50842
|
}),
|
|
50288
50843
|
execute: (input, { client }) => {
|
|
50289
50844
|
const data = input;
|
|
@@ -50325,13 +50880,17 @@ const generatedFocusOperations = [
|
|
|
50325
50880
|
group_id: /* @__PURE__ */ number$2(),
|
|
50326
50881
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50327
50882
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50883
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50328
50884
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50329
50885
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50886
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50330
50887
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50331
50888
|
name: /* @__PURE__ */ unknown$1(),
|
|
50332
50889
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50333
50890
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50334
50891
|
project_id: /* @__PURE__ */ number$2(),
|
|
50892
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50893
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50335
50894
|
source: /* @__PURE__ */ unknown$1(),
|
|
50336
50895
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50337
50896
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50340,7 +50899,8 @@ const generatedFocusOperations = [
|
|
|
50340
50899
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50341
50900
|
team_id: /* @__PURE__ */ number$2(),
|
|
50342
50901
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50343
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50902
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
50903
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50344
50904
|
}),
|
|
50345
50905
|
execute: (input, { client }) => {
|
|
50346
50906
|
const data = input;
|
|
@@ -50381,13 +50941,17 @@ const generatedFocusOperations = [
|
|
|
50381
50941
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50382
50942
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
50943
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50944
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50384
50945
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50385
50946
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50947
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50386
50948
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50387
50949
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50388
50950
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50389
50951
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50390
50952
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50953
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50954
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50391
50955
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50392
50956
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50393
50957
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50396,7 +50960,8 @@ const generatedFocusOperations = [
|
|
|
50396
50960
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50397
50961
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50398
50962
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50399
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50963
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50964
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50400
50965
|
}),
|
|
50401
50966
|
execute: (input, { client }) => {
|
|
50402
50967
|
const data = input;
|
|
@@ -50626,522 +51191,59 @@ const generatedFocusOperations = [
|
|
|
50626
51191
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50627
51192
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
50628
51193
|
"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, [
|
|
51001
|
-
client.httpClient,
|
|
51002
|
-
client.organizationId,
|
|
51003
|
-
client.workspaceIdNumber,
|
|
51004
|
-
data.task_id,
|
|
51005
|
-
data,
|
|
51006
|
-
void 0
|
|
51007
|
-
]));
|
|
51008
|
-
}
|
|
51009
|
-
},
|
|
51010
|
-
{
|
|
51011
|
-
id: "focus.time-blocks.partial-update",
|
|
51012
|
-
family: "focus",
|
|
51013
|
-
resource: "time-blocks",
|
|
51014
|
-
action: "partial-update",
|
|
51015
|
-
title: "Partial Update Time Blocks",
|
|
51016
|
-
description: "Partial Update Time Blocks.",
|
|
51017
|
-
safety: "update",
|
|
51018
|
-
destructive: false,
|
|
51019
|
-
cli: {
|
|
51020
|
-
group: ["time-blocks"],
|
|
51021
|
-
command: "partial-update",
|
|
51022
|
-
interactive: "default"
|
|
51023
|
-
},
|
|
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
|
-
}),
|
|
51036
|
-
execute: (input, { client }) => {
|
|
51037
|
-
const data = input;
|
|
51038
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51039
|
-
client.httpClient,
|
|
51040
|
-
client.organizationId,
|
|
51041
|
-
client.workspaceIdNumber,
|
|
51042
|
-
data.task_id,
|
|
51043
|
-
data.time_block_id,
|
|
51044
|
-
data.payload ?? data.data ?? data,
|
|
51045
|
-
void 0
|
|
51046
|
-
]));
|
|
51047
|
-
}
|
|
51048
|
-
},
|
|
51049
|
-
{
|
|
51050
|
-
id: "focus.time-blocks.restore",
|
|
51051
|
-
family: "focus",
|
|
51052
|
-
resource: "time-blocks",
|
|
51053
|
-
action: "restore",
|
|
51054
|
-
title: "Restore Time Blocks",
|
|
51055
|
-
description: "Restore Time Blocks.",
|
|
51056
|
-
safety: "update",
|
|
51057
|
-
destructive: false,
|
|
51058
|
-
cli: {
|
|
51059
|
-
group: ["time-blocks"],
|
|
51060
|
-
command: "restore",
|
|
51061
|
-
interactive: "default"
|
|
51062
|
-
},
|
|
51063
|
-
mcp: { entityTool: "time-blocks" },
|
|
51064
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51065
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51066
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51067
|
-
}),
|
|
51068
|
-
execute: (input, { client }) => {
|
|
51069
|
-
const data = input;
|
|
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
|
-
]));
|
|
51078
|
-
}
|
|
51079
|
-
},
|
|
51080
|
-
{
|
|
51081
|
-
id: "focus.time-blocks.unarchive",
|
|
51082
|
-
family: "focus",
|
|
51083
|
-
resource: "time-blocks",
|
|
51084
|
-
action: "unarchive",
|
|
51085
|
-
title: "Unarchive Time Blocks",
|
|
51086
|
-
description: "Unarchive Time Blocks.",
|
|
51087
|
-
safety: "update",
|
|
51088
|
-
destructive: false,
|
|
51089
|
-
cli: {
|
|
51090
|
-
group: ["time-blocks"],
|
|
51091
|
-
command: "unarchive",
|
|
51092
|
-
interactive: "default"
|
|
51093
|
-
},
|
|
51094
|
-
mcp: { entityTool: "time-blocks" },
|
|
51095
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51096
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51097
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51194
|
+
"low",
|
|
51195
|
+
"medium",
|
|
51196
|
+
"high"
|
|
51197
|
+
])),
|
|
51198
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51199
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51200
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51201
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51202
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51203
|
+
}),
|
|
51204
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51098
51205
|
}),
|
|
51099
51206
|
execute: (input, { client }) => {
|
|
51100
51207
|
const data = input;
|
|
51101
|
-
return client.runGeneratedRequest("
|
|
51208
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
51102
51209
|
client.httpClient,
|
|
51103
51210
|
client.organizationId,
|
|
51104
51211
|
client.workspaceIdNumber,
|
|
51105
51212
|
data.task_id,
|
|
51106
|
-
data.
|
|
51213
|
+
data.payload ?? data.data ?? data,
|
|
51107
51214
|
void 0
|
|
51108
51215
|
]));
|
|
51109
51216
|
}
|
|
51110
51217
|
},
|
|
51111
51218
|
{
|
|
51112
|
-
id: "focus.
|
|
51219
|
+
id: "focus.tasks.update-calendar-range",
|
|
51113
51220
|
family: "focus",
|
|
51114
|
-
resource: "
|
|
51115
|
-
action: "update",
|
|
51116
|
-
title: "Update
|
|
51117
|
-
description: "Update
|
|
51221
|
+
resource: "tasks",
|
|
51222
|
+
action: "update-calendar-range",
|
|
51223
|
+
title: "Update Calendar Range Tasks",
|
|
51224
|
+
description: "Update Calendar Range Tasks.",
|
|
51118
51225
|
safety: "update",
|
|
51119
51226
|
destructive: false,
|
|
51120
51227
|
cli: {
|
|
51121
|
-
group: ["
|
|
51122
|
-
command: "update",
|
|
51228
|
+
group: ["tasks"],
|
|
51229
|
+
command: "update-calendar-range",
|
|
51123
51230
|
interactive: "default"
|
|
51124
51231
|
},
|
|
51125
|
-
mcp: { entityTool: "
|
|
51232
|
+
mcp: { entityTool: "tasks" },
|
|
51126
51233
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51127
|
-
|
|
51128
|
-
|
|
51129
|
-
|
|
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()
|
|
51234
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
51235
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51236
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51135
51237
|
}),
|
|
51136
51238
|
execute: (input, { client }) => {
|
|
51137
51239
|
const data = input;
|
|
51138
|
-
return client.runGeneratedRequest("
|
|
51240
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
51139
51241
|
client.httpClient,
|
|
51140
51242
|
client.organizationId,
|
|
51141
51243
|
client.workspaceIdNumber,
|
|
51142
|
-
data.
|
|
51143
|
-
data.
|
|
51144
|
-
data.
|
|
51244
|
+
data.date_from,
|
|
51245
|
+
data.date_to,
|
|
51246
|
+
data.skip_provider_refresh,
|
|
51145
51247
|
void 0
|
|
51146
51248
|
]));
|
|
51147
51249
|
}
|
|
@@ -51361,7 +51463,8 @@ const generatedFocusOperations = [
|
|
|
51361
51463
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51362
51464
|
"project",
|
|
51363
51465
|
"task",
|
|
51364
|
-
"description"
|
|
51466
|
+
"description",
|
|
51467
|
+
"tags"
|
|
51365
51468
|
]) })),
|
|
51366
51469
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51367
51470
|
}) }),
|
|
@@ -51391,6 +51494,7 @@ const generatedFocusOperations = [
|
|
|
51391
51494
|
},
|
|
51392
51495
|
mcp: { entityTool: "time-entries" },
|
|
51393
51496
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51497
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51394
51498
|
payload: /* @__PURE__ */ looseObject({
|
|
51395
51499
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51396
51500
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51401,11 +51505,12 @@ const generatedFocusOperations = [
|
|
|
51401
51505
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51402
51506
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51403
51507
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51508
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51404
51509
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51405
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51406
51510
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51407
51511
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51408
51512
|
}),
|
|
51513
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51409
51514
|
task_id: /* @__PURE__ */ number$2()
|
|
51410
51515
|
}),
|
|
51411
51516
|
execute: (input, { client }) => {
|
|
@@ -51416,6 +51521,8 @@ const generatedFocusOperations = [
|
|
|
51416
51521
|
client.workspaceIdNumber,
|
|
51417
51522
|
data.task_id,
|
|
51418
51523
|
data.payload ?? data.data ?? data,
|
|
51524
|
+
data.from_recurring_task_id,
|
|
51525
|
+
data.return_occurrence,
|
|
51419
51526
|
void 0
|
|
51420
51527
|
]));
|
|
51421
51528
|
}
|
|
@@ -51435,21 +51542,25 @@ const generatedFocusOperations = [
|
|
|
51435
51542
|
interactive: "default"
|
|
51436
51543
|
},
|
|
51437
51544
|
mcp: { entityTool: "time-entries" },
|
|
51438
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51439
|
-
|
|
51440
|
-
|
|
51441
|
-
|
|
51442
|
-
|
|
51443
|
-
|
|
51444
|
-
|
|
51445
|
-
|
|
51446
|
-
|
|
51447
|
-
|
|
51448
|
-
|
|
51449
|
-
|
|
51450
|
-
|
|
51451
|
-
|
|
51452
|
-
|
|
51545
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51546
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51547
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51548
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51549
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51550
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51551
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51552
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51553
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51554
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51555
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51556
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51557
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51558
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51559
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51560
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51561
|
+
}),
|
|
51562
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51563
|
+
}),
|
|
51453
51564
|
execute: (input, { client }) => {
|
|
51454
51565
|
const data = input;
|
|
51455
51566
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51457,6 +51568,8 @@ const generatedFocusOperations = [
|
|
|
51457
51568
|
client.organizationId,
|
|
51458
51569
|
client.workspaceIdNumber,
|
|
51459
51570
|
data.payload ?? data.data ?? data,
|
|
51571
|
+
data.from_recurring_task_id,
|
|
51572
|
+
data.return_occurrence,
|
|
51460
51573
|
void 0
|
|
51461
51574
|
]));
|
|
51462
51575
|
}
|
|
@@ -51476,7 +51589,11 @@ const generatedFocusOperations = [
|
|
|
51476
51589
|
interactive: "default"
|
|
51477
51590
|
},
|
|
51478
51591
|
mcp: { entityTool: "time-entries" },
|
|
51479
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51592
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51593
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51594
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51595
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51596
|
+
}),
|
|
51480
51597
|
execute: (input, { client }) => {
|
|
51481
51598
|
const data = input;
|
|
51482
51599
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51484,6 +51601,8 @@ const generatedFocusOperations = [
|
|
|
51484
51601
|
client.organizationId,
|
|
51485
51602
|
client.workspaceIdNumber,
|
|
51486
51603
|
data.time_entry_id,
|
|
51604
|
+
data.from_recurring_task_id,
|
|
51605
|
+
data.return_occurrence,
|
|
51487
51606
|
void 0
|
|
51488
51607
|
]));
|
|
51489
51608
|
}
|
|
@@ -51564,6 +51683,7 @@ const generatedFocusOperations = [
|
|
|
51564
51683
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51565
51684
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51566
51685
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51686
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51567
51687
|
status_id: /* @__PURE__ */ number$2(),
|
|
51568
51688
|
task_id: /* @__PURE__ */ number$2(),
|
|
51569
51689
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51579,33 +51699,6 @@ const generatedFocusOperations = [
|
|
|
51579
51699
|
]));
|
|
51580
51700
|
}
|
|
51581
51701
|
},
|
|
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
|
-
},
|
|
51609
51702
|
{
|
|
51610
51703
|
id: "focus.time-entries.get-task-time-entries",
|
|
51611
51704
|
family: "focus",
|
|
@@ -51627,7 +51720,6 @@ const generatedFocusOperations = [
|
|
|
51627
51720
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51628
51721
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51629
51722
|
task_id: /* @__PURE__ */ number$2(),
|
|
51630
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51631
51723
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51632
51724
|
}),
|
|
51633
51725
|
execute: (input, { client }) => {
|
|
@@ -51740,12 +51832,14 @@ const generatedFocusOperations = [
|
|
|
51740
51832
|
},
|
|
51741
51833
|
mcp: { entityTool: "time-entries" },
|
|
51742
51834
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51835
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51743
51836
|
payload: /* @__PURE__ */ looseObject({
|
|
51744
51837
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51745
51838
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51746
51839
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51747
51840
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51748
51841
|
}),
|
|
51842
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51749
51843
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51750
51844
|
}),
|
|
51751
51845
|
execute: (input, { client }) => {
|
|
@@ -51756,6 +51850,8 @@ const generatedFocusOperations = [
|
|
|
51756
51850
|
client.workspaceIdNumber,
|
|
51757
51851
|
data.time_entry_id,
|
|
51758
51852
|
data.payload ?? data.data ?? data,
|
|
51853
|
+
data.from_recurring_task_id,
|
|
51854
|
+
data.return_occurrence,
|
|
51759
51855
|
void 0
|
|
51760
51856
|
]));
|
|
51761
51857
|
}
|
|
@@ -52013,6 +52109,7 @@ const generatedFocusOperations = [
|
|
|
52013
52109
|
},
|
|
52014
52110
|
mcp: { entityTool: "time-entries" },
|
|
52015
52111
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52112
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52016
52113
|
payload: /* @__PURE__ */ looseObject({
|
|
52017
52114
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52018
52115
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52022,9 +52119,9 @@ const generatedFocusOperations = [
|
|
|
52022
52119
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52023
52120
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52024
52121
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52025
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52026
52122
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52027
52123
|
}),
|
|
52124
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52028
52125
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52029
52126
|
}),
|
|
52030
52127
|
execute: (input, { client }) => {
|
|
@@ -52035,6 +52132,8 @@ const generatedFocusOperations = [
|
|
|
52035
52132
|
client.workspaceIdNumber,
|
|
52036
52133
|
data.time_entry_id,
|
|
52037
52134
|
data.payload ?? data.data ?? data,
|
|
52135
|
+
data.from_recurring_task_id,
|
|
52136
|
+
data.return_occurrence,
|
|
52038
52137
|
void 0
|
|
52039
52138
|
]));
|
|
52040
52139
|
}
|
|
@@ -52099,6 +52198,118 @@ const generatedFocusOperations = [
|
|
|
52099
52198
|
]));
|
|
52100
52199
|
}
|
|
52101
52200
|
},
|
|
52201
|
+
{
|
|
52202
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52203
|
+
family: "focus",
|
|
52204
|
+
resource: "time-off",
|
|
52205
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
52206
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52207
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52208
|
+
safety: "read",
|
|
52209
|
+
destructive: false,
|
|
52210
|
+
cli: {
|
|
52211
|
+
group: ["time-off"],
|
|
52212
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
52213
|
+
interactive: "hidden"
|
|
52214
|
+
},
|
|
52215
|
+
mcp: { entityTool: "time-off" },
|
|
52216
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52217
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
52218
|
+
page: /* @__PURE__ */ number$2(),
|
|
52219
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
52220
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
52221
|
+
year: /* @__PURE__ */ unknown$1()
|
|
52222
|
+
}),
|
|
52223
|
+
execute: (input, { client }) => {
|
|
52224
|
+
const data = input;
|
|
52225
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52226
|
+
client.httpClient,
|
|
52227
|
+
client.organizationId,
|
|
52228
|
+
data.user_id,
|
|
52229
|
+
data,
|
|
52230
|
+
void 0
|
|
52231
|
+
]));
|
|
52232
|
+
}
|
|
52233
|
+
},
|
|
52234
|
+
{
|
|
52235
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52236
|
+
family: "focus",
|
|
52237
|
+
resource: "time-off",
|
|
52238
|
+
action: "get-timeoff-balances-for-user",
|
|
52239
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
52240
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
52241
|
+
safety: "read",
|
|
52242
|
+
destructive: false,
|
|
52243
|
+
cli: {
|
|
52244
|
+
group: ["time-off"],
|
|
52245
|
+
command: "get-timeoff-balances-for-user",
|
|
52246
|
+
interactive: "available"
|
|
52247
|
+
},
|
|
52248
|
+
mcp: { entityTool: "time-off" },
|
|
52249
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52250
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52251
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52252
|
+
user_id: /* @__PURE__ */ number$2()
|
|
52253
|
+
}),
|
|
52254
|
+
execute: (input, { client }) => {
|
|
52255
|
+
const data = input;
|
|
52256
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52257
|
+
client.httpClient,
|
|
52258
|
+
client.organizationId,
|
|
52259
|
+
data.user_id,
|
|
52260
|
+
data,
|
|
52261
|
+
void 0
|
|
52262
|
+
]));
|
|
52263
|
+
}
|
|
52264
|
+
},
|
|
52265
|
+
{
|
|
52266
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
52267
|
+
family: "focus",
|
|
52268
|
+
resource: "time-off",
|
|
52269
|
+
action: "get-timeoff-categories",
|
|
52270
|
+
title: "Get Timeoff Categories Time Off",
|
|
52271
|
+
description: "Get Timeoff Categories Time Off.",
|
|
52272
|
+
safety: "read",
|
|
52273
|
+
destructive: false,
|
|
52274
|
+
cli: {
|
|
52275
|
+
group: ["time-off"],
|
|
52276
|
+
command: "get-timeoff-categories",
|
|
52277
|
+
interactive: "hidden"
|
|
52278
|
+
},
|
|
52279
|
+
mcp: { entityTool: "time-off" },
|
|
52280
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52281
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52282
|
+
client.httpClient,
|
|
52283
|
+
client.organizationId,
|
|
52284
|
+
void 0
|
|
52285
|
+
]))
|
|
52286
|
+
},
|
|
52287
|
+
{
|
|
52288
|
+
id: "focus.time-off.get-timeoff-category",
|
|
52289
|
+
family: "focus",
|
|
52290
|
+
resource: "time-off",
|
|
52291
|
+
action: "get-timeoff-category",
|
|
52292
|
+
title: "Get Timeoff Category Time Off",
|
|
52293
|
+
description: "Get Timeoff Category Time Off.",
|
|
52294
|
+
safety: "read",
|
|
52295
|
+
destructive: false,
|
|
52296
|
+
cli: {
|
|
52297
|
+
group: ["time-off"],
|
|
52298
|
+
command: "get-timeoff-category",
|
|
52299
|
+
interactive: "available"
|
|
52300
|
+
},
|
|
52301
|
+
mcp: { entityTool: "time-off" },
|
|
52302
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52303
|
+
execute: (input, { client }) => {
|
|
52304
|
+
const data = input;
|
|
52305
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52306
|
+
client.httpClient,
|
|
52307
|
+
client.organizationId,
|
|
52308
|
+
data.category_id,
|
|
52309
|
+
void 0
|
|
52310
|
+
]));
|
|
52311
|
+
}
|
|
52312
|
+
},
|
|
52102
52313
|
{
|
|
52103
52314
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52104
52315
|
family: "focus",
|
|
@@ -52550,6 +52761,40 @@ const generatedFocusOperations = [
|
|
|
52550
52761
|
]));
|
|
52551
52762
|
}
|
|
52552
52763
|
},
|
|
52764
|
+
{
|
|
52765
|
+
id: "focus.timesheets.get-status-counts",
|
|
52766
|
+
family: "focus",
|
|
52767
|
+
resource: "timesheets",
|
|
52768
|
+
action: "get-status-counts",
|
|
52769
|
+
title: "Get Status Counts Timesheets",
|
|
52770
|
+
description: "Get Status Counts Timesheets.",
|
|
52771
|
+
safety: "read",
|
|
52772
|
+
destructive: false,
|
|
52773
|
+
cli: {
|
|
52774
|
+
group: ["timesheets"],
|
|
52775
|
+
command: "get-status-counts",
|
|
52776
|
+
interactive: "hidden"
|
|
52777
|
+
},
|
|
52778
|
+
mcp: { entityTool: "timesheets" },
|
|
52779
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52780
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52781
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
52782
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
52783
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
52784
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52785
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52786
|
+
}),
|
|
52787
|
+
execute: (input, { client }) => {
|
|
52788
|
+
const data = input;
|
|
52789
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52790
|
+
client.httpClient,
|
|
52791
|
+
client.organizationId,
|
|
52792
|
+
client.workspaceIdNumber,
|
|
52793
|
+
data,
|
|
52794
|
+
void 0
|
|
52795
|
+
]));
|
|
52796
|
+
}
|
|
52797
|
+
},
|
|
52553
52798
|
{
|
|
52554
52799
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52555
52800
|
family: "focus",
|
|
@@ -53099,6 +53344,33 @@ const generatedFocusOperations = [
|
|
|
53099
53344
|
]));
|
|
53100
53345
|
}
|
|
53101
53346
|
},
|
|
53347
|
+
{
|
|
53348
|
+
id: "focus.track-team-invites.post",
|
|
53349
|
+
family: "focus",
|
|
53350
|
+
resource: "track-team-invites",
|
|
53351
|
+
action: "post",
|
|
53352
|
+
title: "Post Track Team Invites",
|
|
53353
|
+
description: "Post Track Team Invites.",
|
|
53354
|
+
safety: "create",
|
|
53355
|
+
destructive: false,
|
|
53356
|
+
cli: {
|
|
53357
|
+
group: ["track-team-invites"],
|
|
53358
|
+
command: "post",
|
|
53359
|
+
interactive: "default"
|
|
53360
|
+
},
|
|
53361
|
+
mcp: { entityTool: "track-team-invites" },
|
|
53362
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53363
|
+
execute: (input, { client }) => {
|
|
53364
|
+
const data = input;
|
|
53365
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53366
|
+
client.httpClient,
|
|
53367
|
+
client.organizationId,
|
|
53368
|
+
client.workspaceIdNumber,
|
|
53369
|
+
data.payload ?? data.data ?? data,
|
|
53370
|
+
void 0
|
|
53371
|
+
]));
|
|
53372
|
+
}
|
|
53373
|
+
},
|
|
53102
53374
|
{
|
|
53103
53375
|
id: "focus.users.list",
|
|
53104
53376
|
family: "focus",
|
|
@@ -53120,6 +53392,56 @@ const generatedFocusOperations = [
|
|
|
53120
53392
|
return client.listOrgUsers(data);
|
|
53121
53393
|
}
|
|
53122
53394
|
},
|
|
53395
|
+
{
|
|
53396
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
53397
|
+
family: "focus",
|
|
53398
|
+
resource: "users",
|
|
53399
|
+
action: "settings-email-unsubscribe",
|
|
53400
|
+
title: "Settings Email Unsubscribe Users",
|
|
53401
|
+
description: "Settings Email Unsubscribe Users.",
|
|
53402
|
+
safety: "update",
|
|
53403
|
+
destructive: false,
|
|
53404
|
+
cli: {
|
|
53405
|
+
group: ["users", "settings"],
|
|
53406
|
+
command: "email-unsubscribe",
|
|
53407
|
+
interactive: "default"
|
|
53408
|
+
},
|
|
53409
|
+
mcp: { entityTool: "users" },
|
|
53410
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53411
|
+
execute: (input, { client }) => {
|
|
53412
|
+
const data = input;
|
|
53413
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53414
|
+
client.httpClient,
|
|
53415
|
+
data.token,
|
|
53416
|
+
void 0
|
|
53417
|
+
]));
|
|
53418
|
+
}
|
|
53419
|
+
},
|
|
53420
|
+
{
|
|
53421
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
53422
|
+
family: "focus",
|
|
53423
|
+
resource: "users",
|
|
53424
|
+
action: "settings-email-unsubscribe-page",
|
|
53425
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
53426
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
53427
|
+
safety: "read",
|
|
53428
|
+
destructive: false,
|
|
53429
|
+
cli: {
|
|
53430
|
+
group: ["users", "settings"],
|
|
53431
|
+
command: "email-unsubscribe-page",
|
|
53432
|
+
interactive: "available"
|
|
53433
|
+
},
|
|
53434
|
+
mcp: { entityTool: "users" },
|
|
53435
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53436
|
+
execute: (input, { client }) => {
|
|
53437
|
+
const data = input;
|
|
53438
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53439
|
+
client.httpClient,
|
|
53440
|
+
data.token,
|
|
53441
|
+
void 0
|
|
53442
|
+
]));
|
|
53443
|
+
}
|
|
53444
|
+
},
|
|
53123
53445
|
{
|
|
53124
53446
|
id: "focus.users.settings-list",
|
|
53125
53447
|
family: "focus",
|
|
@@ -53181,6 +53503,9 @@ const generatedFocusOperations = [
|
|
|
53181
53503
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53182
53504
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53183
53505
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53506
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53507
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53508
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53184
53509
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53185
53510
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53186
53511
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54723,7 +55048,7 @@ function registerWorkspaceTools(server) {
|
|
|
54723
55048
|
//#region src/package-version.ts
|
|
54724
55049
|
function mcpPackageVersion() {
|
|
54725
55050
|
try {
|
|
54726
|
-
return "1.11.
|
|
55051
|
+
return "1.11.79";
|
|
54727
55052
|
} catch {
|
|
54728
55053
|
return "unknown";
|
|
54729
55054
|
}
|
|
@@ -54898,7 +55223,7 @@ import_main.default.config({
|
|
|
54898
55223
|
quiet: true,
|
|
54899
55224
|
ignore: ["MISSING_ENV_FILE"]
|
|
54900
55225
|
});
|
|
54901
|
-
const packageVersion = "1.11.
|
|
55226
|
+
const packageVersion = "1.11.79";
|
|
54902
55227
|
function resolvePublicUrls() {
|
|
54903
55228
|
return {
|
|
54904
55229
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54963,4 +55288,4 @@ function bootstrapServer(options = {}) {
|
|
|
54963
55288
|
//#endregion
|
|
54964
55289
|
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 };
|
|
54965
55290
|
|
|
54966
|
-
//# sourceMappingURL=src-
|
|
55291
|
+
//# sourceMappingURL=src-lO2aIb8M.js.map
|