@togglhq/mcp 1.11.81 → 1.11.83
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/README.md +1 -1
- package/build/cli.js +14 -17
- package/build/index.js +1 -1
- package/build/{src-CvrUtqKf.js → src-LMB5VU2N.js} +920 -1131
- package/package.json +1 -1
|
@@ -34683,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34683
34683
|
name: /* @__PURE__ */ string(),
|
|
34684
34684
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34685
34685
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34686
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34687
34686
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34688
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34689
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34770
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34771
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34772
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34773
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34774
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34775
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34776
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34832
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34833
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34834
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34835
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34836
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34837
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34838
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34993,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34993
34990
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34994
34991
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34995
34992
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34996
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
34997
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
34998
34993
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34999
34994
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35000
34995
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35080,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35080
35075
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35081
35076
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35082
35077
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35083
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35084
35078
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35085
35079
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35086
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35087
35080
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35088
35081
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35089
35082
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -35139,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35139
35132
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35140
35133
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35141
35134
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35142
|
-
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
35143
|
-
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
35144
35135
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35145
35136
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
35137
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35313,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35313
35304
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35314
35305
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35315
35306
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35307
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35316
35309
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35317
35310
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35318
35311
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35369,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35369
35362
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35370
35363
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35371
35364
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35372
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35373
35365
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35374
35366
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35375
35367
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35406,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35406
35398
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35407
35399
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35408
35400
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
-
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35410
35401
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35411
35402
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35412
35403
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35427,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35427
35418
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35428
35419
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35429
35420
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35430
35422
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35431
35423
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35432
35424
|
});
|
|
@@ -35455,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35455
35447
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35456
35448
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35457
35449
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35458
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35450
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35451
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35459
35452
|
});
|
|
35460
35453
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35461
35454
|
//#endregion
|
|
@@ -37329,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37329
37322
|
})
|
|
37330
37323
|
}).json();
|
|
37331
37324
|
}
|
|
37332
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group,
|
|
37325
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37333
37326
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37334
37327
|
signal,
|
|
37335
37328
|
searchParams: buildSearchParams$2({
|
|
@@ -37350,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37350
37343
|
include_rates,
|
|
37351
37344
|
pinned_ids,
|
|
37352
37345
|
has_group,
|
|
37353
|
-
track_without_focus,
|
|
37354
37346
|
cf_filter,
|
|
37355
37347
|
include_custom_fields,
|
|
37356
37348
|
include_calendar_integration
|
|
@@ -37452,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37452
37444
|
}
|
|
37453
37445
|
//#endregion
|
|
37454
37446
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37455
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37447
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37456
37448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37457
37449
|
signal,
|
|
37458
37450
|
searchParams: buildSearchParams$2({
|
|
37459
|
-
include_task_counts,
|
|
37460
|
-
include_picker_parent_group_counts,
|
|
37461
|
-
task_archived,
|
|
37462
|
-
task_recurring,
|
|
37463
|
-
task_state,
|
|
37464
|
-
task_source,
|
|
37465
|
-
task_assignee_user_id,
|
|
37466
|
-
task_assignee_team_id,
|
|
37467
|
-
task_include_unassigned,
|
|
37468
|
-
task_name,
|
|
37469
37451
|
page,
|
|
37470
37452
|
per_page,
|
|
37471
37453
|
order_by,
|
|
@@ -37715,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37715
37697
|
}
|
|
37716
37698
|
//#endregion
|
|
37717
37699
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37718
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter
|
|
37700
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
37719
37701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37720
37702
|
signal,
|
|
37721
37703
|
searchParams: buildSearchParams$2({
|
|
@@ -37728,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37728
37710
|
toggl_user_id,
|
|
37729
37711
|
name,
|
|
37730
37712
|
has_time_entries,
|
|
37713
|
+
has_time_blocks,
|
|
37731
37714
|
has_dates,
|
|
37732
37715
|
private: private_,
|
|
37733
37716
|
archived,
|
|
@@ -37750,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37750
37733
|
priority,
|
|
37751
37734
|
is_priority,
|
|
37752
37735
|
state,
|
|
37736
|
+
timeblock_start_from,
|
|
37737
|
+
timeblock_start_until,
|
|
37738
|
+
time_block_id,
|
|
37739
|
+
time_block_completed,
|
|
37753
37740
|
team_id,
|
|
37754
37741
|
assignee_team_id,
|
|
37755
37742
|
assignee_user_id,
|
|
@@ -37761,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37761
37748
|
include_assignees,
|
|
37762
37749
|
include_parent_matches,
|
|
37763
37750
|
disable_aggregations,
|
|
37764
|
-
cf_filter
|
|
37765
|
-
recurring_occurrences_after,
|
|
37766
|
-
max_recurring_occurrences_after,
|
|
37767
|
-
recurring_task_read,
|
|
37768
|
-
include_projected_occurrences
|
|
37751
|
+
cf_filter
|
|
37769
37752
|
})
|
|
37770
37753
|
}).json();
|
|
37771
37754
|
}
|
|
@@ -37840,46 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37840
37823
|
})
|
|
37841
37824
|
}).json();
|
|
37842
37825
|
}
|
|
37843
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37826
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37844
37827
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37845
37828
|
signal,
|
|
37846
37829
|
searchParams: buildSearchParams$2({
|
|
37847
37830
|
date_from,
|
|
37848
|
-
date_to
|
|
37849
|
-
skip_provider_refresh
|
|
37850
|
-
})
|
|
37851
|
-
}).json();
|
|
37852
|
-
}
|
|
37853
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, 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
|
|
37831
|
+
date_to
|
|
37879
37832
|
})
|
|
37880
37833
|
}).json();
|
|
37881
37834
|
}
|
|
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
|
|
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) {
|
|
37883
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37884
37837
|
signal,
|
|
37885
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37895,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37895
37848
|
assignee_team_id,
|
|
37896
37849
|
assignee_user_id,
|
|
37897
37850
|
tag_id,
|
|
37898
|
-
include_assignees
|
|
37899
|
-
recurring_occurrences_after,
|
|
37900
|
-
max_recurring_occurrences_after,
|
|
37901
|
-
recurring_task_read,
|
|
37902
|
-
include_projected_occurrences
|
|
37851
|
+
include_assignees
|
|
37903
37852
|
})
|
|
37904
37853
|
}).json();
|
|
37905
37854
|
}
|
|
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
|
|
37855
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
37907
37856
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37908
37857
|
signal,
|
|
37909
37858
|
searchParams: buildSearchParams$2({
|
|
@@ -37915,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37915
37864
|
name,
|
|
37916
37865
|
include_parent_matches,
|
|
37917
37866
|
has_time_entries,
|
|
37867
|
+
has_time_blocks,
|
|
37918
37868
|
has_dates,
|
|
37919
37869
|
private: private_,
|
|
37920
37870
|
archived,
|
|
@@ -37937,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37937
37887
|
priority,
|
|
37938
37888
|
is_priority,
|
|
37939
37889
|
state,
|
|
37890
|
+
time_block_id,
|
|
37891
|
+
time_block_completed,
|
|
37940
37892
|
team_id,
|
|
37941
37893
|
assignee_team_id,
|
|
37942
37894
|
assignee_user_id,
|
|
@@ -37945,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37945
37897
|
recurring_task_ids,
|
|
37946
37898
|
client_id,
|
|
37947
37899
|
include_assignees,
|
|
37948
|
-
cf_filter
|
|
37949
|
-
recurring_occurrences_after,
|
|
37950
|
-
max_recurring_occurrences_after,
|
|
37951
|
-
recurring_task_read,
|
|
37952
|
-
include_projected_occurrences
|
|
37900
|
+
cf_filter
|
|
37953
37901
|
})
|
|
37954
37902
|
}).json();
|
|
37955
37903
|
}
|
|
@@ -38004,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38004
37952
|
})
|
|
38005
37953
|
}).json();
|
|
38006
37954
|
}
|
|
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
|
-
}
|
|
38013
37955
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
38014
37956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38015
37957
|
signal,
|
|
@@ -38035,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
38035
37977
|
}
|
|
38036
37978
|
//#endregion
|
|
38037
37979
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
38038
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37980
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
38039
37981
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38040
37982
|
signal,
|
|
38041
37983
|
searchParams: buildSearchParams$2({
|
|
@@ -38043,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38043
37985
|
per_page,
|
|
38044
37986
|
order_by,
|
|
38045
37987
|
type,
|
|
38046
|
-
archived
|
|
37988
|
+
archived,
|
|
37989
|
+
time_block_id
|
|
38047
37990
|
})
|
|
38048
37991
|
}).json();
|
|
38049
37992
|
}
|
|
38050
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
37993
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38051
37994
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38052
37995
|
signal,
|
|
38053
|
-
json: data
|
|
38054
|
-
searchParams: buildSearchParams$2({
|
|
38055
|
-
from_recurring_task_id,
|
|
38056
|
-
return_occurrence
|
|
38057
|
-
})
|
|
37996
|
+
json: data
|
|
38058
37997
|
}).json();
|
|
38059
37998
|
}
|
|
38060
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
37999
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38061
38000
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38062
38001
|
signal,
|
|
38063
|
-
json: data
|
|
38064
|
-
searchParams: buildSearchParams$2({
|
|
38065
|
-
from_recurring_task_id,
|
|
38066
|
-
return_occurrence
|
|
38067
|
-
})
|
|
38002
|
+
json: data
|
|
38068
38003
|
}).json();
|
|
38069
38004
|
}
|
|
38070
38005
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38115,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38115
38050
|
json: data
|
|
38116
38051
|
}).json();
|
|
38117
38052
|
}
|
|
38118
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38053
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38119
38054
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38120
38055
|
signal,
|
|
38121
38056
|
searchParams: buildSearchParams$2({
|
|
@@ -38123,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38123
38058
|
date_to,
|
|
38124
38059
|
task_id,
|
|
38125
38060
|
status_id,
|
|
38126
|
-
project_id,
|
|
38127
38061
|
type,
|
|
38128
38062
|
order_by,
|
|
38129
38063
|
archived,
|
|
@@ -38138,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38138
38072
|
json: data
|
|
38139
38073
|
}).json();
|
|
38140
38074
|
}
|
|
38075
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
|
+
signal,
|
|
38078
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
38079
|
+
}).json();
|
|
38080
|
+
}
|
|
38141
38081
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38142
38082
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38143
38083
|
}
|
|
38144
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38084
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38145
38085
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38146
38086
|
signal,
|
|
38147
|
-
json: data
|
|
38148
|
-
searchParams: buildSearchParams$2({
|
|
38149
|
-
from_recurring_task_id,
|
|
38150
|
-
return_occurrence
|
|
38151
|
-
})
|
|
38087
|
+
json: data
|
|
38152
38088
|
}).json();
|
|
38153
38089
|
}
|
|
38154
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
38090
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38091
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38162
38092
|
}
|
|
38163
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38093
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38164
38094
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38165
38095
|
signal,
|
|
38166
|
-
json: data
|
|
38167
|
-
searchParams: buildSearchParams$2({
|
|
38168
|
-
from_recurring_task_id,
|
|
38169
|
-
return_occurrence
|
|
38170
|
-
})
|
|
38096
|
+
json: data
|
|
38171
38097
|
}).json();
|
|
38172
38098
|
}
|
|
38173
38099
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -40086,6 +40012,120 @@ function redactUnsafeSentryMessages(event) {
|
|
|
40086
40012
|
for (const value of event.exception?.values ?? []) if (!isSafeSentryMessage(value.value)) value.value = REDACTED_SENTRY_MESSAGE;
|
|
40087
40013
|
return event;
|
|
40088
40014
|
}
|
|
40015
|
+
/**
|
|
40016
|
+
* Shared Sentry setup for the public CLI and MCP packages. Reporting is on by
|
|
40017
|
+
* default there, so everything the SDK attaches on its own has to be safe to
|
|
40018
|
+
* send from any user's machine, not only the exception message. Both packages
|
|
40019
|
+
* build their `Sentry.init` options from here so the two cannot drift.
|
|
40020
|
+
*/
|
|
40021
|
+
function normalized(raw) {
|
|
40022
|
+
const value = raw?.trim();
|
|
40023
|
+
return value ? value.toLowerCase() : void 0;
|
|
40024
|
+
}
|
|
40025
|
+
function isOff(raw) {
|
|
40026
|
+
const value = normalized(raw);
|
|
40027
|
+
return value === "0" || value === "false" || value === "off" || value === "no";
|
|
40028
|
+
}
|
|
40029
|
+
function isOn(raw) {
|
|
40030
|
+
const value = normalized(raw);
|
|
40031
|
+
return value === "1" || value === "true" || value === "on" || value === "yes";
|
|
40032
|
+
}
|
|
40033
|
+
/**
|
|
40034
|
+
* Picks the DSN the public build reports to, or `undefined` when reporting is
|
|
40035
|
+
* off.
|
|
40036
|
+
*
|
|
40037
|
+
* `TOGGL_SENTRY_DSN` is the override. The generic `SENTRY_DSN` is what most Node
|
|
40038
|
+
* apps set, and the MCP loads the working directory's `.env`, so on its own it
|
|
40039
|
+
* must not redirect Toggl's errors into the user's project. It is still honoured
|
|
40040
|
+
* with an explicit `TOGGL_SENTRY=1`, the old opt-in, and `SENTRY_DSN=off` still
|
|
40041
|
+
* switches reporting off.
|
|
40042
|
+
*/
|
|
40043
|
+
function resolvePublicSentryDsn(builtIn, env = process.env) {
|
|
40044
|
+
if (isOff(env.TOGGL_SENTRY) || normalized(env.SENTRY_DSN) === "off") return void 0;
|
|
40045
|
+
const override = env.TOGGL_SENTRY_DSN?.trim();
|
|
40046
|
+
if (override) return override.toLowerCase() === "off" ? void 0 : override;
|
|
40047
|
+
const legacy = env.SENTRY_DSN?.trim();
|
|
40048
|
+
if (legacy && isOn(env.TOGGL_SENTRY)) return legacy;
|
|
40049
|
+
return builtIn;
|
|
40050
|
+
}
|
|
40051
|
+
/**
|
|
40052
|
+
* `/Users/jane/.npm/_npx/…/node_modules/@togglhq/mcp/build/cli.js` becomes
|
|
40053
|
+
* `@togglhq/mcp/build/cli.js`. A path outside `node_modules` keeps only its file
|
|
40054
|
+
* name, so no home directory or login leaves the machine.
|
|
40055
|
+
*/
|
|
40056
|
+
function toPackageRelativePath(path) {
|
|
40057
|
+
const unified = path.replace(/^file:\/\//, "").replaceAll("\\", "/");
|
|
40058
|
+
const at = unified.lastIndexOf("/node_modules/");
|
|
40059
|
+
if (at !== -1) return unified.slice(at + 14);
|
|
40060
|
+
if (!unified.includes("/")) return unified;
|
|
40061
|
+
return unified.slice(unified.lastIndexOf("/") + 1);
|
|
40062
|
+
}
|
|
40063
|
+
function scrubStacktrace(stacktrace) {
|
|
40064
|
+
for (const frame of stacktrace?.frames ?? []) {
|
|
40065
|
+
if (typeof frame.filename === "string") frame.filename = toPackageRelativePath(frame.filename);
|
|
40066
|
+
if (typeof frame.abs_path === "string") frame.abs_path = toPackageRelativePath(frame.abs_path);
|
|
40067
|
+
}
|
|
40068
|
+
}
|
|
40069
|
+
const QUERY_ATTRIBUTES = [
|
|
40070
|
+
"http.query",
|
|
40071
|
+
"url.query",
|
|
40072
|
+
"http.fragment",
|
|
40073
|
+
"url.fragment"
|
|
40074
|
+
];
|
|
40075
|
+
const URL_ATTRIBUTES = [
|
|
40076
|
+
"url.full",
|
|
40077
|
+
"http.url",
|
|
40078
|
+
"http.target",
|
|
40079
|
+
"url"
|
|
40080
|
+
];
|
|
40081
|
+
function stripQuery(value) {
|
|
40082
|
+
return value.replace(/[?#]\S*/, "");
|
|
40083
|
+
}
|
|
40084
|
+
function scrubSpan(span) {
|
|
40085
|
+
if (!span) return;
|
|
40086
|
+
if (typeof span.description === "string") span.description = stripQuery(span.description);
|
|
40087
|
+
const data = span.data;
|
|
40088
|
+
if (!data) return;
|
|
40089
|
+
for (const key of QUERY_ATTRIBUTES) delete data[key];
|
|
40090
|
+
for (const key of URL_ATTRIBUTES) {
|
|
40091
|
+
const value = data[key];
|
|
40092
|
+
if (typeof value === "string") data[key] = stripQuery(value);
|
|
40093
|
+
}
|
|
40094
|
+
}
|
|
40095
|
+
/**
|
|
40096
|
+
* Last word on every event the public build sends: messages reduced to fixed
|
|
40097
|
+
* categories, no hostname, no breadcrumbs, no dependency list, no request data,
|
|
40098
|
+
* package-relative stack paths, and no query strings on spans.
|
|
40099
|
+
*/
|
|
40100
|
+
function scrubPublicSentryEvent(event) {
|
|
40101
|
+
redactUnsafeSentryMessages(event);
|
|
40102
|
+
delete event.server_name;
|
|
40103
|
+
delete event.breadcrumbs;
|
|
40104
|
+
delete event.modules;
|
|
40105
|
+
delete event.request;
|
|
40106
|
+
for (const value of event.exception?.values ?? []) scrubStacktrace(value.stacktrace);
|
|
40107
|
+
for (const thread of event.threads?.values ?? []) scrubStacktrace(thread.stacktrace);
|
|
40108
|
+
for (const span of event.spans ?? []) scrubSpan(span);
|
|
40109
|
+
scrubSpan(event.contexts?.trace);
|
|
40110
|
+
return event;
|
|
40111
|
+
}
|
|
40112
|
+
/**
|
|
40113
|
+
* Privacy options shared by `initCliTelemetry` and `initPublicSentry`.
|
|
40114
|
+
*
|
|
40115
|
+
* `sendDefaultPii: false` leaves the hostname (`server_name`), console and fetch
|
|
40116
|
+
* breadcrumbs, absolute stack paths, the working directory's package.json
|
|
40117
|
+
* dependencies (`Modules`) and incoming request data in place. Console
|
|
40118
|
+
* breadcrumbs in the MCP include the workspace name it logs at startup.
|
|
40119
|
+
*/
|
|
40120
|
+
const PUBLIC_SENTRY_PRIVACY_OPTIONS = {
|
|
40121
|
+
sendDefaultPii: false,
|
|
40122
|
+
includeServerName: false,
|
|
40123
|
+
maxBreadcrumbs: 0,
|
|
40124
|
+
integrations: (defaults) => defaults.filter((integration) => integration.name !== "Modules"),
|
|
40125
|
+
beforeBreadcrumb: () => null,
|
|
40126
|
+
beforeSend: (event) => scrubPublicSentryEvent(event),
|
|
40127
|
+
beforeSendTransaction: (event) => scrubPublicSentryEvent(event)
|
|
40128
|
+
};
|
|
40089
40129
|
const DEFAULT_POSTHOG_HOST = "https://eu.i.posthog.com";
|
|
40090
40130
|
/**
|
|
40091
40131
|
* The shared Toggl **production** PostHog project — the same token the Track
|
|
@@ -41879,15 +41919,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41879
41919
|
}
|
|
41880
41920
|
//#endregion
|
|
41881
41921
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41882
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
41922
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41883
41923
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41884
41924
|
signal,
|
|
41885
41925
|
searchParams: buildSearchParams$2({
|
|
41886
41926
|
workspace_id,
|
|
41887
41927
|
entity_type,
|
|
41888
41928
|
entity_id,
|
|
41889
|
-
project_id,
|
|
41890
|
-
custom_field_id,
|
|
41891
41929
|
action,
|
|
41892
41930
|
user_id,
|
|
41893
41931
|
page_size,
|
|
@@ -41896,14 +41934,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41896
41934
|
})
|
|
41897
41935
|
}).json();
|
|
41898
41936
|
}
|
|
41899
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
41937
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41900
41938
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41901
41939
|
signal,
|
|
41902
41940
|
searchParams: buildSearchParams$2({
|
|
41903
41941
|
entity_type,
|
|
41904
41942
|
entity_id,
|
|
41905
|
-
project_id,
|
|
41906
|
-
custom_field_id,
|
|
41907
41943
|
action,
|
|
41908
41944
|
user_id,
|
|
41909
41945
|
page_size,
|
|
@@ -42056,14 +42092,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42056
42092
|
}
|
|
42057
42093
|
//#endregion
|
|
42058
42094
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42059
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42095
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42060
42096
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42061
42097
|
signal,
|
|
42062
42098
|
searchParams: buildSearchParams$2({
|
|
42099
|
+
user_id,
|
|
42063
42100
|
start_date,
|
|
42064
42101
|
end_date,
|
|
42065
|
-
user_id,
|
|
42066
|
-
team_id,
|
|
42067
42102
|
private: private_,
|
|
42068
42103
|
task_source,
|
|
42069
42104
|
unit,
|
|
@@ -42123,15 +42158,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42123
42158
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42124
42159
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42125
42160
|
}
|
|
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
|
-
}
|
|
42135
42161
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42136
42162
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42137
42163
|
signal,
|
|
@@ -42395,7 +42421,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42395
42421
|
}
|
|
42396
42422
|
//#endregion
|
|
42397
42423
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
42424
|
+
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) {
|
|
42399
42425
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42400
42426
|
signal,
|
|
42401
42427
|
searchParams: buildSearchParams$2({
|
|
@@ -42421,7 +42447,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42421
42447
|
user_id,
|
|
42422
42448
|
only_me,
|
|
42423
42449
|
include_drafts,
|
|
42424
|
-
include_recurring_series,
|
|
42425
42450
|
cf_filter
|
|
42426
42451
|
})
|
|
42427
42452
|
}).json();
|
|
@@ -42440,6 +42465,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42440
42465
|
json: data
|
|
42441
42466
|
}).json();
|
|
42442
42467
|
}
|
|
42468
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42469
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42470
|
+
}
|
|
42443
42471
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42444
42472
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42445
42473
|
}
|
|
@@ -42465,37 +42493,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42465
42493
|
}).json();
|
|
42466
42494
|
}
|
|
42467
42495
|
//#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
|
|
42499
42496
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42500
42497
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42501
42498
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42657,7 +42654,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42657
42654
|
}
|
|
42658
42655
|
//#endregion
|
|
42659
42656
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42660
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
42657
|
+
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) {
|
|
42661
42658
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42662
42659
|
signal,
|
|
42663
42660
|
searchParams: buildSearchParams$2({
|
|
@@ -42665,7 +42662,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42665
42662
|
per_group,
|
|
42666
42663
|
assignee_user_id,
|
|
42667
42664
|
assignee_team_id,
|
|
42668
|
-
include_unassigned,
|
|
42669
42665
|
project_id,
|
|
42670
42666
|
task_id,
|
|
42671
42667
|
include_drafts,
|
|
@@ -42710,18 +42706,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42710
42706
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42711
42707
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42712
42708
|
}
|
|
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
|
-
}
|
|
42725
42709
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42726
42710
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42727
42711
|
signal,
|
|
@@ -42731,21 +42715,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42731
42715
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42732
42716
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42733
42717
|
}
|
|
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
|
-
}
|
|
42749
42718
|
//#endregion
|
|
42750
42719
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42751
42720
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42802,10 +42771,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42802
42771
|
}
|
|
42803
42772
|
//#endregion
|
|
42804
42773
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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
|
|
42774
|
+
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) {
|
|
42806
42775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42807
42776
|
signal,
|
|
42808
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42809
42777
|
searchParams: buildSearchParams$2({
|
|
42810
42778
|
project_id,
|
|
42811
42779
|
source,
|
|
@@ -42834,18 +42802,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42834
42802
|
min_days,
|
|
42835
42803
|
include_drafts,
|
|
42836
42804
|
cf_filter,
|
|
42837
|
-
user_cf_filter
|
|
42838
|
-
recurring_occurrences_after,
|
|
42839
|
-
max_recurring_occurrences_after,
|
|
42840
|
-
recurring_task_read,
|
|
42841
|
-
include_projected_occurrences
|
|
42805
|
+
user_cf_filter
|
|
42842
42806
|
})
|
|
42843
42807
|
}).json();
|
|
42844
42808
|
}
|
|
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
|
|
42809
|
+
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) {
|
|
42846
42810
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42847
42811
|
signal,
|
|
42848
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42849
42812
|
searchParams: buildSearchParams$2({
|
|
42850
42813
|
team_id,
|
|
42851
42814
|
project_id,
|
|
@@ -42874,18 +42837,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42874
42837
|
min_days,
|
|
42875
42838
|
include_drafts,
|
|
42876
42839
|
cf_filter,
|
|
42877
|
-
user_cf_filter
|
|
42878
|
-
recurring_occurrences_after,
|
|
42879
|
-
max_recurring_occurrences_after,
|
|
42880
|
-
recurring_task_read,
|
|
42881
|
-
include_projected_occurrences
|
|
42840
|
+
user_cf_filter
|
|
42882
42841
|
})
|
|
42883
42842
|
}).json();
|
|
42884
42843
|
}
|
|
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,
|
|
42844
|
+
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) {
|
|
42886
42845
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42887
42846
|
signal,
|
|
42888
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42889
42847
|
searchParams: buildSearchParams$2({
|
|
42890
42848
|
source,
|
|
42891
42849
|
priority,
|
|
@@ -42915,10 +42873,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42915
42873
|
include_drafts,
|
|
42916
42874
|
cf_filter,
|
|
42917
42875
|
user_cf_filter,
|
|
42918
|
-
recurring_occurrences_after,
|
|
42919
|
-
max_recurring_occurrences_after,
|
|
42920
|
-
recurring_task_read,
|
|
42921
|
-
include_projected_occurrences,
|
|
42922
42876
|
page,
|
|
42923
42877
|
per_page,
|
|
42924
42878
|
order_by
|
|
@@ -42946,6 +42900,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42946
42900
|
}).json();
|
|
42947
42901
|
}
|
|
42948
42902
|
//#endregion
|
|
42903
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42904
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42905
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42906
|
+
signal,
|
|
42907
|
+
searchParams: buildSearchParams$2({
|
|
42908
|
+
page,
|
|
42909
|
+
per_page,
|
|
42910
|
+
order_by,
|
|
42911
|
+
archived
|
|
42912
|
+
})
|
|
42913
|
+
}).json();
|
|
42914
|
+
}
|
|
42915
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42916
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42917
|
+
signal,
|
|
42918
|
+
json: data
|
|
42919
|
+
}).json();
|
|
42920
|
+
}
|
|
42921
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42922
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42923
|
+
}
|
|
42924
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42925
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42926
|
+
signal,
|
|
42927
|
+
json: data
|
|
42928
|
+
}).json();
|
|
42929
|
+
}
|
|
42930
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42931
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42932
|
+
signal,
|
|
42933
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42934
|
+
}).json();
|
|
42935
|
+
}
|
|
42936
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42937
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42938
|
+
signal,
|
|
42939
|
+
json: data
|
|
42940
|
+
}).json();
|
|
42941
|
+
}
|
|
42942
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42943
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42944
|
+
}
|
|
42945
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42946
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42947
|
+
}
|
|
42948
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42949
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42950
|
+
}
|
|
42951
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42952
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42953
|
+
signal,
|
|
42954
|
+
searchParams: buildSearchParams$2({
|
|
42955
|
+
date_from,
|
|
42956
|
+
date_to,
|
|
42957
|
+
task_id,
|
|
42958
|
+
status_id,
|
|
42959
|
+
page,
|
|
42960
|
+
per_page,
|
|
42961
|
+
archived,
|
|
42962
|
+
order_by
|
|
42963
|
+
})
|
|
42964
|
+
}).json();
|
|
42965
|
+
}
|
|
42966
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42967
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42968
|
+
signal,
|
|
42969
|
+
json: data
|
|
42970
|
+
}).json();
|
|
42971
|
+
}
|
|
42972
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42973
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42974
|
+
signal,
|
|
42975
|
+
searchParams: buildSearchParams$2({
|
|
42976
|
+
ids,
|
|
42977
|
+
outbound_sync
|
|
42978
|
+
})
|
|
42979
|
+
}).json();
|
|
42980
|
+
}
|
|
42981
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42982
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42983
|
+
signal,
|
|
42984
|
+
json: data
|
|
42985
|
+
}).json();
|
|
42986
|
+
}
|
|
42987
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42988
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42989
|
+
signal,
|
|
42990
|
+
searchParams: buildSearchParams$2({
|
|
42991
|
+
date_from,
|
|
42992
|
+
date_to,
|
|
42993
|
+
task_id,
|
|
42994
|
+
status_id,
|
|
42995
|
+
archived,
|
|
42996
|
+
order_by
|
|
42997
|
+
})
|
|
42998
|
+
}).json();
|
|
42999
|
+
}
|
|
43000
|
+
//#endregion
|
|
42949
43001
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42950
43002
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42951
43003
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -42983,12 +43035,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
42983
43035
|
})
|
|
42984
43036
|
}).json();
|
|
42985
43037
|
}
|
|
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
|
-
}
|
|
42992
43038
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
42993
43039
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
42994
43040
|
signal,
|
|
@@ -43016,26 +43062,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43016
43062
|
json: data
|
|
43017
43063
|
}).json();
|
|
43018
43064
|
}
|
|
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
|
-
}
|
|
43039
43065
|
//#endregion
|
|
43040
43066
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43041
43067
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43136,19 +43162,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43136
43162
|
json: data
|
|
43137
43163
|
}).json();
|
|
43138
43164
|
}
|
|
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
|
-
}
|
|
43152
43165
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43153
43166
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43154
43167
|
}
|
|
@@ -43192,21 +43205,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43192
43205
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43193
43206
|
}
|
|
43194
43207
|
//#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
|
|
43203
43208
|
//#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
|
-
}
|
|
43210
43209
|
async function getUserSettings(httpClient, signal) {
|
|
43211
43210
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43212
43211
|
}
|
|
@@ -43446,7 +43445,6 @@ const generatedFocusOperations = [
|
|
|
43446
43445
|
mcp: { entityTool: "audit-log" },
|
|
43447
43446
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43448
43447
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43449
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43450
43448
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43451
43449
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43452
43450
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43454,7 +43452,6 @@ const generatedFocusOperations = [
|
|
|
43454
43452
|
from: /* @__PURE__ */ string$1(),
|
|
43455
43453
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43456
43454
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43457
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43458
43455
|
to: /* @__PURE__ */ string$1(),
|
|
43459
43456
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43460
43457
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43488,7 +43485,6 @@ const generatedFocusOperations = [
|
|
|
43488
43485
|
mcp: { entityTool: "audit-log" },
|
|
43489
43486
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43490
43487
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43491
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43492
43488
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43493
43489
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43494
43490
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43496,7 +43492,6 @@ const generatedFocusOperations = [
|
|
|
43496
43492
|
from: /* @__PURE__ */ string$1(),
|
|
43497
43493
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43498
43494
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43499
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43500
43495
|
to: /* @__PURE__ */ string$1(),
|
|
43501
43496
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43502
43497
|
}),
|
|
@@ -43536,7 +43531,6 @@ const generatedFocusOperations = [
|
|
|
43536
43531
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43537
43532
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43538
43533
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43539
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43540
43534
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43541
43535
|
user_id: /* @__PURE__ */ number$2()
|
|
43542
43536
|
}),
|
|
@@ -43786,6 +43780,8 @@ const generatedFocusOperations = [
|
|
|
43786
43780
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43787
43781
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43788
43782
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43783
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43784
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43789
43785
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43790
43786
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43791
43787
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43819,6 +43815,8 @@ const generatedFocusOperations = [
|
|
|
43819
43815
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43820
43816
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43821
43817
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43818
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43819
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43822
43820
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43823
43821
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43824
43822
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43834,6 +43832,12 @@ const generatedFocusOperations = [
|
|
|
43834
43832
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43835
43833
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43836
43834
|
}))),
|
|
43835
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43836
|
+
start: apiDateTimeString,
|
|
43837
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43838
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43839
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43840
|
+
}))),
|
|
43837
43841
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43838
43842
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43839
43843
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43843,6 +43847,13 @@ const generatedFocusOperations = [
|
|
|
43843
43847
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43844
43848
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43845
43849
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43850
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43851
|
+
start: apiDateTimeString,
|
|
43852
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43853
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43854
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43855
|
+
})),
|
|
43856
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43846
43857
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43847
43858
|
}))
|
|
43848
43859
|
}) }),
|
|
@@ -43961,60 +43972,33 @@ const generatedFocusOperations = [
|
|
|
43961
43972
|
}
|
|
43962
43973
|
},
|
|
43963
43974
|
{
|
|
43964
|
-
id: "focus.custom-fields.
|
|
43975
|
+
id: "focus.custom-fields.list",
|
|
43965
43976
|
family: "focus",
|
|
43966
43977
|
resource: "custom-fields",
|
|
43967
|
-
action: "
|
|
43968
|
-
title: "
|
|
43969
|
-
description: "
|
|
43978
|
+
action: "list",
|
|
43979
|
+
title: "List Custom Fields",
|
|
43980
|
+
description: "List Custom Fields.",
|
|
43970
43981
|
safety: "read",
|
|
43971
43982
|
destructive: false,
|
|
43972
43983
|
cli: {
|
|
43973
43984
|
group: ["custom-fields"],
|
|
43974
|
-
command: "
|
|
43975
|
-
interactive: "
|
|
43985
|
+
command: "list",
|
|
43986
|
+
interactive: "hidden"
|
|
43976
43987
|
},
|
|
43977
43988
|
mcp: { entityTool: "custom-fields" },
|
|
43978
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43989
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43990
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43991
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43992
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43993
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
43994
|
+
}),
|
|
43979
43995
|
execute: (input, { client }) => {
|
|
43980
43996
|
const data = input;
|
|
43981
|
-
return client.runGeneratedRequest("
|
|
43997
|
+
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
43982
43998
|
client.httpClient,
|
|
43983
43999
|
client.organizationId,
|
|
43984
44000
|
client.workspaceIdNumber,
|
|
43985
|
-
data
|
|
43986
|
-
void 0
|
|
43987
|
-
]));
|
|
43988
|
-
}
|
|
43989
|
-
},
|
|
43990
|
-
{
|
|
43991
|
-
id: "focus.custom-fields.list",
|
|
43992
|
-
family: "focus",
|
|
43993
|
-
resource: "custom-fields",
|
|
43994
|
-
action: "list",
|
|
43995
|
-
title: "List Custom Fields",
|
|
43996
|
-
description: "List Custom Fields.",
|
|
43997
|
-
safety: "read",
|
|
43998
|
-
destructive: false,
|
|
43999
|
-
cli: {
|
|
44000
|
-
group: ["custom-fields"],
|
|
44001
|
-
command: "list",
|
|
44002
|
-
interactive: "hidden"
|
|
44003
|
-
},
|
|
44004
|
-
mcp: { entityTool: "custom-fields" },
|
|
44005
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44006
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44007
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44008
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44009
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44010
|
-
}),
|
|
44011
|
-
execute: (input, { client }) => {
|
|
44012
|
-
const data = input;
|
|
44013
|
-
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
44014
|
-
client.httpClient,
|
|
44015
|
-
client.organizationId,
|
|
44016
|
-
client.workspaceIdNumber,
|
|
44017
|
-
data,
|
|
44001
|
+
data,
|
|
44018
44002
|
void 0
|
|
44019
44003
|
]));
|
|
44020
44004
|
}
|
|
@@ -44156,37 +44140,6 @@ const generatedFocusOperations = [
|
|
|
44156
44140
|
]));
|
|
44157
44141
|
}
|
|
44158
44142
|
},
|
|
44159
|
-
{
|
|
44160
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44161
|
-
family: "focus",
|
|
44162
|
-
resource: "custom-fields",
|
|
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.",
|
|
44166
|
-
safety: "update",
|
|
44167
|
-
destructive: false,
|
|
44168
|
-
cli: {
|
|
44169
|
-
group: ["custom-fields"],
|
|
44170
|
-
command: "replace-custom-field-allowed-users",
|
|
44171
|
-
interactive: "default"
|
|
44172
|
-
},
|
|
44173
|
-
mcp: { entityTool: "custom-fields" },
|
|
44174
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44175
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44176
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44177
|
-
}),
|
|
44178
|
-
execute: (input, { client }) => {
|
|
44179
|
-
const data = input;
|
|
44180
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44181
|
-
client.httpClient,
|
|
44182
|
-
client.organizationId,
|
|
44183
|
-
client.workspaceIdNumber,
|
|
44184
|
-
data.custom_field_id,
|
|
44185
|
-
data.payload ?? data.data ?? data,
|
|
44186
|
-
void 0
|
|
44187
|
-
]));
|
|
44188
|
-
}
|
|
44189
|
-
},
|
|
44190
44143
|
{
|
|
44191
44144
|
id: "focus.custom-fields.update",
|
|
44192
44145
|
family: "focus",
|
|
@@ -44333,7 +44286,13 @@ const generatedFocusOperations = [
|
|
|
44333
44286
|
},
|
|
44334
44287
|
mcp: { entityTool: "goals" },
|
|
44335
44288
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44289
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44336
44290
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44291
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44292
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44293
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44294
|
+
name: /* @__PURE__ */ string$1(),
|
|
44295
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44337
44296
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44338
44297
|
"daily",
|
|
44339
44298
|
"weekly",
|
|
@@ -44341,18 +44300,12 @@ const generatedFocusOperations = [
|
|
|
44341
44300
|
"monthly"
|
|
44342
44301
|
]),
|
|
44343
44302
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44303
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44344
44304
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44345
|
-
|
|
44305
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44306
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44346
44307
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
44308
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44356
44309
|
}) }),
|
|
44357
44310
|
execute: (input, { client }) => {
|
|
44358
44311
|
const data = input;
|
|
@@ -44458,6 +44411,13 @@ const generatedFocusOperations = [
|
|
|
44458
44411
|
},
|
|
44459
44412
|
mcp: { entityTool: "goals" },
|
|
44460
44413
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44414
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44415
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44416
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44417
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44418
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44419
|
+
name: /* @__PURE__ */ string$1(),
|
|
44420
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44461
44421
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44462
44422
|
"daily",
|
|
44463
44423
|
"weekly",
|
|
@@ -44465,19 +44425,12 @@ const generatedFocusOperations = [
|
|
|
44465
44425
|
"monthly"
|
|
44466
44426
|
]),
|
|
44467
44427
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44468
|
-
|
|
44428
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44429
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44430
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44431
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44469
44432
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44470
|
-
|
|
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()))
|
|
44433
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44481
44434
|
}) }),
|
|
44482
44435
|
execute: (input, { client }) => {
|
|
44483
44436
|
const data = input;
|
|
@@ -45444,17 +45397,9 @@ const generatedFocusOperations = [
|
|
|
45444
45397
|
mcp: { entityTool: "projects" },
|
|
45445
45398
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45446
45399
|
payload: /* @__PURE__ */ looseObject({
|
|
45447
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45448
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45449
45400
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45450
45401
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45451
45402
|
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()),
|
|
45458
45403
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45459
45404
|
}),
|
|
45460
45405
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45898,7 +45843,6 @@ const generatedFocusOperations = [
|
|
|
45898
45843
|
group: /* @__PURE__ */ string$1(),
|
|
45899
45844
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45900
45845
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45901
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45902
45846
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45903
45847
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45904
45848
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46001,6 +45945,29 @@ const generatedFocusOperations = [
|
|
|
46001
45945
|
]));
|
|
46002
45946
|
}
|
|
46003
45947
|
},
|
|
45948
|
+
{
|
|
45949
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
45950
|
+
family: "focus",
|
|
45951
|
+
resource: "projects",
|
|
45952
|
+
action: "margin-targets-clear-workspace",
|
|
45953
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
45954
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
45955
|
+
safety: "delete",
|
|
45956
|
+
destructive: true,
|
|
45957
|
+
cli: {
|
|
45958
|
+
group: ["projects", "margin-targets"],
|
|
45959
|
+
command: "clear-workspace",
|
|
45960
|
+
interactive: "default"
|
|
45961
|
+
},
|
|
45962
|
+
mcp: { entityTool: "projects" },
|
|
45963
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45964
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45965
|
+
client.httpClient,
|
|
45966
|
+
client.organizationId,
|
|
45967
|
+
client.workspaceIdNumber,
|
|
45968
|
+
void 0
|
|
45969
|
+
]))
|
|
45970
|
+
},
|
|
46004
45971
|
{
|
|
46005
45972
|
id: "focus.projects.margin-targets-get",
|
|
46006
45973
|
family: "focus",
|
|
@@ -46445,130 +46412,6 @@ const generatedFocusOperations = [
|
|
|
46445
46412
|
]));
|
|
46446
46413
|
}
|
|
46447
46414
|
},
|
|
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
|
-
},
|
|
46572
46415
|
{
|
|
46573
46416
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46574
46417
|
family: "focus",
|
|
@@ -48527,7 +48370,7 @@ const generatedFocusOperations = [
|
|
|
48527
48370
|
cli: {
|
|
48528
48371
|
group: ["reportschedules"],
|
|
48529
48372
|
command: "upsert-saved-view-schedule",
|
|
48530
|
-
interactive: "
|
|
48373
|
+
interactive: "default"
|
|
48531
48374
|
},
|
|
48532
48375
|
mcp: { entityTool: "reportschedules" },
|
|
48533
48376
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48538,10 +48381,8 @@ const generatedFocusOperations = [
|
|
|
48538
48381
|
"weekly",
|
|
48539
48382
|
"monthly"
|
|
48540
48383
|
]),
|
|
48541
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48542
48384
|
time: /* @__PURE__ */ string$1(),
|
|
48543
48385
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48544
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48545
48386
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48546
48387
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48547
48388
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48874,32 +48715,6 @@ const generatedFocusOperations = [
|
|
|
48874
48715
|
]));
|
|
48875
48716
|
}
|
|
48876
48717
|
},
|
|
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
|
-
},
|
|
48903
48718
|
{
|
|
48904
48719
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48905
48720
|
family: "focus",
|
|
@@ -48970,36 +48785,6 @@ const generatedFocusOperations = [
|
|
|
48970
48785
|
void 0
|
|
48971
48786
|
]))
|
|
48972
48787
|
},
|
|
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
|
-
},
|
|
49003
48788
|
{
|
|
49004
48789
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49005
48790
|
family: "focus",
|
|
@@ -49031,53 +48816,71 @@ const generatedFocusOperations = [
|
|
|
49031
48816
|
}
|
|
49032
48817
|
},
|
|
49033
48818
|
{
|
|
49034
|
-
id: "focus.sharedreports.
|
|
48819
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49035
48820
|
family: "focus",
|
|
49036
48821
|
resource: "sharedreports",
|
|
49037
|
-
action: "
|
|
49038
|
-
title: "
|
|
49039
|
-
description: "
|
|
49040
|
-
safety: "
|
|
49041
|
-
destructive:
|
|
48822
|
+
action: "share-saved-view",
|
|
48823
|
+
title: "Share Saved View Sharedreports",
|
|
48824
|
+
description: "Share Saved View Sharedreports.",
|
|
48825
|
+
safety: "update",
|
|
48826
|
+
destructive: false,
|
|
49042
48827
|
cli: {
|
|
49043
48828
|
group: ["sharedreports"],
|
|
49044
|
-
command: "
|
|
49045
|
-
interactive: "
|
|
48829
|
+
command: "share-saved-view",
|
|
48830
|
+
interactive: "hidden"
|
|
49046
48831
|
},
|
|
49047
48832
|
mcp: { entityTool: "sharedreports" },
|
|
49048
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48833
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48834
|
+
id: /* @__PURE__ */ number$2(),
|
|
48835
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48836
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48837
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48838
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48839
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48840
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48841
|
+
})
|
|
48842
|
+
}),
|
|
49049
48843
|
execute: (input, { client }) => {
|
|
49050
48844
|
const data = input;
|
|
49051
|
-
return client.runGeneratedRequest("
|
|
48845
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49052
48846
|
client.httpClient,
|
|
49053
48847
|
client.workspaceIdNumber,
|
|
49054
48848
|
data.id,
|
|
48849
|
+
data.payload ?? data.data ?? data,
|
|
49055
48850
|
void 0
|
|
49056
48851
|
]));
|
|
49057
48852
|
}
|
|
49058
48853
|
},
|
|
49059
48854
|
{
|
|
49060
|
-
id: "focus.sharedreports.
|
|
48855
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49061
48856
|
family: "focus",
|
|
49062
48857
|
resource: "sharedreports",
|
|
49063
|
-
action: "
|
|
49064
|
-
title: "
|
|
49065
|
-
description: "
|
|
48858
|
+
action: "share-saved-view-many",
|
|
48859
|
+
title: "Share Saved View Many Sharedreports",
|
|
48860
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49066
48861
|
safety: "update",
|
|
49067
48862
|
destructive: false,
|
|
49068
48863
|
cli: {
|
|
49069
48864
|
group: ["sharedreports"],
|
|
49070
|
-
command: "
|
|
49071
|
-
interactive: "
|
|
48865
|
+
command: "share-saved-view-many",
|
|
48866
|
+
interactive: "hidden"
|
|
49072
48867
|
},
|
|
49073
48868
|
mcp: { entityTool: "sharedreports" },
|
|
49074
48869
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49075
48870
|
id: /* @__PURE__ */ number$2(),
|
|
49076
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48871
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48872
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48873
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48874
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48875
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48876
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48877
|
+
})),
|
|
48878
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48879
|
+
})
|
|
49077
48880
|
}),
|
|
49078
48881
|
execute: (input, { client }) => {
|
|
49079
48882
|
const data = input;
|
|
49080
|
-
return client.runGeneratedRequest("
|
|
48883
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49081
48884
|
client.httpClient,
|
|
49082
48885
|
client.workspaceIdNumber,
|
|
49083
48886
|
data.id,
|
|
@@ -49087,137 +48890,7 @@ const generatedFocusOperations = [
|
|
|
49087
48890
|
}
|
|
49088
48891
|
},
|
|
49089
48892
|
{
|
|
49090
|
-
id: "focus.
|
|
49091
|
-
family: "focus",
|
|
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",
|
|
49097
|
-
destructive: false,
|
|
49098
|
-
cli: {
|
|
49099
|
-
group: ["sharedreports"],
|
|
49100
|
-
command: "set-shared-report-dates-lock",
|
|
49101
|
-
interactive: "default"
|
|
49102
|
-
},
|
|
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",
|
|
48893
|
+
id: "focus.statuses.create-status",
|
|
49221
48894
|
family: "focus",
|
|
49222
48895
|
resource: "statuses",
|
|
49223
48896
|
action: "create-status",
|
|
@@ -50258,37 +49931,6 @@ const generatedFocusOperations = [
|
|
|
50258
49931
|
return client.createTask(data);
|
|
50259
49932
|
}
|
|
50260
49933
|
},
|
|
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
|
-
},
|
|
50292
49934
|
{
|
|
50293
49935
|
id: "focus.tasks.delete",
|
|
50294
49936
|
family: "focus",
|
|
@@ -50513,79 +50155,6 @@ const generatedFocusOperations = [
|
|
|
50513
50155
|
]));
|
|
50514
50156
|
}
|
|
50515
50157
|
},
|
|
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
|
-
},
|
|
50589
50158
|
{
|
|
50590
50159
|
id: "focus.tasks.get-recurring-instances",
|
|
50591
50160
|
family: "focus",
|
|
@@ -50609,13 +50178,9 @@ const generatedFocusOperations = [
|
|
|
50609
50178
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50610
50179
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50611
50180
|
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()),
|
|
50614
50181
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50615
50182
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50616
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50617
50183
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50618
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50619
50184
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50620
50185
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50621
50186
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50661,14 +50226,13 @@ const generatedFocusOperations = [
|
|
|
50661
50226
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50662
50227
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50663
50228
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50229
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50664
50230
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50665
50231
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50666
50232
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50667
50233
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50668
50234
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50669
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50670
50235
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50671
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50672
50236
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50673
50237
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50674
50238
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50677,9 +50241,7 @@ const generatedFocusOperations = [
|
|
|
50677
50241
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50678
50242
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50679
50243
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50680
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50681
50244
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50682
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50683
50245
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50684
50246
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50685
50247
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50688,6 +50250,8 @@ const generatedFocusOperations = [
|
|
|
50688
50250
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50689
50251
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50690
50252
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50253
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50254
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50691
50255
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50692
50256
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50693
50257
|
}),
|
|
@@ -50815,10 +50379,8 @@ const generatedFocusOperations = [
|
|
|
50815
50379
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50816
50380
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50817
50381
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50818
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50819
50382
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50820
50383
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50821
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50822
50384
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50823
50385
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50824
50386
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50827,8 +50389,6 @@ const generatedFocusOperations = [
|
|
|
50827
50389
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50828
50390
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50829
50391
|
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()),
|
|
50832
50392
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50833
50393
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50834
50394
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50837,8 +50397,7 @@ const generatedFocusOperations = [
|
|
|
50837
50397
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50838
50398
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50839
50399
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50840
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50841
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50400
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50842
50401
|
}),
|
|
50843
50402
|
execute: (input, { client }) => {
|
|
50844
50403
|
const data = input;
|
|
@@ -50880,17 +50439,13 @@ const generatedFocusOperations = [
|
|
|
50880
50439
|
group_id: /* @__PURE__ */ number$2(),
|
|
50881
50440
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50882
50441
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50883
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50884
50442
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50885
50443
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50886
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50887
50444
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50888
50445
|
name: /* @__PURE__ */ unknown$1(),
|
|
50889
50446
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50890
50447
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50891
50448
|
project_id: /* @__PURE__ */ number$2(),
|
|
50892
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50893
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50894
50449
|
source: /* @__PURE__ */ unknown$1(),
|
|
50895
50450
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50896
50451
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50899,8 +50454,7 @@ const generatedFocusOperations = [
|
|
|
50899
50454
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50900
50455
|
team_id: /* @__PURE__ */ number$2(),
|
|
50901
50456
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50902
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50903
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50457
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
50904
50458
|
}),
|
|
50905
50459
|
execute: (input, { client }) => {
|
|
50906
50460
|
const data = input;
|
|
@@ -50941,17 +50495,13 @@ const generatedFocusOperations = [
|
|
|
50941
50495
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50942
50496
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50943
50497
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50944
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50945
50498
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50946
50499
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50947
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50948
50500
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50949
50501
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50950
50502
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50951
50503
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50952
50504
|
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()),
|
|
50955
50505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50956
50506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50957
50507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50960,8 +50510,7 @@ const generatedFocusOperations = [
|
|
|
50960
50510
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50961
50511
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50962
50512
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50963
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50964
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50513
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50965
50514
|
}),
|
|
50966
50515
|
execute: (input, { client }) => {
|
|
50967
50516
|
const data = input;
|
|
@@ -51205,45 +50754,508 @@ const generatedFocusOperations = [
|
|
|
51205
50754
|
}),
|
|
51206
50755
|
execute: (input, { client }) => {
|
|
51207
50756
|
const data = input;
|
|
51208
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50757
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50758
|
+
client.httpClient,
|
|
50759
|
+
client.organizationId,
|
|
50760
|
+
client.workspaceIdNumber,
|
|
50761
|
+
data.task_id,
|
|
50762
|
+
data.payload ?? data.data ?? data,
|
|
50763
|
+
void 0
|
|
50764
|
+
]));
|
|
50765
|
+
}
|
|
50766
|
+
},
|
|
50767
|
+
{
|
|
50768
|
+
id: "focus.tasks.update-calendar-range",
|
|
50769
|
+
family: "focus",
|
|
50770
|
+
resource: "tasks",
|
|
50771
|
+
action: "update-calendar-range",
|
|
50772
|
+
title: "Update Calendar Range Tasks",
|
|
50773
|
+
description: "Update Calendar Range Tasks.",
|
|
50774
|
+
safety: "update",
|
|
50775
|
+
destructive: false,
|
|
50776
|
+
cli: {
|
|
50777
|
+
group: ["tasks"],
|
|
50778
|
+
command: "update-calendar-range",
|
|
50779
|
+
interactive: "default"
|
|
50780
|
+
},
|
|
50781
|
+
mcp: { entityTool: "tasks" },
|
|
50782
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50783
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
50784
|
+
date_to: /* @__PURE__ */ string$1()
|
|
50785
|
+
}),
|
|
50786
|
+
execute: (input, { client }) => {
|
|
50787
|
+
const data = input;
|
|
50788
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
50789
|
+
client.httpClient,
|
|
50790
|
+
client.organizationId,
|
|
50791
|
+
client.workspaceIdNumber,
|
|
50792
|
+
data.date_from,
|
|
50793
|
+
data.date_to,
|
|
50794
|
+
void 0
|
|
50795
|
+
]));
|
|
50796
|
+
}
|
|
50797
|
+
},
|
|
50798
|
+
{
|
|
50799
|
+
id: "focus.time-blocks.archive",
|
|
50800
|
+
family: "focus",
|
|
50801
|
+
resource: "time-blocks",
|
|
50802
|
+
action: "archive",
|
|
50803
|
+
title: "Archive Time Blocks",
|
|
50804
|
+
description: "Archive Time Blocks.",
|
|
50805
|
+
safety: "update",
|
|
50806
|
+
destructive: false,
|
|
50807
|
+
cli: {
|
|
50808
|
+
group: ["time-blocks"],
|
|
50809
|
+
command: "archive",
|
|
50810
|
+
interactive: "default"
|
|
50811
|
+
},
|
|
50812
|
+
mcp: { entityTool: "time-blocks" },
|
|
50813
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50814
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50815
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50816
|
+
}),
|
|
50817
|
+
execute: (input, { client }) => {
|
|
50818
|
+
const data = input;
|
|
50819
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
50820
|
+
client.httpClient,
|
|
50821
|
+
client.organizationId,
|
|
50822
|
+
client.workspaceIdNumber,
|
|
50823
|
+
data.task_id,
|
|
50824
|
+
data.time_block_id,
|
|
50825
|
+
void 0
|
|
50826
|
+
]));
|
|
50827
|
+
}
|
|
50828
|
+
},
|
|
50829
|
+
{
|
|
50830
|
+
id: "focus.time-blocks.bulk-create",
|
|
50831
|
+
family: "focus",
|
|
50832
|
+
resource: "time-blocks",
|
|
50833
|
+
action: "bulk-create",
|
|
50834
|
+
title: "Bulk Create Time Blocks",
|
|
50835
|
+
description: "Bulk Create Time Blocks.",
|
|
50836
|
+
safety: "create",
|
|
50837
|
+
destructive: false,
|
|
50838
|
+
cli: {
|
|
50839
|
+
group: ["time-blocks", "bulk"],
|
|
50840
|
+
command: "create",
|
|
50841
|
+
interactive: "default"
|
|
50842
|
+
},
|
|
50843
|
+
mcp: { entityTool: "time-blocks" },
|
|
50844
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50845
|
+
start: apiDateTimeString,
|
|
50846
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50847
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50848
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50849
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50850
|
+
})) }) }),
|
|
50851
|
+
execute: (input, { client }) => {
|
|
50852
|
+
const data = input;
|
|
50853
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
50854
|
+
client.httpClient,
|
|
50855
|
+
client.organizationId,
|
|
50856
|
+
client.workspaceIdNumber,
|
|
50857
|
+
data.payload ?? data.data ?? data,
|
|
50858
|
+
void 0
|
|
50859
|
+
]));
|
|
50860
|
+
}
|
|
50861
|
+
},
|
|
50862
|
+
{
|
|
50863
|
+
id: "focus.time-blocks.bulk-delete",
|
|
50864
|
+
family: "focus",
|
|
50865
|
+
resource: "time-blocks",
|
|
50866
|
+
action: "bulk-delete",
|
|
50867
|
+
title: "Bulk Delete Time Blocks",
|
|
50868
|
+
description: "Bulk Delete Time Blocks.",
|
|
50869
|
+
safety: "delete",
|
|
50870
|
+
destructive: true,
|
|
50871
|
+
cli: {
|
|
50872
|
+
group: ["time-blocks", "bulk"],
|
|
50873
|
+
command: "delete",
|
|
50874
|
+
interactive: "default"
|
|
50875
|
+
},
|
|
50876
|
+
mcp: { entityTool: "time-blocks" },
|
|
50877
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50878
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50879
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50880
|
+
}),
|
|
50881
|
+
execute: (input, { client }) => {
|
|
50882
|
+
const data = input;
|
|
50883
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
50884
|
+
client.httpClient,
|
|
50885
|
+
client.organizationId,
|
|
50886
|
+
client.workspaceIdNumber,
|
|
50887
|
+
data.ids,
|
|
50888
|
+
data.outbound_sync,
|
|
50889
|
+
void 0
|
|
50890
|
+
]));
|
|
50891
|
+
}
|
|
50892
|
+
},
|
|
50893
|
+
{
|
|
50894
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
50895
|
+
family: "focus",
|
|
50896
|
+
resource: "time-blocks",
|
|
50897
|
+
action: "bulk-partial-update",
|
|
50898
|
+
title: "Bulk Partial Update Time Blocks",
|
|
50899
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
50900
|
+
safety: "update",
|
|
50901
|
+
destructive: false,
|
|
50902
|
+
cli: {
|
|
50903
|
+
group: ["time-blocks", "bulk"],
|
|
50904
|
+
command: "partial-update",
|
|
50905
|
+
interactive: "hidden"
|
|
50906
|
+
},
|
|
50907
|
+
mcp: { entityTool: "time-blocks" },
|
|
50908
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50909
|
+
execute: (input, { client }) => {
|
|
50910
|
+
const data = input;
|
|
50911
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50912
|
+
client.httpClient,
|
|
50913
|
+
client.organizationId,
|
|
50914
|
+
client.workspaceIdNumber,
|
|
50915
|
+
data.payload ?? data.data ?? data,
|
|
50916
|
+
void 0
|
|
50917
|
+
]));
|
|
50918
|
+
}
|
|
50919
|
+
},
|
|
50920
|
+
{
|
|
50921
|
+
id: "focus.time-blocks.create",
|
|
50922
|
+
family: "focus",
|
|
50923
|
+
resource: "time-blocks",
|
|
50924
|
+
action: "create",
|
|
50925
|
+
title: "Create Time Blocks",
|
|
50926
|
+
description: "Create Time Blocks.",
|
|
50927
|
+
safety: "create",
|
|
50928
|
+
destructive: false,
|
|
50929
|
+
cli: {
|
|
50930
|
+
group: ["time-blocks"],
|
|
50931
|
+
command: "create",
|
|
50932
|
+
interactive: "default"
|
|
50933
|
+
},
|
|
50934
|
+
mcp: { entityTool: "time-blocks" },
|
|
50935
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50936
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50937
|
+
start: apiDateTimeString,
|
|
50938
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50939
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50940
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50941
|
+
}),
|
|
50942
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50943
|
+
}),
|
|
50944
|
+
execute: (input, { client }) => {
|
|
50945
|
+
const data = input;
|
|
50946
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50947
|
+
client.httpClient,
|
|
50948
|
+
client.organizationId,
|
|
50949
|
+
client.workspaceIdNumber,
|
|
50950
|
+
data.task_id,
|
|
50951
|
+
data.payload ?? data.data ?? data,
|
|
50952
|
+
void 0
|
|
50953
|
+
]));
|
|
50954
|
+
}
|
|
50955
|
+
},
|
|
50956
|
+
{
|
|
50957
|
+
id: "focus.time-blocks.delete",
|
|
50958
|
+
family: "focus",
|
|
50959
|
+
resource: "time-blocks",
|
|
50960
|
+
action: "delete",
|
|
50961
|
+
title: "Delete Time Blocks",
|
|
50962
|
+
description: "Delete Time Blocks.",
|
|
50963
|
+
safety: "delete",
|
|
50964
|
+
destructive: true,
|
|
50965
|
+
cli: {
|
|
50966
|
+
group: ["time-blocks"],
|
|
50967
|
+
command: "delete",
|
|
50968
|
+
interactive: "default"
|
|
50969
|
+
},
|
|
50970
|
+
mcp: { entityTool: "time-blocks" },
|
|
50971
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50972
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50973
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50974
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50975
|
+
}),
|
|
50976
|
+
execute: (input, { client }) => {
|
|
50977
|
+
const data = input;
|
|
50978
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50979
|
+
client.httpClient,
|
|
50980
|
+
client.organizationId,
|
|
50981
|
+
client.workspaceIdNumber,
|
|
50982
|
+
data.task_id,
|
|
50983
|
+
data.time_block_id,
|
|
50984
|
+
data.outbound_sync,
|
|
50985
|
+
void 0
|
|
50986
|
+
]));
|
|
50987
|
+
}
|
|
50988
|
+
},
|
|
50989
|
+
{
|
|
50990
|
+
id: "focus.time-blocks.get",
|
|
50991
|
+
family: "focus",
|
|
50992
|
+
resource: "time-blocks",
|
|
50993
|
+
action: "get",
|
|
50994
|
+
title: "Get Time Blocks",
|
|
50995
|
+
description: "Get Time Blocks.",
|
|
50996
|
+
safety: "read",
|
|
50997
|
+
destructive: false,
|
|
50998
|
+
cli: {
|
|
50999
|
+
group: ["time-blocks"],
|
|
51000
|
+
command: "get",
|
|
51001
|
+
interactive: "available"
|
|
51002
|
+
},
|
|
51003
|
+
mcp: { entityTool: "time-blocks" },
|
|
51004
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51005
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51006
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51007
|
+
}),
|
|
51008
|
+
execute: (input, { client }) => {
|
|
51009
|
+
const data = input;
|
|
51010
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
51011
|
+
client.httpClient,
|
|
51012
|
+
client.organizationId,
|
|
51013
|
+
client.workspaceIdNumber,
|
|
51014
|
+
data.task_id,
|
|
51015
|
+
data.time_block_id,
|
|
51016
|
+
void 0
|
|
51017
|
+
]));
|
|
51018
|
+
}
|
|
51019
|
+
},
|
|
51020
|
+
{
|
|
51021
|
+
id: "focus.time-blocks.get-range",
|
|
51022
|
+
family: "focus",
|
|
51023
|
+
resource: "time-blocks",
|
|
51024
|
+
action: "get-range",
|
|
51025
|
+
title: "Get Range Time Blocks",
|
|
51026
|
+
description: "Get Range Time Blocks.",
|
|
51027
|
+
safety: "read",
|
|
51028
|
+
destructive: false,
|
|
51029
|
+
cli: {
|
|
51030
|
+
group: ["time-blocks"],
|
|
51031
|
+
command: "get-range",
|
|
51032
|
+
interactive: "hidden"
|
|
51033
|
+
},
|
|
51034
|
+
mcp: { entityTool: "time-blocks" },
|
|
51035
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51036
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51037
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51038
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51039
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51040
|
+
page: /* @__PURE__ */ number$2(),
|
|
51041
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51042
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51043
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51044
|
+
}),
|
|
51045
|
+
execute: (input, { client }) => {
|
|
51046
|
+
const data = input;
|
|
51047
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
51048
|
+
client.httpClient,
|
|
51049
|
+
client.organizationId,
|
|
51050
|
+
client.workspaceIdNumber,
|
|
51051
|
+
data,
|
|
51052
|
+
void 0
|
|
51053
|
+
]));
|
|
51054
|
+
}
|
|
51055
|
+
},
|
|
51056
|
+
{
|
|
51057
|
+
id: "focus.time-blocks.get-range-stream",
|
|
51058
|
+
family: "focus",
|
|
51059
|
+
resource: "time-blocks",
|
|
51060
|
+
action: "get-range-stream",
|
|
51061
|
+
title: "Get Range Stream Time Blocks",
|
|
51062
|
+
description: "Get Range Stream Time Blocks.",
|
|
51063
|
+
safety: "read",
|
|
51064
|
+
destructive: false,
|
|
51065
|
+
cli: {
|
|
51066
|
+
group: ["time-blocks"],
|
|
51067
|
+
command: "get-range-stream",
|
|
51068
|
+
interactive: "hidden"
|
|
51069
|
+
},
|
|
51070
|
+
mcp: { entityTool: "time-blocks" },
|
|
51071
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51072
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51073
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51074
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51075
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51076
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51077
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51078
|
+
}),
|
|
51079
|
+
execute: (input, { client }) => {
|
|
51080
|
+
const data = input;
|
|
51081
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
51082
|
+
client.httpClient,
|
|
51083
|
+
client.organizationId,
|
|
51084
|
+
client.workspaceIdNumber,
|
|
51085
|
+
data,
|
|
51086
|
+
void 0
|
|
51087
|
+
]));
|
|
51088
|
+
}
|
|
51089
|
+
},
|
|
51090
|
+
{
|
|
51091
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
51092
|
+
family: "focus",
|
|
51093
|
+
resource: "time-blocks",
|
|
51094
|
+
action: "get-task-time-blocks",
|
|
51095
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
51096
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
51097
|
+
safety: "read",
|
|
51098
|
+
destructive: false,
|
|
51099
|
+
cli: {
|
|
51100
|
+
group: ["time-blocks"],
|
|
51101
|
+
command: "get-task-time-blocks",
|
|
51102
|
+
interactive: "hidden"
|
|
51103
|
+
},
|
|
51104
|
+
mcp: { entityTool: "time-blocks" },
|
|
51105
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51106
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51107
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51108
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51109
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51110
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51111
|
+
}),
|
|
51112
|
+
execute: (input, { client }) => {
|
|
51113
|
+
const data = input;
|
|
51114
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51115
|
+
client.httpClient,
|
|
51116
|
+
client.organizationId,
|
|
51117
|
+
client.workspaceIdNumber,
|
|
51118
|
+
data.task_id,
|
|
51119
|
+
data,
|
|
51120
|
+
void 0
|
|
51121
|
+
]));
|
|
51122
|
+
}
|
|
51123
|
+
},
|
|
51124
|
+
{
|
|
51125
|
+
id: "focus.time-blocks.partial-update",
|
|
51126
|
+
family: "focus",
|
|
51127
|
+
resource: "time-blocks",
|
|
51128
|
+
action: "partial-update",
|
|
51129
|
+
title: "Partial Update Time Blocks",
|
|
51130
|
+
description: "Partial Update Time Blocks.",
|
|
51131
|
+
safety: "update",
|
|
51132
|
+
destructive: false,
|
|
51133
|
+
cli: {
|
|
51134
|
+
group: ["time-blocks"],
|
|
51135
|
+
command: "partial-update",
|
|
51136
|
+
interactive: "default"
|
|
51137
|
+
},
|
|
51138
|
+
mcp: { entityTool: "time-blocks" },
|
|
51139
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51140
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51141
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51142
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51143
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51144
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51145
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51146
|
+
}),
|
|
51147
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51148
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51149
|
+
}),
|
|
51150
|
+
execute: (input, { client }) => {
|
|
51151
|
+
const data = input;
|
|
51152
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51153
|
+
client.httpClient,
|
|
51154
|
+
client.organizationId,
|
|
51155
|
+
client.workspaceIdNumber,
|
|
51156
|
+
data.task_id,
|
|
51157
|
+
data.time_block_id,
|
|
51158
|
+
data.payload ?? data.data ?? data,
|
|
51159
|
+
void 0
|
|
51160
|
+
]));
|
|
51161
|
+
}
|
|
51162
|
+
},
|
|
51163
|
+
{
|
|
51164
|
+
id: "focus.time-blocks.restore",
|
|
51165
|
+
family: "focus",
|
|
51166
|
+
resource: "time-blocks",
|
|
51167
|
+
action: "restore",
|
|
51168
|
+
title: "Restore Time Blocks",
|
|
51169
|
+
description: "Restore Time Blocks.",
|
|
51170
|
+
safety: "update",
|
|
51171
|
+
destructive: false,
|
|
51172
|
+
cli: {
|
|
51173
|
+
group: ["time-blocks"],
|
|
51174
|
+
command: "restore",
|
|
51175
|
+
interactive: "default"
|
|
51176
|
+
},
|
|
51177
|
+
mcp: { entityTool: "time-blocks" },
|
|
51178
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51179
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51180
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51181
|
+
}),
|
|
51182
|
+
execute: (input, { client }) => {
|
|
51183
|
+
const data = input;
|
|
51184
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51185
|
+
client.httpClient,
|
|
51186
|
+
client.organizationId,
|
|
51187
|
+
client.workspaceIdNumber,
|
|
51188
|
+
data.task_id,
|
|
51189
|
+
data.time_block_id,
|
|
51190
|
+
void 0
|
|
51191
|
+
]));
|
|
51192
|
+
}
|
|
51193
|
+
},
|
|
51194
|
+
{
|
|
51195
|
+
id: "focus.time-blocks.unarchive",
|
|
51196
|
+
family: "focus",
|
|
51197
|
+
resource: "time-blocks",
|
|
51198
|
+
action: "unarchive",
|
|
51199
|
+
title: "Unarchive Time Blocks",
|
|
51200
|
+
description: "Unarchive Time Blocks.",
|
|
51201
|
+
safety: "update",
|
|
51202
|
+
destructive: false,
|
|
51203
|
+
cli: {
|
|
51204
|
+
group: ["time-blocks"],
|
|
51205
|
+
command: "unarchive",
|
|
51206
|
+
interactive: "default"
|
|
51207
|
+
},
|
|
51208
|
+
mcp: { entityTool: "time-blocks" },
|
|
51209
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51210
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51211
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51212
|
+
}),
|
|
51213
|
+
execute: (input, { client }) => {
|
|
51214
|
+
const data = input;
|
|
51215
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51209
51216
|
client.httpClient,
|
|
51210
51217
|
client.organizationId,
|
|
51211
51218
|
client.workspaceIdNumber,
|
|
51212
51219
|
data.task_id,
|
|
51213
|
-
data.
|
|
51220
|
+
data.time_block_id,
|
|
51214
51221
|
void 0
|
|
51215
51222
|
]));
|
|
51216
51223
|
}
|
|
51217
51224
|
},
|
|
51218
51225
|
{
|
|
51219
|
-
id: "focus.
|
|
51226
|
+
id: "focus.time-blocks.update",
|
|
51220
51227
|
family: "focus",
|
|
51221
|
-
resource: "
|
|
51222
|
-
action: "update
|
|
51223
|
-
title: "Update
|
|
51224
|
-
description: "Update
|
|
51228
|
+
resource: "time-blocks",
|
|
51229
|
+
action: "update",
|
|
51230
|
+
title: "Update Time Blocks",
|
|
51231
|
+
description: "Update Time Blocks.",
|
|
51225
51232
|
safety: "update",
|
|
51226
51233
|
destructive: false,
|
|
51227
51234
|
cli: {
|
|
51228
|
-
group: ["
|
|
51229
|
-
command: "update
|
|
51235
|
+
group: ["time-blocks"],
|
|
51236
|
+
command: "update",
|
|
51230
51237
|
interactive: "default"
|
|
51231
51238
|
},
|
|
51232
|
-
mcp: { entityTool: "
|
|
51239
|
+
mcp: { entityTool: "time-blocks" },
|
|
51233
51240
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51234
|
-
|
|
51235
|
-
|
|
51236
|
-
|
|
51241
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51242
|
+
start: apiDateTimeString,
|
|
51243
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51244
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51245
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51246
|
+
}),
|
|
51247
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51248
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51237
51249
|
}),
|
|
51238
51250
|
execute: (input, { client }) => {
|
|
51239
51251
|
const data = input;
|
|
51240
|
-
return client.runGeneratedRequest("
|
|
51252
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51241
51253
|
client.httpClient,
|
|
51242
51254
|
client.organizationId,
|
|
51243
51255
|
client.workspaceIdNumber,
|
|
51244
|
-
data.
|
|
51245
|
-
data.
|
|
51246
|
-
data.
|
|
51256
|
+
data.task_id,
|
|
51257
|
+
data.time_block_id,
|
|
51258
|
+
data.payload ?? data.data ?? data,
|
|
51247
51259
|
void 0
|
|
51248
51260
|
]));
|
|
51249
51261
|
}
|
|
@@ -51463,8 +51475,7 @@ const generatedFocusOperations = [
|
|
|
51463
51475
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51464
51476
|
"project",
|
|
51465
51477
|
"task",
|
|
51466
|
-
"description"
|
|
51467
|
-
"tags"
|
|
51478
|
+
"description"
|
|
51468
51479
|
]) })),
|
|
51469
51480
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51470
51481
|
}) }),
|
|
@@ -51494,7 +51505,6 @@ const generatedFocusOperations = [
|
|
|
51494
51505
|
},
|
|
51495
51506
|
mcp: { entityTool: "time-entries" },
|
|
51496
51507
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51497
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51498
51508
|
payload: /* @__PURE__ */ looseObject({
|
|
51499
51509
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51500
51510
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51505,12 +51515,11 @@ const generatedFocusOperations = [
|
|
|
51505
51515
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51506
51516
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51507
51517
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51508
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51509
51518
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51519
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51510
51520
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51511
51521
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51512
51522
|
}),
|
|
51513
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51514
51523
|
task_id: /* @__PURE__ */ number$2()
|
|
51515
51524
|
}),
|
|
51516
51525
|
execute: (input, { client }) => {
|
|
@@ -51521,8 +51530,6 @@ const generatedFocusOperations = [
|
|
|
51521
51530
|
client.workspaceIdNumber,
|
|
51522
51531
|
data.task_id,
|
|
51523
51532
|
data.payload ?? data.data ?? data,
|
|
51524
|
-
data.from_recurring_task_id,
|
|
51525
|
-
data.return_occurrence,
|
|
51526
51533
|
void 0
|
|
51527
51534
|
]));
|
|
51528
51535
|
}
|
|
@@ -51542,25 +51549,21 @@ const generatedFocusOperations = [
|
|
|
51542
51549
|
interactive: "default"
|
|
51543
51550
|
},
|
|
51544
51551
|
mcp: { entityTool: "time-entries" },
|
|
51545
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51546
|
-
|
|
51547
|
-
|
|
51548
|
-
|
|
51549
|
-
|
|
51550
|
-
|
|
51551
|
-
|
|
51552
|
-
|
|
51553
|
-
|
|
51554
|
-
|
|
51555
|
-
|
|
51556
|
-
|
|
51557
|
-
|
|
51558
|
-
|
|
51559
|
-
|
|
51560
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51561
|
-
}),
|
|
51562
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51563
|
-
}),
|
|
51552
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51553
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51554
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51555
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51556
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51557
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51558
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51559
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51560
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51561
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51562
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51563
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51564
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51565
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51566
|
+
}) }),
|
|
51564
51567
|
execute: (input, { client }) => {
|
|
51565
51568
|
const data = input;
|
|
51566
51569
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51568,8 +51571,6 @@ const generatedFocusOperations = [
|
|
|
51568
51571
|
client.organizationId,
|
|
51569
51572
|
client.workspaceIdNumber,
|
|
51570
51573
|
data.payload ?? data.data ?? data,
|
|
51571
|
-
data.from_recurring_task_id,
|
|
51572
|
-
data.return_occurrence,
|
|
51573
51574
|
void 0
|
|
51574
51575
|
]));
|
|
51575
51576
|
}
|
|
@@ -51589,11 +51590,7 @@ const generatedFocusOperations = [
|
|
|
51589
51590
|
interactive: "default"
|
|
51590
51591
|
},
|
|
51591
51592
|
mcp: { entityTool: "time-entries" },
|
|
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
|
-
}),
|
|
51593
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51597
51594
|
execute: (input, { client }) => {
|
|
51598
51595
|
const data = input;
|
|
51599
51596
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51601,8 +51598,6 @@ const generatedFocusOperations = [
|
|
|
51601
51598
|
client.organizationId,
|
|
51602
51599
|
client.workspaceIdNumber,
|
|
51603
51600
|
data.time_entry_id,
|
|
51604
|
-
data.from_recurring_task_id,
|
|
51605
|
-
data.return_occurrence,
|
|
51606
51601
|
void 0
|
|
51607
51602
|
]));
|
|
51608
51603
|
}
|
|
@@ -51683,7 +51678,6 @@ const generatedFocusOperations = [
|
|
|
51683
51678
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51684
51679
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51685
51680
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51686
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
51687
51681
|
status_id: /* @__PURE__ */ number$2(),
|
|
51688
51682
|
task_id: /* @__PURE__ */ number$2(),
|
|
51689
51683
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51699,6 +51693,33 @@ const generatedFocusOperations = [
|
|
|
51699
51693
|
]));
|
|
51700
51694
|
}
|
|
51701
51695
|
},
|
|
51696
|
+
{
|
|
51697
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51698
|
+
family: "focus",
|
|
51699
|
+
resource: "time-entries",
|
|
51700
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
51701
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51702
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51703
|
+
safety: "read",
|
|
51704
|
+
destructive: false,
|
|
51705
|
+
cli: {
|
|
51706
|
+
group: ["time-entries"],
|
|
51707
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
51708
|
+
interactive: "available"
|
|
51709
|
+
},
|
|
51710
|
+
mcp: { entityTool: "time-entries" },
|
|
51711
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51712
|
+
execute: (input, { client }) => {
|
|
51713
|
+
const data = input;
|
|
51714
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51715
|
+
client.httpClient,
|
|
51716
|
+
client.organizationId,
|
|
51717
|
+
client.workspaceIdNumber,
|
|
51718
|
+
data,
|
|
51719
|
+
void 0
|
|
51720
|
+
]));
|
|
51721
|
+
}
|
|
51722
|
+
},
|
|
51702
51723
|
{
|
|
51703
51724
|
id: "focus.time-entries.get-task-time-entries",
|
|
51704
51725
|
family: "focus",
|
|
@@ -51720,6 +51741,7 @@ const generatedFocusOperations = [
|
|
|
51720
51741
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51721
51742
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51722
51743
|
task_id: /* @__PURE__ */ number$2(),
|
|
51744
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51723
51745
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51724
51746
|
}),
|
|
51725
51747
|
execute: (input, { client }) => {
|
|
@@ -51832,14 +51854,12 @@ const generatedFocusOperations = [
|
|
|
51832
51854
|
},
|
|
51833
51855
|
mcp: { entityTool: "time-entries" },
|
|
51834
51856
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51835
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51836
51857
|
payload: /* @__PURE__ */ looseObject({
|
|
51837
51858
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51838
51859
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51839
51860
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51840
51861
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51841
51862
|
}),
|
|
51842
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51843
51863
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51844
51864
|
}),
|
|
51845
51865
|
execute: (input, { client }) => {
|
|
@@ -51850,8 +51870,6 @@ const generatedFocusOperations = [
|
|
|
51850
51870
|
client.workspaceIdNumber,
|
|
51851
51871
|
data.time_entry_id,
|
|
51852
51872
|
data.payload ?? data.data ?? data,
|
|
51853
|
-
data.from_recurring_task_id,
|
|
51854
|
-
data.return_occurrence,
|
|
51855
51873
|
void 0
|
|
51856
51874
|
]));
|
|
51857
51875
|
}
|
|
@@ -52109,7 +52127,6 @@ const generatedFocusOperations = [
|
|
|
52109
52127
|
},
|
|
52110
52128
|
mcp: { entityTool: "time-entries" },
|
|
52111
52129
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52112
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52113
52130
|
payload: /* @__PURE__ */ looseObject({
|
|
52114
52131
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52115
52132
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52119,9 +52136,9 @@ const generatedFocusOperations = [
|
|
|
52119
52136
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
52137
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52121
52138
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52139
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52122
52140
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52123
52141
|
}),
|
|
52124
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52125
52142
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52126
52143
|
}),
|
|
52127
52144
|
execute: (input, { client }) => {
|
|
@@ -52132,8 +52149,6 @@ const generatedFocusOperations = [
|
|
|
52132
52149
|
client.workspaceIdNumber,
|
|
52133
52150
|
data.time_entry_id,
|
|
52134
52151
|
data.payload ?? data.data ?? data,
|
|
52135
|
-
data.from_recurring_task_id,
|
|
52136
|
-
data.return_occurrence,
|
|
52137
52152
|
void 0
|
|
52138
52153
|
]));
|
|
52139
52154
|
}
|
|
@@ -52198,118 +52213,6 @@ const generatedFocusOperations = [
|
|
|
52198
52213
|
]));
|
|
52199
52214
|
}
|
|
52200
52215
|
},
|
|
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
|
-
},
|
|
52313
52216
|
{
|
|
52314
52217
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52315
52218
|
family: "focus",
|
|
@@ -52761,40 +52664,6 @@ const generatedFocusOperations = [
|
|
|
52761
52664
|
]));
|
|
52762
52665
|
}
|
|
52763
52666
|
},
|
|
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
|
-
},
|
|
52798
52667
|
{
|
|
52799
52668
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52800
52669
|
family: "focus",
|
|
@@ -53344,33 +53213,6 @@ const generatedFocusOperations = [
|
|
|
53344
53213
|
]));
|
|
53345
53214
|
}
|
|
53346
53215
|
},
|
|
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
|
-
},
|
|
53374
53216
|
{
|
|
53375
53217
|
id: "focus.users.list",
|
|
53376
53218
|
family: "focus",
|
|
@@ -53392,56 +53234,6 @@ const generatedFocusOperations = [
|
|
|
53392
53234
|
return client.listOrgUsers(data);
|
|
53393
53235
|
}
|
|
53394
53236
|
},
|
|
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
|
-
},
|
|
53445
53237
|
{
|
|
53446
53238
|
id: "focus.users.settings-list",
|
|
53447
53239
|
family: "focus",
|
|
@@ -53503,9 +53295,6 @@ const generatedFocusOperations = [
|
|
|
53503
53295
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53504
53296
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53505
53297
|
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()),
|
|
53509
53298
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53510
53299
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53511
53300
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55048,7 +54837,7 @@ function registerWorkspaceTools(server) {
|
|
|
55048
54837
|
//#region src/package-version.ts
|
|
55049
54838
|
function mcpPackageVersion() {
|
|
55050
54839
|
try {
|
|
55051
|
-
return "1.11.
|
|
54840
|
+
return "1.11.83";
|
|
55052
54841
|
} catch {
|
|
55053
54842
|
return "unknown";
|
|
55054
54843
|
}
|
|
@@ -55223,7 +55012,7 @@ import_main.default.config({
|
|
|
55223
55012
|
quiet: true,
|
|
55224
55013
|
ignore: ["MISSING_ENV_FILE"]
|
|
55225
55014
|
});
|
|
55226
|
-
const packageVersion = "1.11.
|
|
55015
|
+
const packageVersion = "1.11.83";
|
|
55227
55016
|
function resolvePublicUrls() {
|
|
55228
55017
|
return {
|
|
55229
55018
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55286,6 +55075,6 @@ function bootstrapServer(options = {}) {
|
|
|
55286
55075
|
if (options.beforeExit) process.on("beforeExit", async () => await options.beforeExit?.());
|
|
55287
55076
|
}
|
|
55288
55077
|
//#endregion
|
|
55289
|
-
export {
|
|
55078
|
+
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55290
55079
|
|
|
55291
|
-
//# sourceMappingURL=src-
|
|
55080
|
+
//# sourceMappingURL=src-LMB5VU2N.js.map
|