@togglhq/mcp 1.11.87 → 1.11.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +2 -2
- package/build/index.js +1 -1
- package/build/{src-BJpbMA5N.js → src-BnE8Y1Wl.js} +786 -1416
- package/package.json +1 -1
|
@@ -34663,7 +34663,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34663
34663
|
name: /* @__PURE__ */ string(),
|
|
34664
34664
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34665
34665
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34666
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34667
34666
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34668
34667
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34669
34668
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34750,7 +34749,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34750
34749
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34751
34750
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34752
34751
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34753
|
-
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."))),
|
|
34754
34752
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34755
34753
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34756
34754
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34812,7 +34810,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34812
34810
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34813
34811
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34814
34812
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34815
|
-
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."))),
|
|
34816
34813
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34817
34814
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34818
34815
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34973,8 +34970,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34973
34970
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34974
34971
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34975
34972
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34976
|
-
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."))),
|
|
34977
|
-
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."))),
|
|
34978
34973
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34979
34974
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34980
34975
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35060,10 +35055,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35060
35055
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35061
35056
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35062
35057
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35063
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35064
35058
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35065
35059
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35066
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35067
35060
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35068
35061
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35069
35062
|
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)."))),
|
|
@@ -35119,8 +35112,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35119
35112
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35120
35113
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35121
35114
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35122
|
-
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."))),
|
|
35123
|
-
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."))),
|
|
35124
35115
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35125
35116
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35126
35117
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35293,6 +35284,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35293
35284
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35294
35285
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35295
35286
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35287
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35288
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35296
35289
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35297
35290
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35298
35291
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35349,7 +35342,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35349
35342
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35350
35343
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35351
35344
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35352
|
-
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."))),
|
|
35353
35345
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35354
35346
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35355
35347
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35386,7 +35378,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35386
35378
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35387
35379
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35388
35380
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35389
|
-
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."))),
|
|
35390
35381
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35391
35382
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35392
35383
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35407,6 +35398,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35407
35398
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35408
35399
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35409
35400
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35401
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35410
35402
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35411
35403
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35412
35404
|
});
|
|
@@ -35435,7 +35427,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35435
35427
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35436
35428
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35437
35429
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35438
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35430
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35431
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35439
35432
|
});
|
|
35440
35433
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35441
35434
|
//#endregion
|
|
@@ -37309,7 +37302,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37309
37302
|
})
|
|
37310
37303
|
}).json();
|
|
37311
37304
|
}
|
|
37312
|
-
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,
|
|
37305
|
+
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) {
|
|
37313
37306
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37314
37307
|
signal,
|
|
37315
37308
|
searchParams: buildSearchParams$2({
|
|
@@ -37330,7 +37323,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37330
37323
|
include_rates,
|
|
37331
37324
|
pinned_ids,
|
|
37332
37325
|
has_group,
|
|
37333
|
-
track_without_focus,
|
|
37334
37326
|
cf_filter,
|
|
37335
37327
|
include_custom_fields,
|
|
37336
37328
|
include_calendar_integration
|
|
@@ -37432,20 +37424,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37432
37424
|
}
|
|
37433
37425
|
//#endregion
|
|
37434
37426
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37435
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37427
|
+
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) {
|
|
37436
37428
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37437
37429
|
signal,
|
|
37438
37430
|
searchParams: buildSearchParams$2({
|
|
37439
|
-
include_task_counts,
|
|
37440
|
-
include_picker_parent_group_counts,
|
|
37441
|
-
task_archived,
|
|
37442
|
-
task_recurring,
|
|
37443
|
-
task_state,
|
|
37444
|
-
task_source,
|
|
37445
|
-
task_assignee_user_id,
|
|
37446
|
-
task_assignee_team_id,
|
|
37447
|
-
task_include_unassigned,
|
|
37448
|
-
task_name,
|
|
37449
37431
|
page,
|
|
37450
37432
|
per_page,
|
|
37451
37433
|
order_by,
|
|
@@ -37695,7 +37677,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37695
37677
|
}
|
|
37696
37678
|
//#endregion
|
|
37697
37679
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37698
|
-
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
|
|
37680
|
+
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) {
|
|
37699
37681
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37700
37682
|
signal,
|
|
37701
37683
|
searchParams: buildSearchParams$2({
|
|
@@ -37708,6 +37690,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37708
37690
|
toggl_user_id,
|
|
37709
37691
|
name,
|
|
37710
37692
|
has_time_entries,
|
|
37693
|
+
has_time_blocks,
|
|
37711
37694
|
has_dates,
|
|
37712
37695
|
private: private_,
|
|
37713
37696
|
archived,
|
|
@@ -37730,6 +37713,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37730
37713
|
priority,
|
|
37731
37714
|
is_priority,
|
|
37732
37715
|
state,
|
|
37716
|
+
timeblock_start_from,
|
|
37717
|
+
timeblock_start_until,
|
|
37718
|
+
time_block_id,
|
|
37719
|
+
time_block_completed,
|
|
37733
37720
|
team_id,
|
|
37734
37721
|
assignee_team_id,
|
|
37735
37722
|
assignee_user_id,
|
|
@@ -37741,11 +37728,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37741
37728
|
include_assignees,
|
|
37742
37729
|
include_parent_matches,
|
|
37743
37730
|
disable_aggregations,
|
|
37744
|
-
cf_filter
|
|
37745
|
-
recurring_occurrences_after,
|
|
37746
|
-
max_recurring_occurrences_after,
|
|
37747
|
-
recurring_task_read,
|
|
37748
|
-
include_projected_occurrences
|
|
37731
|
+
cf_filter
|
|
37749
37732
|
})
|
|
37750
37733
|
}).json();
|
|
37751
37734
|
}
|
|
@@ -37820,46 +37803,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37820
37803
|
})
|
|
37821
37804
|
}).json();
|
|
37822
37805
|
}
|
|
37823
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37806
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37824
37807
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37825
37808
|
signal,
|
|
37826
37809
|
searchParams: buildSearchParams$2({
|
|
37827
37810
|
date_from,
|
|
37828
|
-
date_to
|
|
37829
|
-
skip_provider_refresh
|
|
37830
|
-
})
|
|
37831
|
-
}).json();
|
|
37832
|
-
}
|
|
37833
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37834
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37835
|
-
signal,
|
|
37836
|
-
searchParams: buildSearchParams$2({
|
|
37837
|
-
project_id,
|
|
37838
|
-
without_project,
|
|
37839
|
-
pinned_only,
|
|
37840
|
-
include_unassigned,
|
|
37841
|
-
search,
|
|
37842
|
-
only_me,
|
|
37843
|
-
page,
|
|
37844
|
-
per_page
|
|
37845
|
-
})
|
|
37846
|
-
}).json();
|
|
37847
|
-
}
|
|
37848
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37849
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37850
|
-
signal,
|
|
37851
|
-
searchParams: buildSearchParams$2({
|
|
37852
|
-
project_id,
|
|
37853
|
-
without_project,
|
|
37854
|
-
include_unassigned,
|
|
37855
|
-
search,
|
|
37856
|
-
only_me,
|
|
37857
|
-
page,
|
|
37858
|
-
per_page
|
|
37811
|
+
date_to
|
|
37859
37812
|
})
|
|
37860
37813
|
}).json();
|
|
37861
37814
|
}
|
|
37862
|
-
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
|
|
37815
|
+
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) {
|
|
37863
37816
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37864
37817
|
signal,
|
|
37865
37818
|
searchParams: buildSearchParams$2({
|
|
@@ -37875,15 +37828,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37875
37828
|
assignee_team_id,
|
|
37876
37829
|
assignee_user_id,
|
|
37877
37830
|
tag_id,
|
|
37878
|
-
include_assignees
|
|
37879
|
-
recurring_occurrences_after,
|
|
37880
|
-
max_recurring_occurrences_after,
|
|
37881
|
-
recurring_task_read,
|
|
37882
|
-
include_projected_occurrences
|
|
37831
|
+
include_assignees
|
|
37883
37832
|
})
|
|
37884
37833
|
}).json();
|
|
37885
37834
|
}
|
|
37886
|
-
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
|
|
37835
|
+
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) {
|
|
37887
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37888
37837
|
signal,
|
|
37889
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37895,6 +37844,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37895
37844
|
name,
|
|
37896
37845
|
include_parent_matches,
|
|
37897
37846
|
has_time_entries,
|
|
37847
|
+
has_time_blocks,
|
|
37898
37848
|
has_dates,
|
|
37899
37849
|
private: private_,
|
|
37900
37850
|
archived,
|
|
@@ -37917,6 +37867,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37917
37867
|
priority,
|
|
37918
37868
|
is_priority,
|
|
37919
37869
|
state,
|
|
37870
|
+
time_block_id,
|
|
37871
|
+
time_block_completed,
|
|
37920
37872
|
team_id,
|
|
37921
37873
|
assignee_team_id,
|
|
37922
37874
|
assignee_user_id,
|
|
@@ -37925,11 +37877,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37925
37877
|
recurring_task_ids,
|
|
37926
37878
|
client_id,
|
|
37927
37879
|
include_assignees,
|
|
37928
|
-
cf_filter
|
|
37929
|
-
recurring_occurrences_after,
|
|
37930
|
-
max_recurring_occurrences_after,
|
|
37931
|
-
recurring_task_read,
|
|
37932
|
-
include_projected_occurrences
|
|
37880
|
+
cf_filter
|
|
37933
37881
|
})
|
|
37934
37882
|
}).json();
|
|
37935
37883
|
}
|
|
@@ -37984,12 +37932,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37984
37932
|
})
|
|
37985
37933
|
}).json();
|
|
37986
37934
|
}
|
|
37987
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
37988
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
37989
|
-
signal,
|
|
37990
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
37991
|
-
}).json();
|
|
37992
|
-
}
|
|
37993
37935
|
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) {
|
|
37994
37936
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37995
37937
|
signal,
|
|
@@ -38015,7 +37957,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
38015
37957
|
}
|
|
38016
37958
|
//#endregion
|
|
38017
37959
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
38018
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37960
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
38019
37961
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38020
37962
|
signal,
|
|
38021
37963
|
searchParams: buildSearchParams$2({
|
|
@@ -38023,28 +37965,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38023
37965
|
per_page,
|
|
38024
37966
|
order_by,
|
|
38025
37967
|
type,
|
|
38026
|
-
archived
|
|
37968
|
+
archived,
|
|
37969
|
+
time_block_id
|
|
38027
37970
|
})
|
|
38028
37971
|
}).json();
|
|
38029
37972
|
}
|
|
38030
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
37973
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38031
37974
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38032
37975
|
signal,
|
|
38033
|
-
json: data
|
|
38034
|
-
searchParams: buildSearchParams$2({
|
|
38035
|
-
from_recurring_task_id,
|
|
38036
|
-
return_occurrence
|
|
38037
|
-
})
|
|
37976
|
+
json: data
|
|
38038
37977
|
}).json();
|
|
38039
37978
|
}
|
|
38040
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
37979
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38041
37980
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38042
37981
|
signal,
|
|
38043
|
-
json: data
|
|
38044
|
-
searchParams: buildSearchParams$2({
|
|
38045
|
-
from_recurring_task_id,
|
|
38046
|
-
return_occurrence
|
|
38047
|
-
})
|
|
37982
|
+
json: data
|
|
38048
37983
|
}).json();
|
|
38049
37984
|
}
|
|
38050
37985
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38095,7 +38030,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38095
38030
|
json: data
|
|
38096
38031
|
}).json();
|
|
38097
38032
|
}
|
|
38098
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38033
|
+
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) {
|
|
38099
38034
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38100
38035
|
signal,
|
|
38101
38036
|
searchParams: buildSearchParams$2({
|
|
@@ -38103,7 +38038,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38103
38038
|
date_to,
|
|
38104
38039
|
task_id,
|
|
38105
38040
|
status_id,
|
|
38106
|
-
project_id,
|
|
38107
38041
|
type,
|
|
38108
38042
|
order_by,
|
|
38109
38043
|
archived,
|
|
@@ -38118,36 +38052,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38118
38052
|
json: data
|
|
38119
38053
|
}).json();
|
|
38120
38054
|
}
|
|
38055
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38056
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38057
|
+
signal,
|
|
38058
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
38059
|
+
}).json();
|
|
38060
|
+
}
|
|
38121
38061
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38122
38062
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38123
38063
|
}
|
|
38124
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38064
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38125
38065
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38126
38066
|
signal,
|
|
38127
|
-
json: data
|
|
38128
|
-
searchParams: buildSearchParams$2({
|
|
38129
|
-
from_recurring_task_id,
|
|
38130
|
-
return_occurrence
|
|
38131
|
-
})
|
|
38067
|
+
json: data
|
|
38132
38068
|
}).json();
|
|
38133
38069
|
}
|
|
38134
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38135
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38136
|
-
signal,
|
|
38137
|
-
searchParams: buildSearchParams$2({
|
|
38138
|
-
from_recurring_task_id,
|
|
38139
|
-
return_occurrence
|
|
38140
|
-
})
|
|
38141
|
-
}).json();
|
|
38070
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38071
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38142
38072
|
}
|
|
38143
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38073
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38144
38074
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38145
38075
|
signal,
|
|
38146
|
-
json: data
|
|
38147
|
-
searchParams: buildSearchParams$2({
|
|
38148
|
-
from_recurring_task_id,
|
|
38149
|
-
return_occurrence
|
|
38150
|
-
})
|
|
38076
|
+
json: data
|
|
38151
38077
|
}).json();
|
|
38152
38078
|
}
|
|
38153
38079
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38262,7 +38188,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38262
38188
|
]))
|
|
38263
38189
|
});
|
|
38264
38190
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38191
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38266
38192
|
async function getInvitations(httpClient, signal) {
|
|
38267
38193
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38268
38194
|
}
|
|
@@ -38279,7 +38205,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38279
38205
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38280
38206
|
}
|
|
38281
38207
|
//#endregion
|
|
38282
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38208
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38283
38209
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38284
38210
|
const searchParams = new URLSearchParams();
|
|
38285
38211
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38291,7 +38217,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38291
38217
|
return searchParams;
|
|
38292
38218
|
}
|
|
38293
38219
|
//#endregion
|
|
38294
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38220
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38295
38221
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38296
38222
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38297
38223
|
}
|
|
@@ -38305,7 +38231,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38305
38231
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38306
38232
|
}
|
|
38307
38233
|
//#endregion
|
|
38308
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38234
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38309
38235
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38310
38236
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38311
38237
|
}
|
|
@@ -38325,7 +38251,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38325
38251
|
});
|
|
38326
38252
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38327
38253
|
//#endregion
|
|
38328
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38329
38255
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38330
38256
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38331
38257
|
signal,
|
|
@@ -38336,12 +38262,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38336
38262
|
})).json();
|
|
38337
38263
|
}
|
|
38338
38264
|
//#endregion
|
|
38339
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38340
38266
|
async function getStatus(httpClient, signal) {
|
|
38341
38267
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38342
38268
|
}
|
|
38343
38269
|
//#endregion
|
|
38344
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38270
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38345
38271
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38346
38272
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38347
38273
|
signal,
|
|
@@ -38369,7 +38295,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38369
38295
|
return response.json();
|
|
38370
38296
|
}
|
|
38371
38297
|
//#endregion
|
|
38372
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38298
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38373
38299
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38374
38300
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38375
38301
|
}
|
|
@@ -41973,15 +41899,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41973
41899
|
}
|
|
41974
41900
|
//#endregion
|
|
41975
41901
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41976
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
41902
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41977
41903
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41978
41904
|
signal,
|
|
41979
41905
|
searchParams: buildSearchParams$2({
|
|
41980
41906
|
workspace_id,
|
|
41981
41907
|
entity_type,
|
|
41982
41908
|
entity_id,
|
|
41983
|
-
project_id,
|
|
41984
|
-
custom_field_id,
|
|
41985
41909
|
action,
|
|
41986
41910
|
user_id,
|
|
41987
41911
|
page_size,
|
|
@@ -41990,14 +41914,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41990
41914
|
})
|
|
41991
41915
|
}).json();
|
|
41992
41916
|
}
|
|
41993
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
41917
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41994
41918
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41995
41919
|
signal,
|
|
41996
41920
|
searchParams: buildSearchParams$2({
|
|
41997
41921
|
entity_type,
|
|
41998
41922
|
entity_id,
|
|
41999
|
-
project_id,
|
|
42000
|
-
custom_field_id,
|
|
42001
41923
|
action,
|
|
42002
41924
|
user_id,
|
|
42003
41925
|
page_size,
|
|
@@ -42150,14 +42072,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42150
42072
|
}
|
|
42151
42073
|
//#endregion
|
|
42152
42074
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42153
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42075
|
+
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) {
|
|
42154
42076
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42155
42077
|
signal,
|
|
42156
42078
|
searchParams: buildSearchParams$2({
|
|
42079
|
+
user_id,
|
|
42157
42080
|
start_date,
|
|
42158
42081
|
end_date,
|
|
42159
|
-
user_id,
|
|
42160
|
-
team_id,
|
|
42161
42082
|
private: private_,
|
|
42162
42083
|
task_source,
|
|
42163
42084
|
unit,
|
|
@@ -42217,15 +42138,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42217
42138
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42218
42139
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42219
42140
|
}
|
|
42220
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42221
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42222
|
-
}
|
|
42223
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42224
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42225
|
-
signal,
|
|
42226
|
-
json: data
|
|
42227
|
-
}).json();
|
|
42228
|
-
}
|
|
42229
42141
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42230
42142
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42231
42143
|
signal,
|
|
@@ -42265,61 +42177,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
42265
42177
|
}).json();
|
|
42266
42178
|
}
|
|
42267
42179
|
//#endregion
|
|
42268
|
-
//#region ../focus-queries/dist/designations/requests.ts
|
|
42269
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42270
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42271
|
-
signal,
|
|
42272
|
-
searchParams: buildSearchParams$2({
|
|
42273
|
-
name,
|
|
42274
|
-
page,
|
|
42275
|
-
per_page,
|
|
42276
|
-
order_by
|
|
42277
|
-
})
|
|
42278
|
-
}).json();
|
|
42279
|
-
}
|
|
42280
|
-
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
42281
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42282
|
-
signal,
|
|
42283
|
-
json: data
|
|
42284
|
-
}).json();
|
|
42285
|
-
}
|
|
42286
|
-
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42287
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42288
|
-
signal,
|
|
42289
|
-
json: data
|
|
42290
|
-
}).json();
|
|
42291
|
-
}
|
|
42292
|
-
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
42293
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42294
|
-
signal,
|
|
42295
|
-
searchParams: buildSearchParams$2({
|
|
42296
|
-
ids,
|
|
42297
|
-
all_or_none
|
|
42298
|
-
})
|
|
42299
|
-
}).json();
|
|
42300
|
-
}
|
|
42301
|
-
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42302
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42303
|
-
signal,
|
|
42304
|
-
json: data
|
|
42305
|
-
}).json();
|
|
42306
|
-
}
|
|
42307
|
-
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
42308
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
42309
|
-
signal,
|
|
42310
|
-
json: data
|
|
42311
|
-
}).json();
|
|
42312
|
-
}
|
|
42313
|
-
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
42314
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
42315
|
-
}
|
|
42316
|
-
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
42317
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
42318
|
-
signal,
|
|
42319
|
-
json: data
|
|
42320
|
-
}).json();
|
|
42321
|
-
}
|
|
42322
|
-
//#endregion
|
|
42323
42180
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42324
42181
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
42325
42182
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -42544,7 +42401,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42544
42401
|
}
|
|
42545
42402
|
//#endregion
|
|
42546
42403
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42547
|
-
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,
|
|
42404
|
+
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) {
|
|
42548
42405
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42549
42406
|
signal,
|
|
42550
42407
|
searchParams: buildSearchParams$2({
|
|
@@ -42570,7 +42427,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42570
42427
|
user_id,
|
|
42571
42428
|
only_me,
|
|
42572
42429
|
include_drafts,
|
|
42573
|
-
include_recurring_series,
|
|
42574
42430
|
cf_filter
|
|
42575
42431
|
})
|
|
42576
42432
|
}).json();
|
|
@@ -42589,6 +42445,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42589
42445
|
json: data
|
|
42590
42446
|
}).json();
|
|
42591
42447
|
}
|
|
42448
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42449
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42450
|
+
}
|
|
42592
42451
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42593
42452
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42594
42453
|
}
|
|
@@ -42614,37 +42473,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42614
42473
|
}).json();
|
|
42615
42474
|
}
|
|
42616
42475
|
//#endregion
|
|
42617
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42618
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42619
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42620
|
-
}
|
|
42621
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42622
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42623
|
-
signal,
|
|
42624
|
-
json: data,
|
|
42625
|
-
searchParams: buildSearchParams$2({
|
|
42626
|
-
response_format,
|
|
42627
|
-
include_dicts
|
|
42628
|
-
})
|
|
42629
|
-
}).json();
|
|
42630
|
-
}
|
|
42631
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42632
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
42633
|
-
signal,
|
|
42634
|
-
json: data,
|
|
42635
|
-
searchParams: buildSearchParams$2({
|
|
42636
|
-
response_format,
|
|
42637
|
-
include_dicts
|
|
42638
|
-
})
|
|
42639
|
-
}).json();
|
|
42640
|
-
}
|
|
42641
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42642
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
42643
|
-
signal,
|
|
42644
|
-
json: data
|
|
42645
|
-
}).json();
|
|
42646
|
-
}
|
|
42647
|
-
//#endregion
|
|
42648
42476
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42649
42477
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42650
42478
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42806,7 +42634,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42806
42634
|
}
|
|
42807
42635
|
//#endregion
|
|
42808
42636
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42809
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
42637
|
+
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) {
|
|
42810
42638
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42811
42639
|
signal,
|
|
42812
42640
|
searchParams: buildSearchParams$2({
|
|
@@ -42814,7 +42642,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42814
42642
|
per_group,
|
|
42815
42643
|
assignee_user_id,
|
|
42816
42644
|
assignee_team_id,
|
|
42817
|
-
include_unassigned,
|
|
42818
42645
|
project_id,
|
|
42819
42646
|
task_id,
|
|
42820
42647
|
include_drafts,
|
|
@@ -42859,18 +42686,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42859
42686
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42860
42687
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42861
42688
|
}
|
|
42862
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42863
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42864
|
-
}
|
|
42865
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42866
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42867
|
-
}
|
|
42868
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42869
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42870
|
-
signal,
|
|
42871
|
-
json: data
|
|
42872
|
-
}).json();
|
|
42873
|
-
}
|
|
42874
42689
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42875
42690
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42876
42691
|
signal,
|
|
@@ -42880,21 +42695,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42880
42695
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42881
42696
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42882
42697
|
}
|
|
42883
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42884
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42885
|
-
signal,
|
|
42886
|
-
json: data
|
|
42887
|
-
}).json();
|
|
42888
|
-
}
|
|
42889
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42890
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42891
|
-
}
|
|
42892
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42893
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42894
|
-
signal,
|
|
42895
|
-
json: data
|
|
42896
|
-
}).json();
|
|
42897
|
-
}
|
|
42898
42698
|
//#endregion
|
|
42899
42699
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42900
42700
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42951,10 +42751,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42951
42751
|
}
|
|
42952
42752
|
//#endregion
|
|
42953
42753
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42954
|
-
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
|
|
42754
|
+
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) {
|
|
42955
42755
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42956
42756
|
signal,
|
|
42957
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42958
42757
|
searchParams: buildSearchParams$2({
|
|
42959
42758
|
project_id,
|
|
42960
42759
|
source,
|
|
@@ -42983,18 +42782,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42983
42782
|
min_days,
|
|
42984
42783
|
include_drafts,
|
|
42985
42784
|
cf_filter,
|
|
42986
|
-
user_cf_filter
|
|
42987
|
-
recurring_occurrences_after,
|
|
42988
|
-
max_recurring_occurrences_after,
|
|
42989
|
-
recurring_task_read,
|
|
42990
|
-
include_projected_occurrences
|
|
42785
|
+
user_cf_filter
|
|
42991
42786
|
})
|
|
42992
42787
|
}).json();
|
|
42993
42788
|
}
|
|
42994
|
-
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
|
|
42789
|
+
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) {
|
|
42995
42790
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42996
42791
|
signal,
|
|
42997
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42998
42792
|
searchParams: buildSearchParams$2({
|
|
42999
42793
|
team_id,
|
|
43000
42794
|
project_id,
|
|
@@ -43023,18 +42817,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43023
42817
|
min_days,
|
|
43024
42818
|
include_drafts,
|
|
43025
42819
|
cf_filter,
|
|
43026
|
-
user_cf_filter
|
|
43027
|
-
recurring_occurrences_after,
|
|
43028
|
-
max_recurring_occurrences_after,
|
|
43029
|
-
recurring_task_read,
|
|
43030
|
-
include_projected_occurrences
|
|
42820
|
+
user_cf_filter
|
|
43031
42821
|
})
|
|
43032
42822
|
}).json();
|
|
43033
42823
|
}
|
|
43034
|
-
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,
|
|
42824
|
+
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) {
|
|
43035
42825
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43036
42826
|
signal,
|
|
43037
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43038
42827
|
searchParams: buildSearchParams$2({
|
|
43039
42828
|
source,
|
|
43040
42829
|
priority,
|
|
@@ -43064,10 +42853,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43064
42853
|
include_drafts,
|
|
43065
42854
|
cf_filter,
|
|
43066
42855
|
user_cf_filter,
|
|
43067
|
-
recurring_occurrences_after,
|
|
43068
|
-
max_recurring_occurrences_after,
|
|
43069
|
-
recurring_task_read,
|
|
43070
|
-
include_projected_occurrences,
|
|
43071
42856
|
page,
|
|
43072
42857
|
per_page,
|
|
43073
42858
|
order_by
|
|
@@ -43095,6 +42880,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
43095
42880
|
}).json();
|
|
43096
42881
|
}
|
|
43097
42882
|
//#endregion
|
|
42883
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42884
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42885
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42886
|
+
signal,
|
|
42887
|
+
searchParams: buildSearchParams$2({
|
|
42888
|
+
page,
|
|
42889
|
+
per_page,
|
|
42890
|
+
order_by,
|
|
42891
|
+
archived
|
|
42892
|
+
})
|
|
42893
|
+
}).json();
|
|
42894
|
+
}
|
|
42895
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42896
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42897
|
+
signal,
|
|
42898
|
+
json: data
|
|
42899
|
+
}).json();
|
|
42900
|
+
}
|
|
42901
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42902
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42903
|
+
}
|
|
42904
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42905
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42906
|
+
signal,
|
|
42907
|
+
json: data
|
|
42908
|
+
}).json();
|
|
42909
|
+
}
|
|
42910
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42911
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42912
|
+
signal,
|
|
42913
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42914
|
+
}).json();
|
|
42915
|
+
}
|
|
42916
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42917
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42918
|
+
signal,
|
|
42919
|
+
json: data
|
|
42920
|
+
}).json();
|
|
42921
|
+
}
|
|
42922
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42923
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42924
|
+
}
|
|
42925
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42926
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42927
|
+
}
|
|
42928
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42929
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42930
|
+
}
|
|
42931
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42932
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42933
|
+
signal,
|
|
42934
|
+
searchParams: buildSearchParams$2({
|
|
42935
|
+
date_from,
|
|
42936
|
+
date_to,
|
|
42937
|
+
task_id,
|
|
42938
|
+
status_id,
|
|
42939
|
+
page,
|
|
42940
|
+
per_page,
|
|
42941
|
+
archived,
|
|
42942
|
+
order_by
|
|
42943
|
+
})
|
|
42944
|
+
}).json();
|
|
42945
|
+
}
|
|
42946
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42947
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42948
|
+
signal,
|
|
42949
|
+
json: data
|
|
42950
|
+
}).json();
|
|
42951
|
+
}
|
|
42952
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42953
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42954
|
+
signal,
|
|
42955
|
+
searchParams: buildSearchParams$2({
|
|
42956
|
+
ids,
|
|
42957
|
+
outbound_sync
|
|
42958
|
+
})
|
|
42959
|
+
}).json();
|
|
42960
|
+
}
|
|
42961
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42962
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42963
|
+
signal,
|
|
42964
|
+
json: data
|
|
42965
|
+
}).json();
|
|
42966
|
+
}
|
|
42967
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42968
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42969
|
+
signal,
|
|
42970
|
+
searchParams: buildSearchParams$2({
|
|
42971
|
+
date_from,
|
|
42972
|
+
date_to,
|
|
42973
|
+
task_id,
|
|
42974
|
+
status_id,
|
|
42975
|
+
archived,
|
|
42976
|
+
order_by
|
|
42977
|
+
})
|
|
42978
|
+
}).json();
|
|
42979
|
+
}
|
|
42980
|
+
//#endregion
|
|
43098
42981
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
43099
42982
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
43100
42983
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43132,12 +43015,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
43132
43015
|
})
|
|
43133
43016
|
}).json();
|
|
43134
43017
|
}
|
|
43135
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
43136
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
43137
|
-
}
|
|
43138
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
43139
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
43140
|
-
}
|
|
43141
43018
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
43142
43019
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
43143
43020
|
signal,
|
|
@@ -43165,26 +43042,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43165
43042
|
json: data
|
|
43166
43043
|
}).json();
|
|
43167
43044
|
}
|
|
43168
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
43169
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
43170
|
-
signal,
|
|
43171
|
-
searchParams: buildSearchParams$2({
|
|
43172
|
-
category_id,
|
|
43173
|
-
date
|
|
43174
|
-
})
|
|
43175
|
-
}).json();
|
|
43176
|
-
}
|
|
43177
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
43178
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
43179
|
-
signal,
|
|
43180
|
-
searchParams: buildSearchParams$2({
|
|
43181
|
-
category_id,
|
|
43182
|
-
year,
|
|
43183
|
-
page,
|
|
43184
|
-
rows
|
|
43185
|
-
})
|
|
43186
|
-
}).json();
|
|
43187
|
-
}
|
|
43188
43045
|
//#endregion
|
|
43189
43046
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43190
43047
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43285,19 +43142,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43285
43142
|
json: data
|
|
43286
43143
|
}).json();
|
|
43287
43144
|
}
|
|
43288
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43289
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43290
|
-
signal,
|
|
43291
|
-
searchParams: buildSearchParams$2({
|
|
43292
|
-
date_from,
|
|
43293
|
-
date_to,
|
|
43294
|
-
setup_id,
|
|
43295
|
-
user_account_ids,
|
|
43296
|
-
approver_user_account_ids,
|
|
43297
|
-
team_ids
|
|
43298
|
-
})
|
|
43299
|
-
}).json();
|
|
43300
|
-
}
|
|
43301
43145
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43302
43146
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43303
43147
|
}
|
|
@@ -43341,21 +43185,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43341
43185
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43342
43186
|
}
|
|
43343
43187
|
//#endregion
|
|
43344
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43345
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43346
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43347
|
-
signal,
|
|
43348
|
-
json: data
|
|
43349
|
-
}).json();
|
|
43350
|
-
}
|
|
43351
|
-
//#endregion
|
|
43352
43188
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43353
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43354
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43355
|
-
}
|
|
43356
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43357
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43358
|
-
}
|
|
43359
43189
|
async function getUserSettings(httpClient, signal) {
|
|
43360
43190
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43361
43191
|
}
|
|
@@ -43595,7 +43425,6 @@ const generatedFocusOperations = [
|
|
|
43595
43425
|
mcp: { entityTool: "audit-log" },
|
|
43596
43426
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43597
43427
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43598
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43599
43428
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43600
43429
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43601
43430
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43603,7 +43432,6 @@ const generatedFocusOperations = [
|
|
|
43603
43432
|
from: /* @__PURE__ */ string$1(),
|
|
43604
43433
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43605
43434
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43606
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43607
43435
|
to: /* @__PURE__ */ string$1(),
|
|
43608
43436
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43609
43437
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43637,7 +43465,6 @@ const generatedFocusOperations = [
|
|
|
43637
43465
|
mcp: { entityTool: "audit-log" },
|
|
43638
43466
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43639
43467
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43640
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43641
43468
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43642
43469
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43643
43470
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43645,7 +43472,6 @@ const generatedFocusOperations = [
|
|
|
43645
43472
|
from: /* @__PURE__ */ string$1(),
|
|
43646
43473
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43647
43474
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43648
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43649
43475
|
to: /* @__PURE__ */ string$1(),
|
|
43650
43476
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43651
43477
|
}),
|
|
@@ -43685,7 +43511,6 @@ const generatedFocusOperations = [
|
|
|
43685
43511
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43686
43512
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43687
43513
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43688
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43689
43514
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43690
43515
|
user_id: /* @__PURE__ */ number$2()
|
|
43691
43516
|
}),
|
|
@@ -43935,6 +43760,8 @@ const generatedFocusOperations = [
|
|
|
43935
43760
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43936
43761
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43937
43762
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43763
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43764
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43938
43765
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43939
43766
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43940
43767
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43968,6 +43795,8 @@ const generatedFocusOperations = [
|
|
|
43968
43795
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43969
43796
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43970
43797
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43798
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43799
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43971
43800
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43972
43801
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43973
43802
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43983,6 +43812,12 @@ const generatedFocusOperations = [
|
|
|
43983
43812
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43984
43813
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43985
43814
|
}))),
|
|
43815
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43816
|
+
start: apiDateTimeString,
|
|
43817
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43818
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43819
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43820
|
+
}))),
|
|
43986
43821
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43987
43822
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43988
43823
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43992,6 +43827,13 @@ const generatedFocusOperations = [
|
|
|
43992
43827
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43993
43828
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43994
43829
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43830
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43831
|
+
start: apiDateTimeString,
|
|
43832
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43833
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43834
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43835
|
+
})),
|
|
43836
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43995
43837
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43996
43838
|
}))
|
|
43997
43839
|
}) }),
|
|
@@ -44109,33 +43951,6 @@ const generatedFocusOperations = [
|
|
|
44109
43951
|
]));
|
|
44110
43952
|
}
|
|
44111
43953
|
},
|
|
44112
|
-
{
|
|
44113
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44114
|
-
family: "focus",
|
|
44115
|
-
resource: "custom-fields",
|
|
44116
|
-
action: "get-allowed-users",
|
|
44117
|
-
title: "Get Allowed Users Custom Fields",
|
|
44118
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44119
|
-
safety: "read",
|
|
44120
|
-
destructive: false,
|
|
44121
|
-
cli: {
|
|
44122
|
-
group: ["custom-fields"],
|
|
44123
|
-
command: "get-allowed-users",
|
|
44124
|
-
interactive: "available"
|
|
44125
|
-
},
|
|
44126
|
-
mcp: { entityTool: "custom-fields" },
|
|
44127
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44128
|
-
execute: (input, { client }) => {
|
|
44129
|
-
const data = input;
|
|
44130
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44131
|
-
client.httpClient,
|
|
44132
|
-
client.organizationId,
|
|
44133
|
-
client.workspaceIdNumber,
|
|
44134
|
-
data.custom_field_id,
|
|
44135
|
-
void 0
|
|
44136
|
-
]));
|
|
44137
|
-
}
|
|
44138
|
-
},
|
|
44139
43954
|
{
|
|
44140
43955
|
id: "focus.custom-fields.list",
|
|
44141
43956
|
family: "focus",
|
|
@@ -44305,37 +44120,6 @@ const generatedFocusOperations = [
|
|
|
44305
44120
|
]));
|
|
44306
44121
|
}
|
|
44307
44122
|
},
|
|
44308
|
-
{
|
|
44309
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44310
|
-
family: "focus",
|
|
44311
|
-
resource: "custom-fields",
|
|
44312
|
-
action: "replace-custom-field-allowed-users",
|
|
44313
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44314
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44315
|
-
safety: "update",
|
|
44316
|
-
destructive: false,
|
|
44317
|
-
cli: {
|
|
44318
|
-
group: ["custom-fields"],
|
|
44319
|
-
command: "replace-custom-field-allowed-users",
|
|
44320
|
-
interactive: "default"
|
|
44321
|
-
},
|
|
44322
|
-
mcp: { entityTool: "custom-fields" },
|
|
44323
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44324
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44325
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44326
|
-
}),
|
|
44327
|
-
execute: (input, { client }) => {
|
|
44328
|
-
const data = input;
|
|
44329
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44330
|
-
client.httpClient,
|
|
44331
|
-
client.organizationId,
|
|
44332
|
-
client.workspaceIdNumber,
|
|
44333
|
-
data.custom_field_id,
|
|
44334
|
-
data.payload ?? data.data ?? data,
|
|
44335
|
-
void 0
|
|
44336
|
-
]));
|
|
44337
|
-
}
|
|
44338
|
-
},
|
|
44339
44123
|
{
|
|
44340
44124
|
id: "focus.custom-fields.update",
|
|
44341
44125
|
family: "focus",
|
|
@@ -44466,256 +44250,6 @@ const generatedFocusOperations = [
|
|
|
44466
44250
|
]));
|
|
44467
44251
|
}
|
|
44468
44252
|
},
|
|
44469
|
-
{
|
|
44470
|
-
id: "focus.designations.bulk-create-workspace",
|
|
44471
|
-
family: "focus",
|
|
44472
|
-
resource: "designations",
|
|
44473
|
-
action: "bulk-create-workspace",
|
|
44474
|
-
title: "Bulk Create Workspace Designations",
|
|
44475
|
-
description: "Bulk Create Workspace Designations.",
|
|
44476
|
-
safety: "create",
|
|
44477
|
-
destructive: false,
|
|
44478
|
-
cli: {
|
|
44479
|
-
group: ["designations", "bulk"],
|
|
44480
|
-
command: "create-workspace",
|
|
44481
|
-
interactive: "default"
|
|
44482
|
-
},
|
|
44483
|
-
mcp: { entityTool: "designations" },
|
|
44484
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44485
|
-
name: /* @__PURE__ */ string$1(),
|
|
44486
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44487
|
-
})) }) }),
|
|
44488
|
-
execute: (input, { client }) => {
|
|
44489
|
-
const data = input;
|
|
44490
|
-
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
44491
|
-
client.httpClient,
|
|
44492
|
-
client.organizationId,
|
|
44493
|
-
client.workspaceIdNumber,
|
|
44494
|
-
data.payload ?? data.data ?? data,
|
|
44495
|
-
void 0
|
|
44496
|
-
]));
|
|
44497
|
-
}
|
|
44498
|
-
},
|
|
44499
|
-
{
|
|
44500
|
-
id: "focus.designations.bulk-delete-workspace",
|
|
44501
|
-
family: "focus",
|
|
44502
|
-
resource: "designations",
|
|
44503
|
-
action: "bulk-delete-workspace",
|
|
44504
|
-
title: "Bulk Delete Workspace Designations",
|
|
44505
|
-
description: "Bulk Delete Workspace Designations.",
|
|
44506
|
-
safety: "delete",
|
|
44507
|
-
destructive: true,
|
|
44508
|
-
cli: {
|
|
44509
|
-
group: ["designations", "bulk"],
|
|
44510
|
-
command: "delete-workspace",
|
|
44511
|
-
interactive: "default"
|
|
44512
|
-
},
|
|
44513
|
-
mcp: { entityTool: "designations" },
|
|
44514
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44515
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44516
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44517
|
-
}),
|
|
44518
|
-
execute: (input, { client }) => {
|
|
44519
|
-
const data = input;
|
|
44520
|
-
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
44521
|
-
client.httpClient,
|
|
44522
|
-
client.organizationId,
|
|
44523
|
-
client.workspaceIdNumber,
|
|
44524
|
-
data.ids,
|
|
44525
|
-
data.all_or_none,
|
|
44526
|
-
void 0
|
|
44527
|
-
]));
|
|
44528
|
-
}
|
|
44529
|
-
},
|
|
44530
|
-
{
|
|
44531
|
-
id: "focus.designations.bulk-update-workspace",
|
|
44532
|
-
family: "focus",
|
|
44533
|
-
resource: "designations",
|
|
44534
|
-
action: "bulk-update-workspace",
|
|
44535
|
-
title: "Bulk Update Workspace Designations",
|
|
44536
|
-
description: "Bulk Update Workspace Designations.",
|
|
44537
|
-
safety: "update",
|
|
44538
|
-
destructive: false,
|
|
44539
|
-
cli: {
|
|
44540
|
-
group: ["designations", "bulk"],
|
|
44541
|
-
command: "update-workspace",
|
|
44542
|
-
interactive: "default"
|
|
44543
|
-
},
|
|
44544
|
-
mcp: { entityTool: "designations" },
|
|
44545
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44546
|
-
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44547
|
-
id: /* @__PURE__ */ number$2(),
|
|
44548
|
-
name: /* @__PURE__ */ string$1()
|
|
44549
|
-
})),
|
|
44550
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
44551
|
-
}) }),
|
|
44552
|
-
execute: (input, { client }) => {
|
|
44553
|
-
const data = input;
|
|
44554
|
-
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
44555
|
-
client.httpClient,
|
|
44556
|
-
client.organizationId,
|
|
44557
|
-
client.workspaceIdNumber,
|
|
44558
|
-
data.payload ?? data.data ?? data,
|
|
44559
|
-
void 0
|
|
44560
|
-
]));
|
|
44561
|
-
}
|
|
44562
|
-
},
|
|
44563
|
-
{
|
|
44564
|
-
id: "focus.designations.create-workspace",
|
|
44565
|
-
family: "focus",
|
|
44566
|
-
resource: "designations",
|
|
44567
|
-
action: "create-workspace",
|
|
44568
|
-
title: "Create Workspace Designations",
|
|
44569
|
-
description: "Create Workspace Designations.",
|
|
44570
|
-
safety: "create",
|
|
44571
|
-
destructive: false,
|
|
44572
|
-
cli: {
|
|
44573
|
-
group: ["designations"],
|
|
44574
|
-
command: "create-workspace",
|
|
44575
|
-
interactive: "default"
|
|
44576
|
-
},
|
|
44577
|
-
mcp: { entityTool: "designations" },
|
|
44578
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44579
|
-
name: /* @__PURE__ */ string$1(),
|
|
44580
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44581
|
-
}) }),
|
|
44582
|
-
execute: (input, { client }) => {
|
|
44583
|
-
const data = input;
|
|
44584
|
-
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
44585
|
-
client.httpClient,
|
|
44586
|
-
client.organizationId,
|
|
44587
|
-
client.workspaceIdNumber,
|
|
44588
|
-
data.payload ?? data.data ?? data,
|
|
44589
|
-
void 0
|
|
44590
|
-
]));
|
|
44591
|
-
}
|
|
44592
|
-
},
|
|
44593
|
-
{
|
|
44594
|
-
id: "focus.designations.delete-workspace",
|
|
44595
|
-
family: "focus",
|
|
44596
|
-
resource: "designations",
|
|
44597
|
-
action: "delete-workspace",
|
|
44598
|
-
title: "Delete Workspace Designations",
|
|
44599
|
-
description: "Delete Workspace Designations.",
|
|
44600
|
-
safety: "delete",
|
|
44601
|
-
destructive: true,
|
|
44602
|
-
cli: {
|
|
44603
|
-
group: ["designations"],
|
|
44604
|
-
command: "delete-workspace",
|
|
44605
|
-
interactive: "default"
|
|
44606
|
-
},
|
|
44607
|
-
mcp: { entityTool: "designations" },
|
|
44608
|
-
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
44609
|
-
execute: (input, { client }) => {
|
|
44610
|
-
const data = input;
|
|
44611
|
-
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
44612
|
-
client.httpClient,
|
|
44613
|
-
client.organizationId,
|
|
44614
|
-
client.workspaceIdNumber,
|
|
44615
|
-
data.designation_id,
|
|
44616
|
-
void 0
|
|
44617
|
-
]));
|
|
44618
|
-
}
|
|
44619
|
-
},
|
|
44620
|
-
{
|
|
44621
|
-
id: "focus.designations.get-workspace-designations",
|
|
44622
|
-
family: "focus",
|
|
44623
|
-
resource: "designations",
|
|
44624
|
-
action: "get-workspace-designations",
|
|
44625
|
-
title: "Get Workspace Designations Designations",
|
|
44626
|
-
description: "Get Workspace Designations Designations.",
|
|
44627
|
-
safety: "read",
|
|
44628
|
-
destructive: false,
|
|
44629
|
-
cli: {
|
|
44630
|
-
group: ["designations"],
|
|
44631
|
-
command: "get-workspace-designations",
|
|
44632
|
-
interactive: "hidden"
|
|
44633
|
-
},
|
|
44634
|
-
mcp: { entityTool: "designations" },
|
|
44635
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44636
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44637
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44638
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44639
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44640
|
-
}),
|
|
44641
|
-
execute: (input, { client }) => {
|
|
44642
|
-
const data = input;
|
|
44643
|
-
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
44644
|
-
client.httpClient,
|
|
44645
|
-
client.organizationId,
|
|
44646
|
-
client.workspaceIdNumber,
|
|
44647
|
-
data,
|
|
44648
|
-
void 0
|
|
44649
|
-
]));
|
|
44650
|
-
}
|
|
44651
|
-
},
|
|
44652
|
-
{
|
|
44653
|
-
id: "focus.designations.update-workspace",
|
|
44654
|
-
family: "focus",
|
|
44655
|
-
resource: "designations",
|
|
44656
|
-
action: "update-workspace",
|
|
44657
|
-
title: "Update Workspace Designations",
|
|
44658
|
-
description: "Update Workspace Designations.",
|
|
44659
|
-
safety: "update",
|
|
44660
|
-
destructive: false,
|
|
44661
|
-
cli: {
|
|
44662
|
-
group: ["designations"],
|
|
44663
|
-
command: "update-workspace",
|
|
44664
|
-
interactive: "default"
|
|
44665
|
-
},
|
|
44666
|
-
mcp: { entityTool: "designations" },
|
|
44667
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44668
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44669
|
-
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
44670
|
-
}),
|
|
44671
|
-
execute: (input, { client }) => {
|
|
44672
|
-
const data = input;
|
|
44673
|
-
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
44674
|
-
client.httpClient,
|
|
44675
|
-
client.organizationId,
|
|
44676
|
-
client.workspaceIdNumber,
|
|
44677
|
-
data.designation_id,
|
|
44678
|
-
data.payload ?? data.data ?? data,
|
|
44679
|
-
void 0
|
|
44680
|
-
]));
|
|
44681
|
-
}
|
|
44682
|
-
},
|
|
44683
|
-
{
|
|
44684
|
-
id: "focus.designations.update-workspace-designation-members",
|
|
44685
|
-
family: "focus",
|
|
44686
|
-
resource: "designations",
|
|
44687
|
-
action: "update-workspace-designation-members",
|
|
44688
|
-
title: "Update Workspace Designation Members Designations",
|
|
44689
|
-
description: "Update Workspace Designation Members Designations.",
|
|
44690
|
-
safety: "update",
|
|
44691
|
-
destructive: false,
|
|
44692
|
-
cli: {
|
|
44693
|
-
group: ["designations"],
|
|
44694
|
-
command: "update-workspace-designation-members",
|
|
44695
|
-
interactive: "default"
|
|
44696
|
-
},
|
|
44697
|
-
mcp: { entityTool: "designations" },
|
|
44698
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44699
|
-
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44700
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44701
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44702
|
-
}))),
|
|
44703
|
-
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44704
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44705
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44706
|
-
})))
|
|
44707
|
-
}) }),
|
|
44708
|
-
execute: (input, { client }) => {
|
|
44709
|
-
const data = input;
|
|
44710
|
-
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
44711
|
-
client.httpClient,
|
|
44712
|
-
client.organizationId,
|
|
44713
|
-
client.workspaceIdNumber,
|
|
44714
|
-
data.payload ?? data.data ?? data,
|
|
44715
|
-
void 0
|
|
44716
|
-
]));
|
|
44717
|
-
}
|
|
44718
|
-
},
|
|
44719
44253
|
{
|
|
44720
44254
|
id: "focus.goals.create",
|
|
44721
44255
|
family: "focus",
|
|
@@ -44732,7 +44266,13 @@ const generatedFocusOperations = [
|
|
|
44732
44266
|
},
|
|
44733
44267
|
mcp: { entityTool: "goals" },
|
|
44734
44268
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44269
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44735
44270
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44271
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44272
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44273
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44274
|
+
name: /* @__PURE__ */ string$1(),
|
|
44275
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44736
44276
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44737
44277
|
"daily",
|
|
44738
44278
|
"weekly",
|
|
@@ -44740,18 +44280,12 @@ const generatedFocusOperations = [
|
|
|
44740
44280
|
"monthly"
|
|
44741
44281
|
]),
|
|
44742
44282
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44283
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44743
44284
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44744
|
-
|
|
44285
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44286
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44745
44287
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44746
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44747
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44748
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44749
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44750
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44751
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44752
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44753
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44754
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44288
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44755
44289
|
}) }),
|
|
44756
44290
|
execute: (input, { client }) => {
|
|
44757
44291
|
const data = input;
|
|
@@ -44857,6 +44391,13 @@ const generatedFocusOperations = [
|
|
|
44857
44391
|
},
|
|
44858
44392
|
mcp: { entityTool: "goals" },
|
|
44859
44393
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44394
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44395
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44396
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44397
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44398
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44399
|
+
name: /* @__PURE__ */ string$1(),
|
|
44400
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44860
44401
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44861
44402
|
"daily",
|
|
44862
44403
|
"weekly",
|
|
@@ -44864,19 +44405,12 @@ const generatedFocusOperations = [
|
|
|
44864
44405
|
"monthly"
|
|
44865
44406
|
]),
|
|
44866
44407
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44867
|
-
|
|
44408
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44409
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44410
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44411
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44868
44412
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44869
|
-
|
|
44870
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44871
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44872
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44873
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44874
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44875
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44876
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44877
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44878
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44879
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44413
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44880
44414
|
}) }),
|
|
44881
44415
|
execute: (input, { client }) => {
|
|
44882
44416
|
const data = input;
|
|
@@ -45843,17 +45377,9 @@ const generatedFocusOperations = [
|
|
|
45843
45377
|
mcp: { entityTool: "projects" },
|
|
45844
45378
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45845
45379
|
payload: /* @__PURE__ */ looseObject({
|
|
45846
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45847
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45848
45380
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45849
45381
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45850
45382
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45851
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45852
|
-
"expire",
|
|
45853
|
-
"carry_all",
|
|
45854
|
-
"carry_over"
|
|
45855
|
-
])),
|
|
45856
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45857
45383
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45858
45384
|
}),
|
|
45859
45385
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46297,7 +45823,6 @@ const generatedFocusOperations = [
|
|
|
46297
45823
|
group: /* @__PURE__ */ string$1(),
|
|
46298
45824
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46299
45825
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46300
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46301
45826
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46302
45827
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46303
45828
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46400,6 +45925,29 @@ const generatedFocusOperations = [
|
|
|
46400
45925
|
]));
|
|
46401
45926
|
}
|
|
46402
45927
|
},
|
|
45928
|
+
{
|
|
45929
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
45930
|
+
family: "focus",
|
|
45931
|
+
resource: "projects",
|
|
45932
|
+
action: "margin-targets-clear-workspace",
|
|
45933
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
45934
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
45935
|
+
safety: "delete",
|
|
45936
|
+
destructive: true,
|
|
45937
|
+
cli: {
|
|
45938
|
+
group: ["projects", "margin-targets"],
|
|
45939
|
+
command: "clear-workspace",
|
|
45940
|
+
interactive: "default"
|
|
45941
|
+
},
|
|
45942
|
+
mcp: { entityTool: "projects" },
|
|
45943
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45944
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45945
|
+
client.httpClient,
|
|
45946
|
+
client.organizationId,
|
|
45947
|
+
client.workspaceIdNumber,
|
|
45948
|
+
void 0
|
|
45949
|
+
]))
|
|
45950
|
+
},
|
|
46403
45951
|
{
|
|
46404
45952
|
id: "focus.projects.margin-targets-get",
|
|
46405
45953
|
family: "focus",
|
|
@@ -46845,137 +46393,13 @@ const generatedFocusOperations = [
|
|
|
46845
46393
|
}
|
|
46846
46394
|
},
|
|
46847
46395
|
{
|
|
46848
|
-
id: "focus.
|
|
46396
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46849
46397
|
family: "focus",
|
|
46850
|
-
resource: "
|
|
46851
|
-
action: "
|
|
46852
|
-
title: "
|
|
46853
|
-
description: "
|
|
46854
|
-
safety: "
|
|
46855
|
-
destructive: false,
|
|
46856
|
-
cli: {
|
|
46857
|
-
group: ["publicsharedreports"],
|
|
46858
|
-
command: "open-public-shared-report",
|
|
46859
|
-
interactive: "available"
|
|
46860
|
-
},
|
|
46861
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46862
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46863
|
-
execute: (input, { client }) => {
|
|
46864
|
-
const data = input;
|
|
46865
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46866
|
-
client.httpClient,
|
|
46867
|
-
data.token,
|
|
46868
|
-
void 0
|
|
46869
|
-
]));
|
|
46870
|
-
}
|
|
46871
|
-
},
|
|
46872
|
-
{
|
|
46873
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46874
|
-
family: "focus",
|
|
46875
|
-
resource: "publicsharedreports",
|
|
46876
|
-
action: "profitability-public-shared-report",
|
|
46877
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46878
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46879
|
-
safety: "update",
|
|
46880
|
-
destructive: false,
|
|
46881
|
-
cli: {
|
|
46882
|
-
group: ["publicsharedreports"],
|
|
46883
|
-
command: "profitability-public-shared-report",
|
|
46884
|
-
interactive: "default"
|
|
46885
|
-
},
|
|
46886
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46887
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46888
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46889
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46890
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46891
|
-
token: /* @__PURE__ */ string$1()
|
|
46892
|
-
}),
|
|
46893
|
-
execute: (input, { client }) => {
|
|
46894
|
-
const data = input;
|
|
46895
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46896
|
-
client.httpClient,
|
|
46897
|
-
data.token,
|
|
46898
|
-
data.payload ?? data.data ?? data,
|
|
46899
|
-
data.response_format,
|
|
46900
|
-
data.include_dicts,
|
|
46901
|
-
void 0
|
|
46902
|
-
]));
|
|
46903
|
-
}
|
|
46904
|
-
},
|
|
46905
|
-
{
|
|
46906
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46907
|
-
family: "focus",
|
|
46908
|
-
resource: "publicsharedreports",
|
|
46909
|
-
action: "query-public-shared-report",
|
|
46910
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
46911
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
46912
|
-
safety: "update",
|
|
46913
|
-
destructive: false,
|
|
46914
|
-
cli: {
|
|
46915
|
-
group: ["publicsharedreports"],
|
|
46916
|
-
command: "query-public-shared-report",
|
|
46917
|
-
interactive: "default"
|
|
46918
|
-
},
|
|
46919
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46920
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46921
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46922
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46923
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46924
|
-
"json_row",
|
|
46925
|
-
"table",
|
|
46926
|
-
"hierarchical"
|
|
46927
|
-
])),
|
|
46928
|
-
token: /* @__PURE__ */ string$1()
|
|
46929
|
-
}),
|
|
46930
|
-
execute: (input, { client }) => {
|
|
46931
|
-
const data = input;
|
|
46932
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46933
|
-
client.httpClient,
|
|
46934
|
-
data.token,
|
|
46935
|
-
data.payload ?? data.data ?? data,
|
|
46936
|
-
data.response_format,
|
|
46937
|
-
data.include_dicts,
|
|
46938
|
-
void 0
|
|
46939
|
-
]));
|
|
46940
|
-
}
|
|
46941
|
-
},
|
|
46942
|
-
{
|
|
46943
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46944
|
-
family: "focus",
|
|
46945
|
-
resource: "publicsharedreports",
|
|
46946
|
-
action: "workload-public-shared-report",
|
|
46947
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
46948
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46949
|
-
safety: "update",
|
|
46950
|
-
destructive: false,
|
|
46951
|
-
cli: {
|
|
46952
|
-
group: ["publicsharedreports"],
|
|
46953
|
-
command: "workload-public-shared-report",
|
|
46954
|
-
interactive: "default"
|
|
46955
|
-
},
|
|
46956
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46957
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46958
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46959
|
-
token: /* @__PURE__ */ string$1()
|
|
46960
|
-
}),
|
|
46961
|
-
execute: (input, { client }) => {
|
|
46962
|
-
const data = input;
|
|
46963
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46964
|
-
client.httpClient,
|
|
46965
|
-
data.token,
|
|
46966
|
-
data.payload ?? data.data ?? data,
|
|
46967
|
-
void 0
|
|
46968
|
-
]));
|
|
46969
|
-
}
|
|
46970
|
-
},
|
|
46971
|
-
{
|
|
46972
|
-
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46973
|
-
family: "focus",
|
|
46974
|
-
resource: "rates",
|
|
46975
|
-
action: "billable-check-project-billable-rate-conflicts",
|
|
46976
|
-
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46977
|
-
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46978
|
-
safety: "update",
|
|
46398
|
+
resource: "rates",
|
|
46399
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
46400
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46401
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46402
|
+
safety: "update",
|
|
46979
46403
|
destructive: false,
|
|
46980
46404
|
cli: {
|
|
46981
46405
|
group: ["rates", "billable"],
|
|
@@ -48926,7 +48350,7 @@ const generatedFocusOperations = [
|
|
|
48926
48350
|
cli: {
|
|
48927
48351
|
group: ["reportschedules"],
|
|
48928
48352
|
command: "upsert-saved-view-schedule",
|
|
48929
|
-
interactive: "
|
|
48353
|
+
interactive: "default"
|
|
48930
48354
|
},
|
|
48931
48355
|
mcp: { entityTool: "reportschedules" },
|
|
48932
48356
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48937,10 +48361,8 @@ const generatedFocusOperations = [
|
|
|
48937
48361
|
"weekly",
|
|
48938
48362
|
"monthly"
|
|
48939
48363
|
]),
|
|
48940
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48941
48364
|
time: /* @__PURE__ */ string$1(),
|
|
48942
48365
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48943
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48944
48366
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48945
48367
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48946
48368
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -49273,32 +48695,6 @@ const generatedFocusOperations = [
|
|
|
49273
48695
|
]));
|
|
49274
48696
|
}
|
|
49275
48697
|
},
|
|
49276
|
-
{
|
|
49277
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
49278
|
-
family: "focus",
|
|
49279
|
-
resource: "sharedreports",
|
|
49280
|
-
action: "get-shared-report-dates",
|
|
49281
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
49282
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
49283
|
-
safety: "read",
|
|
49284
|
-
destructive: false,
|
|
49285
|
-
cli: {
|
|
49286
|
-
group: ["sharedreports"],
|
|
49287
|
-
command: "get-shared-report-dates",
|
|
49288
|
-
interactive: "available"
|
|
49289
|
-
},
|
|
49290
|
-
mcp: { entityTool: "sharedreports" },
|
|
49291
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49292
|
-
execute: (input, { client }) => {
|
|
49293
|
-
const data = input;
|
|
49294
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
49295
|
-
client.httpClient,
|
|
49296
|
-
client.workspaceIdNumber,
|
|
49297
|
-
data.id,
|
|
49298
|
-
void 0
|
|
49299
|
-
]));
|
|
49300
|
-
}
|
|
49301
|
-
},
|
|
49302
48698
|
{
|
|
49303
48699
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
49304
48700
|
family: "focus",
|
|
@@ -49369,36 +48765,6 @@ const generatedFocusOperations = [
|
|
|
49369
48765
|
void 0
|
|
49370
48766
|
]))
|
|
49371
48767
|
},
|
|
49372
|
-
{
|
|
49373
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
49374
|
-
family: "focus",
|
|
49375
|
-
resource: "sharedreports",
|
|
49376
|
-
action: "mint-shared-report-link",
|
|
49377
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
49378
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
49379
|
-
safety: "update",
|
|
49380
|
-
destructive: false,
|
|
49381
|
-
cli: {
|
|
49382
|
-
group: ["sharedreports"],
|
|
49383
|
-
command: "mint-shared-report-link",
|
|
49384
|
-
interactive: "default"
|
|
49385
|
-
},
|
|
49386
|
-
mcp: { entityTool: "sharedreports" },
|
|
49387
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49388
|
-
id: /* @__PURE__ */ number$2(),
|
|
49389
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49390
|
-
}),
|
|
49391
|
-
execute: (input, { client }) => {
|
|
49392
|
-
const data = input;
|
|
49393
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
49394
|
-
client.httpClient,
|
|
49395
|
-
client.workspaceIdNumber,
|
|
49396
|
-
data.id,
|
|
49397
|
-
data.payload ?? data.data ?? data,
|
|
49398
|
-
void 0
|
|
49399
|
-
]));
|
|
49400
|
-
}
|
|
49401
|
-
},
|
|
49402
48768
|
{
|
|
49403
48769
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49404
48770
|
family: "focus",
|
|
@@ -49429,92 +48795,6 @@ const generatedFocusOperations = [
|
|
|
49429
48795
|
]));
|
|
49430
48796
|
}
|
|
49431
48797
|
},
|
|
49432
|
-
{
|
|
49433
|
-
id: "focus.sharedreports.revoke-shared-report-link",
|
|
49434
|
-
family: "focus",
|
|
49435
|
-
resource: "sharedreports",
|
|
49436
|
-
action: "revoke-shared-report-link",
|
|
49437
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
49438
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
49439
|
-
safety: "delete",
|
|
49440
|
-
destructive: true,
|
|
49441
|
-
cli: {
|
|
49442
|
-
group: ["sharedreports"],
|
|
49443
|
-
command: "revoke-shared-report-link",
|
|
49444
|
-
interactive: "default"
|
|
49445
|
-
},
|
|
49446
|
-
mcp: { entityTool: "sharedreports" },
|
|
49447
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49448
|
-
execute: (input, { client }) => {
|
|
49449
|
-
const data = input;
|
|
49450
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
49451
|
-
client.httpClient,
|
|
49452
|
-
client.workspaceIdNumber,
|
|
49453
|
-
data.id,
|
|
49454
|
-
void 0
|
|
49455
|
-
]));
|
|
49456
|
-
}
|
|
49457
|
-
},
|
|
49458
|
-
{
|
|
49459
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
49460
|
-
family: "focus",
|
|
49461
|
-
resource: "sharedreports",
|
|
49462
|
-
action: "rotate-shared-report-link",
|
|
49463
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
49464
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
49465
|
-
safety: "update",
|
|
49466
|
-
destructive: false,
|
|
49467
|
-
cli: {
|
|
49468
|
-
group: ["sharedreports"],
|
|
49469
|
-
command: "rotate-shared-report-link",
|
|
49470
|
-
interactive: "default"
|
|
49471
|
-
},
|
|
49472
|
-
mcp: { entityTool: "sharedreports" },
|
|
49473
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49474
|
-
id: /* @__PURE__ */ number$2(),
|
|
49475
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49476
|
-
}),
|
|
49477
|
-
execute: (input, { client }) => {
|
|
49478
|
-
const data = input;
|
|
49479
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
49480
|
-
client.httpClient,
|
|
49481
|
-
client.workspaceIdNumber,
|
|
49482
|
-
data.id,
|
|
49483
|
-
data.payload ?? data.data ?? data,
|
|
49484
|
-
void 0
|
|
49485
|
-
]));
|
|
49486
|
-
}
|
|
49487
|
-
},
|
|
49488
|
-
{
|
|
49489
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49490
|
-
family: "focus",
|
|
49491
|
-
resource: "sharedreports",
|
|
49492
|
-
action: "set-shared-report-dates-lock",
|
|
49493
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49494
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49495
|
-
safety: "update",
|
|
49496
|
-
destructive: false,
|
|
49497
|
-
cli: {
|
|
49498
|
-
group: ["sharedreports"],
|
|
49499
|
-
command: "set-shared-report-dates-lock",
|
|
49500
|
-
interactive: "default"
|
|
49501
|
-
},
|
|
49502
|
-
mcp: { entityTool: "sharedreports" },
|
|
49503
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49504
|
-
id: /* @__PURE__ */ number$2(),
|
|
49505
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49506
|
-
}),
|
|
49507
|
-
execute: (input, { client }) => {
|
|
49508
|
-
const data = input;
|
|
49509
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49510
|
-
client.httpClient,
|
|
49511
|
-
client.workspaceIdNumber,
|
|
49512
|
-
data.id,
|
|
49513
|
-
data.payload ?? data.data ?? data,
|
|
49514
|
-
void 0
|
|
49515
|
-
]));
|
|
49516
|
-
}
|
|
49517
|
-
},
|
|
49518
48798
|
{
|
|
49519
48799
|
id: "focus.sharedreports.share-saved-view",
|
|
49520
48800
|
family: "focus",
|
|
@@ -49589,32 +48869,6 @@ const generatedFocusOperations = [
|
|
|
49589
48869
|
]));
|
|
49590
48870
|
}
|
|
49591
48871
|
},
|
|
49592
|
-
{
|
|
49593
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
49594
|
-
family: "focus",
|
|
49595
|
-
resource: "sharedreports",
|
|
49596
|
-
action: "unshare-shared-report",
|
|
49597
|
-
title: "Unshare Shared Report Sharedreports",
|
|
49598
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
49599
|
-
safety: "delete",
|
|
49600
|
-
destructive: true,
|
|
49601
|
-
cli: {
|
|
49602
|
-
group: ["sharedreports"],
|
|
49603
|
-
command: "unshare-shared-report",
|
|
49604
|
-
interactive: "default"
|
|
49605
|
-
},
|
|
49606
|
-
mcp: { entityTool: "sharedreports" },
|
|
49607
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49608
|
-
execute: (input, { client }) => {
|
|
49609
|
-
const data = input;
|
|
49610
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49611
|
-
client.httpClient,
|
|
49612
|
-
client.workspaceIdNumber,
|
|
49613
|
-
data.id,
|
|
49614
|
-
void 0
|
|
49615
|
-
]));
|
|
49616
|
-
}
|
|
49617
|
-
},
|
|
49618
48872
|
{
|
|
49619
48873
|
id: "focus.statuses.create-status",
|
|
49620
48874
|
family: "focus",
|
|
@@ -50657,37 +49911,6 @@ const generatedFocusOperations = [
|
|
|
50657
49911
|
return client.createTask(data);
|
|
50658
49912
|
}
|
|
50659
49913
|
},
|
|
50660
|
-
{
|
|
50661
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50662
|
-
family: "focus",
|
|
50663
|
-
resource: "tasks",
|
|
50664
|
-
action: "create-recurring-occurrence",
|
|
50665
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50666
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50667
|
-
safety: "create",
|
|
50668
|
-
destructive: false,
|
|
50669
|
-
cli: {
|
|
50670
|
-
group: ["tasks"],
|
|
50671
|
-
command: "create-recurring-occurrence",
|
|
50672
|
-
interactive: "default"
|
|
50673
|
-
},
|
|
50674
|
-
mcp: { entityTool: "tasks" },
|
|
50675
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50676
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50677
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50678
|
-
}),
|
|
50679
|
-
execute: (input, { client }) => {
|
|
50680
|
-
const data = input;
|
|
50681
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50682
|
-
client.httpClient,
|
|
50683
|
-
client.organizationId,
|
|
50684
|
-
client.workspaceIdNumber,
|
|
50685
|
-
data.task_id,
|
|
50686
|
-
data.return_occurrence,
|
|
50687
|
-
void 0
|
|
50688
|
-
]));
|
|
50689
|
-
}
|
|
50690
|
-
},
|
|
50691
49914
|
{
|
|
50692
49915
|
id: "focus.tasks.delete",
|
|
50693
49916
|
family: "focus",
|
|
@@ -50913,125 +50136,48 @@ const generatedFocusOperations = [
|
|
|
50913
50136
|
}
|
|
50914
50137
|
},
|
|
50915
50138
|
{
|
|
50916
|
-
id: "focus.tasks.get-
|
|
50139
|
+
id: "focus.tasks.get-recurring-instances",
|
|
50917
50140
|
family: "focus",
|
|
50918
50141
|
resource: "tasks",
|
|
50919
|
-
action: "get-
|
|
50920
|
-
title: "Get
|
|
50921
|
-
description: "Get
|
|
50142
|
+
action: "get-recurring-instances",
|
|
50143
|
+
title: "Get Recurring Instances Tasks",
|
|
50144
|
+
description: "Get Recurring Instances Tasks.",
|
|
50922
50145
|
safety: "read",
|
|
50923
50146
|
destructive: false,
|
|
50924
50147
|
cli: {
|
|
50925
50148
|
group: ["tasks"],
|
|
50926
|
-
command: "get-
|
|
50149
|
+
command: "get-recurring-instances",
|
|
50927
50150
|
interactive: "hidden"
|
|
50928
50151
|
},
|
|
50929
50152
|
mcp: { entityTool: "tasks" },
|
|
50930
50153
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50931
|
-
|
|
50932
|
-
|
|
50154
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50155
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50156
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50157
|
+
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50158
|
+
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50159
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50160
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50933
50161
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50934
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50935
50162
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50936
|
-
|
|
50937
|
-
|
|
50938
|
-
|
|
50163
|
+
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50164
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50165
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50166
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50939
50167
|
}),
|
|
50940
50168
|
execute: (input, { client }) => {
|
|
50941
50169
|
const data = input;
|
|
50942
|
-
return client.runGeneratedRequest("
|
|
50170
|
+
return client.runGeneratedRequest("getTasksRecurringInstancesClassic", () => callGeneratedRequest(getTasksRecurringInstancesClassic, [
|
|
50943
50171
|
client.httpClient,
|
|
50944
50172
|
client.organizationId,
|
|
50945
50173
|
client.workspaceIdNumber,
|
|
50946
|
-
data.parent_task_id,
|
|
50947
50174
|
data,
|
|
50948
50175
|
void 0
|
|
50949
50176
|
]));
|
|
50950
50177
|
}
|
|
50951
50178
|
},
|
|
50952
50179
|
{
|
|
50953
|
-
id: "focus.tasks.get-
|
|
50954
|
-
family: "focus",
|
|
50955
|
-
resource: "tasks",
|
|
50956
|
-
action: "get-picker-task-groups",
|
|
50957
|
-
title: "Get Picker Task Groups Tasks",
|
|
50958
|
-
description: "Get Picker Task Groups Tasks.",
|
|
50959
|
-
safety: "read",
|
|
50960
|
-
destructive: false,
|
|
50961
|
-
cli: {
|
|
50962
|
-
group: ["tasks"],
|
|
50963
|
-
command: "get-picker-task-groups",
|
|
50964
|
-
interactive: "hidden"
|
|
50965
|
-
},
|
|
50966
|
-
mcp: { entityTool: "tasks" },
|
|
50967
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50968
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50969
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50970
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50971
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50972
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50973
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50974
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50975
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50976
|
-
}),
|
|
50977
|
-
execute: (input, { client }) => {
|
|
50978
|
-
const data = input;
|
|
50979
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50980
|
-
client.httpClient,
|
|
50981
|
-
client.organizationId,
|
|
50982
|
-
client.workspaceIdNumber,
|
|
50983
|
-
data,
|
|
50984
|
-
void 0
|
|
50985
|
-
]));
|
|
50986
|
-
}
|
|
50987
|
-
},
|
|
50988
|
-
{
|
|
50989
|
-
id: "focus.tasks.get-recurring-instances",
|
|
50990
|
-
family: "focus",
|
|
50991
|
-
resource: "tasks",
|
|
50992
|
-
action: "get-recurring-instances",
|
|
50993
|
-
title: "Get Recurring Instances Tasks",
|
|
50994
|
-
description: "Get Recurring Instances Tasks.",
|
|
50995
|
-
safety: "read",
|
|
50996
|
-
destructive: false,
|
|
50997
|
-
cli: {
|
|
50998
|
-
group: ["tasks"],
|
|
50999
|
-
command: "get-recurring-instances",
|
|
51000
|
-
interactive: "hidden"
|
|
51001
|
-
},
|
|
51002
|
-
mcp: { entityTool: "tasks" },
|
|
51003
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51004
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51005
|
-
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51006
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51007
|
-
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51008
|
-
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51009
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51010
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51011
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51012
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51013
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51014
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51015
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51016
|
-
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51017
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51018
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51019
|
-
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51020
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51021
|
-
}),
|
|
51022
|
-
execute: (input, { client }) => {
|
|
51023
|
-
const data = input;
|
|
51024
|
-
return client.runGeneratedRequest("getTasksRecurringInstancesClassic", () => callGeneratedRequest(getTasksRecurringInstancesClassic, [
|
|
51025
|
-
client.httpClient,
|
|
51026
|
-
client.organizationId,
|
|
51027
|
-
client.workspaceIdNumber,
|
|
51028
|
-
data,
|
|
51029
|
-
void 0
|
|
51030
|
-
]));
|
|
51031
|
-
}
|
|
51032
|
-
},
|
|
51033
|
-
{
|
|
51034
|
-
id: "focus.tasks.get-stream",
|
|
50180
|
+
id: "focus.tasks.get-stream",
|
|
51035
50181
|
family: "focus",
|
|
51036
50182
|
resource: "tasks",
|
|
51037
50183
|
action: "get-stream",
|
|
@@ -51060,14 +50206,13 @@ const generatedFocusOperations = [
|
|
|
51060
50206
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51061
50207
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51062
50208
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50209
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51063
50210
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51064
50211
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51065
50212
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51066
50213
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51067
50214
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51068
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51069
50215
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51070
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51071
50216
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51072
50217
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51073
50218
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -51076,9 +50221,7 @@ const generatedFocusOperations = [
|
|
|
51076
50221
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51077
50222
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51078
50223
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51079
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51080
50224
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51081
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51082
50225
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51083
50226
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51084
50227
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51087,6 +50230,8 @@ const generatedFocusOperations = [
|
|
|
51087
50230
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51088
50231
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51089
50232
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50233
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50234
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51090
50235
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51091
50236
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51092
50237
|
}),
|
|
@@ -51214,10 +50359,8 @@ const generatedFocusOperations = [
|
|
|
51214
50359
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51215
50360
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51216
50361
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51217
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51218
50362
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51219
50363
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51220
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51221
50364
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51222
50365
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51223
50366
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51226,8 +50369,6 @@ const generatedFocusOperations = [
|
|
|
51226
50369
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51227
50370
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51228
50371
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51229
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51230
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51231
50372
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51232
50373
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51233
50374
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51236,8 +50377,7 @@ const generatedFocusOperations = [
|
|
|
51236
50377
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51237
50378
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51238
50379
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51239
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51240
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50380
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51241
50381
|
}),
|
|
51242
50382
|
execute: (input, { client }) => {
|
|
51243
50383
|
const data = input;
|
|
@@ -51279,17 +50419,13 @@ const generatedFocusOperations = [
|
|
|
51279
50419
|
group_id: /* @__PURE__ */ number$2(),
|
|
51280
50420
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
51281
50421
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51282
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
51283
50422
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
51284
50423
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51285
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51286
50424
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
51287
50425
|
name: /* @__PURE__ */ unknown$1(),
|
|
51288
50426
|
priority: /* @__PURE__ */ unknown$1(),
|
|
51289
50427
|
private_: /* @__PURE__ */ unknown$1(),
|
|
51290
50428
|
project_id: /* @__PURE__ */ number$2(),
|
|
51291
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51292
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
51293
50429
|
source: /* @__PURE__ */ unknown$1(),
|
|
51294
50430
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51295
50431
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -51298,8 +50434,7 @@ const generatedFocusOperations = [
|
|
|
51298
50434
|
tag_id: /* @__PURE__ */ number$2(),
|
|
51299
50435
|
team_id: /* @__PURE__ */ number$2(),
|
|
51300
50436
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
51301
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51302
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50437
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
51303
50438
|
}),
|
|
51304
50439
|
execute: (input, { client }) => {
|
|
51305
50440
|
const data = input;
|
|
@@ -51340,17 +50475,13 @@ const generatedFocusOperations = [
|
|
|
51340
50475
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51341
50476
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51342
50477
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51343
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51344
50478
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51345
50479
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51346
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51347
50480
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51348
50481
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51349
50482
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51350
50483
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51351
50484
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51352
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51353
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51354
50485
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51355
50486
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51356
50487
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51359,8 +50490,7 @@ const generatedFocusOperations = [
|
|
|
51359
50490
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51360
50491
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51361
50492
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51362
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51363
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50493
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51364
50494
|
}),
|
|
51365
50495
|
execute: (input, { client }) => {
|
|
51366
50496
|
const data = input;
|
|
@@ -51604,45 +50734,508 @@ const generatedFocusOperations = [
|
|
|
51604
50734
|
}),
|
|
51605
50735
|
execute: (input, { client }) => {
|
|
51606
50736
|
const data = input;
|
|
51607
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50737
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50738
|
+
client.httpClient,
|
|
50739
|
+
client.organizationId,
|
|
50740
|
+
client.workspaceIdNumber,
|
|
50741
|
+
data.task_id,
|
|
50742
|
+
data.payload ?? data.data ?? data,
|
|
50743
|
+
void 0
|
|
50744
|
+
]));
|
|
50745
|
+
}
|
|
50746
|
+
},
|
|
50747
|
+
{
|
|
50748
|
+
id: "focus.tasks.update-calendar-range",
|
|
50749
|
+
family: "focus",
|
|
50750
|
+
resource: "tasks",
|
|
50751
|
+
action: "update-calendar-range",
|
|
50752
|
+
title: "Update Calendar Range Tasks",
|
|
50753
|
+
description: "Update Calendar Range Tasks.",
|
|
50754
|
+
safety: "update",
|
|
50755
|
+
destructive: false,
|
|
50756
|
+
cli: {
|
|
50757
|
+
group: ["tasks"],
|
|
50758
|
+
command: "update-calendar-range",
|
|
50759
|
+
interactive: "default"
|
|
50760
|
+
},
|
|
50761
|
+
mcp: { entityTool: "tasks" },
|
|
50762
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50763
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
50764
|
+
date_to: /* @__PURE__ */ string$1()
|
|
50765
|
+
}),
|
|
50766
|
+
execute: (input, { client }) => {
|
|
50767
|
+
const data = input;
|
|
50768
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
50769
|
+
client.httpClient,
|
|
50770
|
+
client.organizationId,
|
|
50771
|
+
client.workspaceIdNumber,
|
|
50772
|
+
data.date_from,
|
|
50773
|
+
data.date_to,
|
|
50774
|
+
void 0
|
|
50775
|
+
]));
|
|
50776
|
+
}
|
|
50777
|
+
},
|
|
50778
|
+
{
|
|
50779
|
+
id: "focus.time-blocks.archive",
|
|
50780
|
+
family: "focus",
|
|
50781
|
+
resource: "time-blocks",
|
|
50782
|
+
action: "archive",
|
|
50783
|
+
title: "Archive Time Blocks",
|
|
50784
|
+
description: "Archive Time Blocks.",
|
|
50785
|
+
safety: "update",
|
|
50786
|
+
destructive: false,
|
|
50787
|
+
cli: {
|
|
50788
|
+
group: ["time-blocks"],
|
|
50789
|
+
command: "archive",
|
|
50790
|
+
interactive: "default"
|
|
50791
|
+
},
|
|
50792
|
+
mcp: { entityTool: "time-blocks" },
|
|
50793
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50794
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50795
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50796
|
+
}),
|
|
50797
|
+
execute: (input, { client }) => {
|
|
50798
|
+
const data = input;
|
|
50799
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
50800
|
+
client.httpClient,
|
|
50801
|
+
client.organizationId,
|
|
50802
|
+
client.workspaceIdNumber,
|
|
50803
|
+
data.task_id,
|
|
50804
|
+
data.time_block_id,
|
|
50805
|
+
void 0
|
|
50806
|
+
]));
|
|
50807
|
+
}
|
|
50808
|
+
},
|
|
50809
|
+
{
|
|
50810
|
+
id: "focus.time-blocks.bulk-create",
|
|
50811
|
+
family: "focus",
|
|
50812
|
+
resource: "time-blocks",
|
|
50813
|
+
action: "bulk-create",
|
|
50814
|
+
title: "Bulk Create Time Blocks",
|
|
50815
|
+
description: "Bulk Create Time Blocks.",
|
|
50816
|
+
safety: "create",
|
|
50817
|
+
destructive: false,
|
|
50818
|
+
cli: {
|
|
50819
|
+
group: ["time-blocks", "bulk"],
|
|
50820
|
+
command: "create",
|
|
50821
|
+
interactive: "default"
|
|
50822
|
+
},
|
|
50823
|
+
mcp: { entityTool: "time-blocks" },
|
|
50824
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50825
|
+
start: apiDateTimeString,
|
|
50826
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50827
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50828
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50829
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50830
|
+
})) }) }),
|
|
50831
|
+
execute: (input, { client }) => {
|
|
50832
|
+
const data = input;
|
|
50833
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
50834
|
+
client.httpClient,
|
|
50835
|
+
client.organizationId,
|
|
50836
|
+
client.workspaceIdNumber,
|
|
50837
|
+
data.payload ?? data.data ?? data,
|
|
50838
|
+
void 0
|
|
50839
|
+
]));
|
|
50840
|
+
}
|
|
50841
|
+
},
|
|
50842
|
+
{
|
|
50843
|
+
id: "focus.time-blocks.bulk-delete",
|
|
50844
|
+
family: "focus",
|
|
50845
|
+
resource: "time-blocks",
|
|
50846
|
+
action: "bulk-delete",
|
|
50847
|
+
title: "Bulk Delete Time Blocks",
|
|
50848
|
+
description: "Bulk Delete Time Blocks.",
|
|
50849
|
+
safety: "delete",
|
|
50850
|
+
destructive: true,
|
|
50851
|
+
cli: {
|
|
50852
|
+
group: ["time-blocks", "bulk"],
|
|
50853
|
+
command: "delete",
|
|
50854
|
+
interactive: "default"
|
|
50855
|
+
},
|
|
50856
|
+
mcp: { entityTool: "time-blocks" },
|
|
50857
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50858
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50859
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50860
|
+
}),
|
|
50861
|
+
execute: (input, { client }) => {
|
|
50862
|
+
const data = input;
|
|
50863
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
50864
|
+
client.httpClient,
|
|
50865
|
+
client.organizationId,
|
|
50866
|
+
client.workspaceIdNumber,
|
|
50867
|
+
data.ids,
|
|
50868
|
+
data.outbound_sync,
|
|
50869
|
+
void 0
|
|
50870
|
+
]));
|
|
50871
|
+
}
|
|
50872
|
+
},
|
|
50873
|
+
{
|
|
50874
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
50875
|
+
family: "focus",
|
|
50876
|
+
resource: "time-blocks",
|
|
50877
|
+
action: "bulk-partial-update",
|
|
50878
|
+
title: "Bulk Partial Update Time Blocks",
|
|
50879
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
50880
|
+
safety: "update",
|
|
50881
|
+
destructive: false,
|
|
50882
|
+
cli: {
|
|
50883
|
+
group: ["time-blocks", "bulk"],
|
|
50884
|
+
command: "partial-update",
|
|
50885
|
+
interactive: "hidden"
|
|
50886
|
+
},
|
|
50887
|
+
mcp: { entityTool: "time-blocks" },
|
|
50888
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50889
|
+
execute: (input, { client }) => {
|
|
50890
|
+
const data = input;
|
|
50891
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50892
|
+
client.httpClient,
|
|
50893
|
+
client.organizationId,
|
|
50894
|
+
client.workspaceIdNumber,
|
|
50895
|
+
data.payload ?? data.data ?? data,
|
|
50896
|
+
void 0
|
|
50897
|
+
]));
|
|
50898
|
+
}
|
|
50899
|
+
},
|
|
50900
|
+
{
|
|
50901
|
+
id: "focus.time-blocks.create",
|
|
50902
|
+
family: "focus",
|
|
50903
|
+
resource: "time-blocks",
|
|
50904
|
+
action: "create",
|
|
50905
|
+
title: "Create Time Blocks",
|
|
50906
|
+
description: "Create Time Blocks.",
|
|
50907
|
+
safety: "create",
|
|
50908
|
+
destructive: false,
|
|
50909
|
+
cli: {
|
|
50910
|
+
group: ["time-blocks"],
|
|
50911
|
+
command: "create",
|
|
50912
|
+
interactive: "default"
|
|
50913
|
+
},
|
|
50914
|
+
mcp: { entityTool: "time-blocks" },
|
|
50915
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50916
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50917
|
+
start: apiDateTimeString,
|
|
50918
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50919
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50920
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50921
|
+
}),
|
|
50922
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50923
|
+
}),
|
|
50924
|
+
execute: (input, { client }) => {
|
|
50925
|
+
const data = input;
|
|
50926
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50927
|
+
client.httpClient,
|
|
50928
|
+
client.organizationId,
|
|
50929
|
+
client.workspaceIdNumber,
|
|
50930
|
+
data.task_id,
|
|
50931
|
+
data.payload ?? data.data ?? data,
|
|
50932
|
+
void 0
|
|
50933
|
+
]));
|
|
50934
|
+
}
|
|
50935
|
+
},
|
|
50936
|
+
{
|
|
50937
|
+
id: "focus.time-blocks.delete",
|
|
50938
|
+
family: "focus",
|
|
50939
|
+
resource: "time-blocks",
|
|
50940
|
+
action: "delete",
|
|
50941
|
+
title: "Delete Time Blocks",
|
|
50942
|
+
description: "Delete Time Blocks.",
|
|
50943
|
+
safety: "delete",
|
|
50944
|
+
destructive: true,
|
|
50945
|
+
cli: {
|
|
50946
|
+
group: ["time-blocks"],
|
|
50947
|
+
command: "delete",
|
|
50948
|
+
interactive: "default"
|
|
50949
|
+
},
|
|
50950
|
+
mcp: { entityTool: "time-blocks" },
|
|
50951
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50952
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50953
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50954
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50955
|
+
}),
|
|
50956
|
+
execute: (input, { client }) => {
|
|
50957
|
+
const data = input;
|
|
50958
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50959
|
+
client.httpClient,
|
|
50960
|
+
client.organizationId,
|
|
50961
|
+
client.workspaceIdNumber,
|
|
50962
|
+
data.task_id,
|
|
50963
|
+
data.time_block_id,
|
|
50964
|
+
data.outbound_sync,
|
|
50965
|
+
void 0
|
|
50966
|
+
]));
|
|
50967
|
+
}
|
|
50968
|
+
},
|
|
50969
|
+
{
|
|
50970
|
+
id: "focus.time-blocks.get",
|
|
50971
|
+
family: "focus",
|
|
50972
|
+
resource: "time-blocks",
|
|
50973
|
+
action: "get",
|
|
50974
|
+
title: "Get Time Blocks",
|
|
50975
|
+
description: "Get Time Blocks.",
|
|
50976
|
+
safety: "read",
|
|
50977
|
+
destructive: false,
|
|
50978
|
+
cli: {
|
|
50979
|
+
group: ["time-blocks"],
|
|
50980
|
+
command: "get",
|
|
50981
|
+
interactive: "available"
|
|
50982
|
+
},
|
|
50983
|
+
mcp: { entityTool: "time-blocks" },
|
|
50984
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50985
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50986
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50987
|
+
}),
|
|
50988
|
+
execute: (input, { client }) => {
|
|
50989
|
+
const data = input;
|
|
50990
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
50991
|
+
client.httpClient,
|
|
50992
|
+
client.organizationId,
|
|
50993
|
+
client.workspaceIdNumber,
|
|
50994
|
+
data.task_id,
|
|
50995
|
+
data.time_block_id,
|
|
50996
|
+
void 0
|
|
50997
|
+
]));
|
|
50998
|
+
}
|
|
50999
|
+
},
|
|
51000
|
+
{
|
|
51001
|
+
id: "focus.time-blocks.get-range",
|
|
51002
|
+
family: "focus",
|
|
51003
|
+
resource: "time-blocks",
|
|
51004
|
+
action: "get-range",
|
|
51005
|
+
title: "Get Range Time Blocks",
|
|
51006
|
+
description: "Get Range Time Blocks.",
|
|
51007
|
+
safety: "read",
|
|
51008
|
+
destructive: false,
|
|
51009
|
+
cli: {
|
|
51010
|
+
group: ["time-blocks"],
|
|
51011
|
+
command: "get-range",
|
|
51012
|
+
interactive: "hidden"
|
|
51013
|
+
},
|
|
51014
|
+
mcp: { entityTool: "time-blocks" },
|
|
51015
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51016
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51017
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51018
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51019
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51020
|
+
page: /* @__PURE__ */ number$2(),
|
|
51021
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51022
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51023
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51024
|
+
}),
|
|
51025
|
+
execute: (input, { client }) => {
|
|
51026
|
+
const data = input;
|
|
51027
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
51028
|
+
client.httpClient,
|
|
51029
|
+
client.organizationId,
|
|
51030
|
+
client.workspaceIdNumber,
|
|
51031
|
+
data,
|
|
51032
|
+
void 0
|
|
51033
|
+
]));
|
|
51034
|
+
}
|
|
51035
|
+
},
|
|
51036
|
+
{
|
|
51037
|
+
id: "focus.time-blocks.get-range-stream",
|
|
51038
|
+
family: "focus",
|
|
51039
|
+
resource: "time-blocks",
|
|
51040
|
+
action: "get-range-stream",
|
|
51041
|
+
title: "Get Range Stream Time Blocks",
|
|
51042
|
+
description: "Get Range Stream Time Blocks.",
|
|
51043
|
+
safety: "read",
|
|
51044
|
+
destructive: false,
|
|
51045
|
+
cli: {
|
|
51046
|
+
group: ["time-blocks"],
|
|
51047
|
+
command: "get-range-stream",
|
|
51048
|
+
interactive: "hidden"
|
|
51049
|
+
},
|
|
51050
|
+
mcp: { entityTool: "time-blocks" },
|
|
51051
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51052
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51053
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51054
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51055
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51056
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51057
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51058
|
+
}),
|
|
51059
|
+
execute: (input, { client }) => {
|
|
51060
|
+
const data = input;
|
|
51061
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
51062
|
+
client.httpClient,
|
|
51063
|
+
client.organizationId,
|
|
51064
|
+
client.workspaceIdNumber,
|
|
51065
|
+
data,
|
|
51066
|
+
void 0
|
|
51067
|
+
]));
|
|
51068
|
+
}
|
|
51069
|
+
},
|
|
51070
|
+
{
|
|
51071
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
51072
|
+
family: "focus",
|
|
51073
|
+
resource: "time-blocks",
|
|
51074
|
+
action: "get-task-time-blocks",
|
|
51075
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
51076
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
51077
|
+
safety: "read",
|
|
51078
|
+
destructive: false,
|
|
51079
|
+
cli: {
|
|
51080
|
+
group: ["time-blocks"],
|
|
51081
|
+
command: "get-task-time-blocks",
|
|
51082
|
+
interactive: "hidden"
|
|
51083
|
+
},
|
|
51084
|
+
mcp: { entityTool: "time-blocks" },
|
|
51085
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51086
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51087
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51088
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51089
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51090
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51091
|
+
}),
|
|
51092
|
+
execute: (input, { client }) => {
|
|
51093
|
+
const data = input;
|
|
51094
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51095
|
+
client.httpClient,
|
|
51096
|
+
client.organizationId,
|
|
51097
|
+
client.workspaceIdNumber,
|
|
51098
|
+
data.task_id,
|
|
51099
|
+
data,
|
|
51100
|
+
void 0
|
|
51101
|
+
]));
|
|
51102
|
+
}
|
|
51103
|
+
},
|
|
51104
|
+
{
|
|
51105
|
+
id: "focus.time-blocks.partial-update",
|
|
51106
|
+
family: "focus",
|
|
51107
|
+
resource: "time-blocks",
|
|
51108
|
+
action: "partial-update",
|
|
51109
|
+
title: "Partial Update Time Blocks",
|
|
51110
|
+
description: "Partial Update Time Blocks.",
|
|
51111
|
+
safety: "update",
|
|
51112
|
+
destructive: false,
|
|
51113
|
+
cli: {
|
|
51114
|
+
group: ["time-blocks"],
|
|
51115
|
+
command: "partial-update",
|
|
51116
|
+
interactive: "default"
|
|
51117
|
+
},
|
|
51118
|
+
mcp: { entityTool: "time-blocks" },
|
|
51119
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51120
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51121
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51122
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51123
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51124
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51125
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51126
|
+
}),
|
|
51127
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51128
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51129
|
+
}),
|
|
51130
|
+
execute: (input, { client }) => {
|
|
51131
|
+
const data = input;
|
|
51132
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51133
|
+
client.httpClient,
|
|
51134
|
+
client.organizationId,
|
|
51135
|
+
client.workspaceIdNumber,
|
|
51136
|
+
data.task_id,
|
|
51137
|
+
data.time_block_id,
|
|
51138
|
+
data.payload ?? data.data ?? data,
|
|
51139
|
+
void 0
|
|
51140
|
+
]));
|
|
51141
|
+
}
|
|
51142
|
+
},
|
|
51143
|
+
{
|
|
51144
|
+
id: "focus.time-blocks.restore",
|
|
51145
|
+
family: "focus",
|
|
51146
|
+
resource: "time-blocks",
|
|
51147
|
+
action: "restore",
|
|
51148
|
+
title: "Restore Time Blocks",
|
|
51149
|
+
description: "Restore Time Blocks.",
|
|
51150
|
+
safety: "update",
|
|
51151
|
+
destructive: false,
|
|
51152
|
+
cli: {
|
|
51153
|
+
group: ["time-blocks"],
|
|
51154
|
+
command: "restore",
|
|
51155
|
+
interactive: "default"
|
|
51156
|
+
},
|
|
51157
|
+
mcp: { entityTool: "time-blocks" },
|
|
51158
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51159
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51160
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51161
|
+
}),
|
|
51162
|
+
execute: (input, { client }) => {
|
|
51163
|
+
const data = input;
|
|
51164
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51165
|
+
client.httpClient,
|
|
51166
|
+
client.organizationId,
|
|
51167
|
+
client.workspaceIdNumber,
|
|
51168
|
+
data.task_id,
|
|
51169
|
+
data.time_block_id,
|
|
51170
|
+
void 0
|
|
51171
|
+
]));
|
|
51172
|
+
}
|
|
51173
|
+
},
|
|
51174
|
+
{
|
|
51175
|
+
id: "focus.time-blocks.unarchive",
|
|
51176
|
+
family: "focus",
|
|
51177
|
+
resource: "time-blocks",
|
|
51178
|
+
action: "unarchive",
|
|
51179
|
+
title: "Unarchive Time Blocks",
|
|
51180
|
+
description: "Unarchive Time Blocks.",
|
|
51181
|
+
safety: "update",
|
|
51182
|
+
destructive: false,
|
|
51183
|
+
cli: {
|
|
51184
|
+
group: ["time-blocks"],
|
|
51185
|
+
command: "unarchive",
|
|
51186
|
+
interactive: "default"
|
|
51187
|
+
},
|
|
51188
|
+
mcp: { entityTool: "time-blocks" },
|
|
51189
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51190
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51191
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51192
|
+
}),
|
|
51193
|
+
execute: (input, { client }) => {
|
|
51194
|
+
const data = input;
|
|
51195
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51608
51196
|
client.httpClient,
|
|
51609
51197
|
client.organizationId,
|
|
51610
51198
|
client.workspaceIdNumber,
|
|
51611
51199
|
data.task_id,
|
|
51612
|
-
data.
|
|
51200
|
+
data.time_block_id,
|
|
51613
51201
|
void 0
|
|
51614
51202
|
]));
|
|
51615
51203
|
}
|
|
51616
51204
|
},
|
|
51617
51205
|
{
|
|
51618
|
-
id: "focus.
|
|
51206
|
+
id: "focus.time-blocks.update",
|
|
51619
51207
|
family: "focus",
|
|
51620
|
-
resource: "
|
|
51621
|
-
action: "update
|
|
51622
|
-
title: "Update
|
|
51623
|
-
description: "Update
|
|
51208
|
+
resource: "time-blocks",
|
|
51209
|
+
action: "update",
|
|
51210
|
+
title: "Update Time Blocks",
|
|
51211
|
+
description: "Update Time Blocks.",
|
|
51624
51212
|
safety: "update",
|
|
51625
51213
|
destructive: false,
|
|
51626
51214
|
cli: {
|
|
51627
|
-
group: ["
|
|
51628
|
-
command: "update
|
|
51215
|
+
group: ["time-blocks"],
|
|
51216
|
+
command: "update",
|
|
51629
51217
|
interactive: "default"
|
|
51630
51218
|
},
|
|
51631
|
-
mcp: { entityTool: "
|
|
51219
|
+
mcp: { entityTool: "time-blocks" },
|
|
51632
51220
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51633
|
-
|
|
51634
|
-
|
|
51635
|
-
|
|
51221
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51222
|
+
start: apiDateTimeString,
|
|
51223
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51224
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51225
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51226
|
+
}),
|
|
51227
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51228
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51636
51229
|
}),
|
|
51637
51230
|
execute: (input, { client }) => {
|
|
51638
51231
|
const data = input;
|
|
51639
|
-
return client.runGeneratedRequest("
|
|
51232
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51640
51233
|
client.httpClient,
|
|
51641
51234
|
client.organizationId,
|
|
51642
51235
|
client.workspaceIdNumber,
|
|
51643
|
-
data.
|
|
51644
|
-
data.
|
|
51645
|
-
data.
|
|
51236
|
+
data.task_id,
|
|
51237
|
+
data.time_block_id,
|
|
51238
|
+
data.payload ?? data.data ?? data,
|
|
51646
51239
|
void 0
|
|
51647
51240
|
]));
|
|
51648
51241
|
}
|
|
@@ -51862,8 +51455,7 @@ const generatedFocusOperations = [
|
|
|
51862
51455
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51863
51456
|
"project",
|
|
51864
51457
|
"task",
|
|
51865
|
-
"description"
|
|
51866
|
-
"tags"
|
|
51458
|
+
"description"
|
|
51867
51459
|
]) })),
|
|
51868
51460
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51869
51461
|
}) }),
|
|
@@ -51893,7 +51485,6 @@ const generatedFocusOperations = [
|
|
|
51893
51485
|
},
|
|
51894
51486
|
mcp: { entityTool: "time-entries" },
|
|
51895
51487
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51896
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51897
51488
|
payload: /* @__PURE__ */ looseObject({
|
|
51898
51489
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51899
51490
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51904,12 +51495,11 @@ const generatedFocusOperations = [
|
|
|
51904
51495
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51905
51496
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51906
51497
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51907
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51908
51498
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51499
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51909
51500
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51910
51501
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51911
51502
|
}),
|
|
51912
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51913
51503
|
task_id: /* @__PURE__ */ number$2()
|
|
51914
51504
|
}),
|
|
51915
51505
|
execute: (input, { client }) => {
|
|
@@ -51920,8 +51510,6 @@ const generatedFocusOperations = [
|
|
|
51920
51510
|
client.workspaceIdNumber,
|
|
51921
51511
|
data.task_id,
|
|
51922
51512
|
data.payload ?? data.data ?? data,
|
|
51923
|
-
data.from_recurring_task_id,
|
|
51924
|
-
data.return_occurrence,
|
|
51925
51513
|
void 0
|
|
51926
51514
|
]));
|
|
51927
51515
|
}
|
|
@@ -51941,25 +51529,21 @@ const generatedFocusOperations = [
|
|
|
51941
51529
|
interactive: "default"
|
|
51942
51530
|
},
|
|
51943
51531
|
mcp: { entityTool: "time-entries" },
|
|
51944
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51945
|
-
|
|
51946
|
-
|
|
51947
|
-
|
|
51948
|
-
|
|
51949
|
-
|
|
51950
|
-
|
|
51951
|
-
|
|
51952
|
-
|
|
51953
|
-
|
|
51954
|
-
|
|
51955
|
-
|
|
51956
|
-
|
|
51957
|
-
|
|
51958
|
-
|
|
51959
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51960
|
-
}),
|
|
51961
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51962
|
-
}),
|
|
51532
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51533
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51534
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51535
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51536
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51537
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51538
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51539
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51540
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51541
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51542
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51543
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51544
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51545
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51546
|
+
}) }),
|
|
51963
51547
|
execute: (input, { client }) => {
|
|
51964
51548
|
const data = input;
|
|
51965
51549
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51967,8 +51551,6 @@ const generatedFocusOperations = [
|
|
|
51967
51551
|
client.organizationId,
|
|
51968
51552
|
client.workspaceIdNumber,
|
|
51969
51553
|
data.payload ?? data.data ?? data,
|
|
51970
|
-
data.from_recurring_task_id,
|
|
51971
|
-
data.return_occurrence,
|
|
51972
51554
|
void 0
|
|
51973
51555
|
]));
|
|
51974
51556
|
}
|
|
@@ -51988,11 +51570,7 @@ const generatedFocusOperations = [
|
|
|
51988
51570
|
interactive: "default"
|
|
51989
51571
|
},
|
|
51990
51572
|
mcp: { entityTool: "time-entries" },
|
|
51991
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51992
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51993
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51994
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
51995
|
-
}),
|
|
51573
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51996
51574
|
execute: (input, { client }) => {
|
|
51997
51575
|
const data = input;
|
|
51998
51576
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -52000,8 +51578,6 @@ const generatedFocusOperations = [
|
|
|
52000
51578
|
client.organizationId,
|
|
52001
51579
|
client.workspaceIdNumber,
|
|
52002
51580
|
data.time_entry_id,
|
|
52003
|
-
data.from_recurring_task_id,
|
|
52004
|
-
data.return_occurrence,
|
|
52005
51581
|
void 0
|
|
52006
51582
|
]));
|
|
52007
51583
|
}
|
|
@@ -52082,7 +51658,6 @@ const generatedFocusOperations = [
|
|
|
52082
51658
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
52083
51659
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
52084
51660
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52085
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
52086
51661
|
status_id: /* @__PURE__ */ number$2(),
|
|
52087
51662
|
task_id: /* @__PURE__ */ number$2(),
|
|
52088
51663
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52098,6 +51673,33 @@ const generatedFocusOperations = [
|
|
|
52098
51673
|
]));
|
|
52099
51674
|
}
|
|
52100
51675
|
},
|
|
51676
|
+
{
|
|
51677
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51678
|
+
family: "focus",
|
|
51679
|
+
resource: "time-entries",
|
|
51680
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
51681
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51682
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51683
|
+
safety: "read",
|
|
51684
|
+
destructive: false,
|
|
51685
|
+
cli: {
|
|
51686
|
+
group: ["time-entries"],
|
|
51687
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
51688
|
+
interactive: "available"
|
|
51689
|
+
},
|
|
51690
|
+
mcp: { entityTool: "time-entries" },
|
|
51691
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51692
|
+
execute: (input, { client }) => {
|
|
51693
|
+
const data = input;
|
|
51694
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51695
|
+
client.httpClient,
|
|
51696
|
+
client.organizationId,
|
|
51697
|
+
client.workspaceIdNumber,
|
|
51698
|
+
data,
|
|
51699
|
+
void 0
|
|
51700
|
+
]));
|
|
51701
|
+
}
|
|
51702
|
+
},
|
|
52101
51703
|
{
|
|
52102
51704
|
id: "focus.time-entries.get-task-time-entries",
|
|
52103
51705
|
family: "focus",
|
|
@@ -52119,6 +51721,7 @@ const generatedFocusOperations = [
|
|
|
52119
51721
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
51722
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52121
51723
|
task_id: /* @__PURE__ */ number$2(),
|
|
51724
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52122
51725
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
52123
51726
|
}),
|
|
52124
51727
|
execute: (input, { client }) => {
|
|
@@ -52231,14 +51834,12 @@ const generatedFocusOperations = [
|
|
|
52231
51834
|
},
|
|
52232
51835
|
mcp: { entityTool: "time-entries" },
|
|
52233
51836
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52234
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52235
51837
|
payload: /* @__PURE__ */ looseObject({
|
|
52236
51838
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52237
51839
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52238
51840
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52239
51841
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52240
51842
|
}),
|
|
52241
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52242
51843
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52243
51844
|
}),
|
|
52244
51845
|
execute: (input, { client }) => {
|
|
@@ -52249,8 +51850,6 @@ const generatedFocusOperations = [
|
|
|
52249
51850
|
client.workspaceIdNumber,
|
|
52250
51851
|
data.time_entry_id,
|
|
52251
51852
|
data.payload ?? data.data ?? data,
|
|
52252
|
-
data.from_recurring_task_id,
|
|
52253
|
-
data.return_occurrence,
|
|
52254
51853
|
void 0
|
|
52255
51854
|
]));
|
|
52256
51855
|
}
|
|
@@ -52508,7 +52107,6 @@ const generatedFocusOperations = [
|
|
|
52508
52107
|
},
|
|
52509
52108
|
mcp: { entityTool: "time-entries" },
|
|
52510
52109
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52511
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52512
52110
|
payload: /* @__PURE__ */ looseObject({
|
|
52513
52111
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52514
52112
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52518,9 +52116,9 @@ const generatedFocusOperations = [
|
|
|
52518
52116
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52519
52117
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52520
52118
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52119
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52521
52120
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52522
52121
|
}),
|
|
52523
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52524
52122
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52525
52123
|
}),
|
|
52526
52124
|
execute: (input, { client }) => {
|
|
@@ -52531,8 +52129,6 @@ const generatedFocusOperations = [
|
|
|
52531
52129
|
client.workspaceIdNumber,
|
|
52532
52130
|
data.time_entry_id,
|
|
52533
52131
|
data.payload ?? data.data ?? data,
|
|
52534
|
-
data.from_recurring_task_id,
|
|
52535
|
-
data.return_occurrence,
|
|
52536
52132
|
void 0
|
|
52537
52133
|
]));
|
|
52538
52134
|
}
|
|
@@ -52597,118 +52193,6 @@ const generatedFocusOperations = [
|
|
|
52597
52193
|
]));
|
|
52598
52194
|
}
|
|
52599
52195
|
},
|
|
52600
|
-
{
|
|
52601
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52602
|
-
family: "focus",
|
|
52603
|
-
resource: "time-off",
|
|
52604
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
52605
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52606
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52607
|
-
safety: "read",
|
|
52608
|
-
destructive: false,
|
|
52609
|
-
cli: {
|
|
52610
|
-
group: ["time-off"],
|
|
52611
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
52612
|
-
interactive: "hidden"
|
|
52613
|
-
},
|
|
52614
|
-
mcp: { entityTool: "time-off" },
|
|
52615
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52616
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
52617
|
-
page: /* @__PURE__ */ number$2(),
|
|
52618
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
52619
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
52620
|
-
year: /* @__PURE__ */ unknown$1()
|
|
52621
|
-
}),
|
|
52622
|
-
execute: (input, { client }) => {
|
|
52623
|
-
const data = input;
|
|
52624
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52625
|
-
client.httpClient,
|
|
52626
|
-
client.organizationId,
|
|
52627
|
-
data.user_id,
|
|
52628
|
-
data,
|
|
52629
|
-
void 0
|
|
52630
|
-
]));
|
|
52631
|
-
}
|
|
52632
|
-
},
|
|
52633
|
-
{
|
|
52634
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52635
|
-
family: "focus",
|
|
52636
|
-
resource: "time-off",
|
|
52637
|
-
action: "get-timeoff-balances-for-user",
|
|
52638
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
52639
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
52640
|
-
safety: "read",
|
|
52641
|
-
destructive: false,
|
|
52642
|
-
cli: {
|
|
52643
|
-
group: ["time-off"],
|
|
52644
|
-
command: "get-timeoff-balances-for-user",
|
|
52645
|
-
interactive: "available"
|
|
52646
|
-
},
|
|
52647
|
-
mcp: { entityTool: "time-off" },
|
|
52648
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52649
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52650
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52651
|
-
user_id: /* @__PURE__ */ number$2()
|
|
52652
|
-
}),
|
|
52653
|
-
execute: (input, { client }) => {
|
|
52654
|
-
const data = input;
|
|
52655
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52656
|
-
client.httpClient,
|
|
52657
|
-
client.organizationId,
|
|
52658
|
-
data.user_id,
|
|
52659
|
-
data,
|
|
52660
|
-
void 0
|
|
52661
|
-
]));
|
|
52662
|
-
}
|
|
52663
|
-
},
|
|
52664
|
-
{
|
|
52665
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
52666
|
-
family: "focus",
|
|
52667
|
-
resource: "time-off",
|
|
52668
|
-
action: "get-timeoff-categories",
|
|
52669
|
-
title: "Get Timeoff Categories Time Off",
|
|
52670
|
-
description: "Get Timeoff Categories Time Off.",
|
|
52671
|
-
safety: "read",
|
|
52672
|
-
destructive: false,
|
|
52673
|
-
cli: {
|
|
52674
|
-
group: ["time-off"],
|
|
52675
|
-
command: "get-timeoff-categories",
|
|
52676
|
-
interactive: "hidden"
|
|
52677
|
-
},
|
|
52678
|
-
mcp: { entityTool: "time-off" },
|
|
52679
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52680
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52681
|
-
client.httpClient,
|
|
52682
|
-
client.organizationId,
|
|
52683
|
-
void 0
|
|
52684
|
-
]))
|
|
52685
|
-
},
|
|
52686
|
-
{
|
|
52687
|
-
id: "focus.time-off.get-timeoff-category",
|
|
52688
|
-
family: "focus",
|
|
52689
|
-
resource: "time-off",
|
|
52690
|
-
action: "get-timeoff-category",
|
|
52691
|
-
title: "Get Timeoff Category Time Off",
|
|
52692
|
-
description: "Get Timeoff Category Time Off.",
|
|
52693
|
-
safety: "read",
|
|
52694
|
-
destructive: false,
|
|
52695
|
-
cli: {
|
|
52696
|
-
group: ["time-off"],
|
|
52697
|
-
command: "get-timeoff-category",
|
|
52698
|
-
interactive: "available"
|
|
52699
|
-
},
|
|
52700
|
-
mcp: { entityTool: "time-off" },
|
|
52701
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52702
|
-
execute: (input, { client }) => {
|
|
52703
|
-
const data = input;
|
|
52704
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52705
|
-
client.httpClient,
|
|
52706
|
-
client.organizationId,
|
|
52707
|
-
data.category_id,
|
|
52708
|
-
void 0
|
|
52709
|
-
]));
|
|
52710
|
-
}
|
|
52711
|
-
},
|
|
52712
52196
|
{
|
|
52713
52197
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52714
52198
|
family: "focus",
|
|
@@ -53160,40 +52644,6 @@ const generatedFocusOperations = [
|
|
|
53160
52644
|
]));
|
|
53161
52645
|
}
|
|
53162
52646
|
},
|
|
53163
|
-
{
|
|
53164
|
-
id: "focus.timesheets.get-status-counts",
|
|
53165
|
-
family: "focus",
|
|
53166
|
-
resource: "timesheets",
|
|
53167
|
-
action: "get-status-counts",
|
|
53168
|
-
title: "Get Status Counts Timesheets",
|
|
53169
|
-
description: "Get Status Counts Timesheets.",
|
|
53170
|
-
safety: "read",
|
|
53171
|
-
destructive: false,
|
|
53172
|
-
cli: {
|
|
53173
|
-
group: ["timesheets"],
|
|
53174
|
-
command: "get-status-counts",
|
|
53175
|
-
interactive: "hidden"
|
|
53176
|
-
},
|
|
53177
|
-
mcp: { entityTool: "timesheets" },
|
|
53178
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
53179
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
53180
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
53181
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
53182
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
53183
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
53184
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
53185
|
-
}),
|
|
53186
|
-
execute: (input, { client }) => {
|
|
53187
|
-
const data = input;
|
|
53188
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
53189
|
-
client.httpClient,
|
|
53190
|
-
client.organizationId,
|
|
53191
|
-
client.workspaceIdNumber,
|
|
53192
|
-
data,
|
|
53193
|
-
void 0
|
|
53194
|
-
]));
|
|
53195
|
-
}
|
|
53196
|
-
},
|
|
53197
52647
|
{
|
|
53198
52648
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
53199
52649
|
family: "focus",
|
|
@@ -53743,33 +53193,6 @@ const generatedFocusOperations = [
|
|
|
53743
53193
|
]));
|
|
53744
53194
|
}
|
|
53745
53195
|
},
|
|
53746
|
-
{
|
|
53747
|
-
id: "focus.track-team-invites.post",
|
|
53748
|
-
family: "focus",
|
|
53749
|
-
resource: "track-team-invites",
|
|
53750
|
-
action: "post",
|
|
53751
|
-
title: "Post Track Team Invites",
|
|
53752
|
-
description: "Post Track Team Invites.",
|
|
53753
|
-
safety: "create",
|
|
53754
|
-
destructive: false,
|
|
53755
|
-
cli: {
|
|
53756
|
-
group: ["track-team-invites"],
|
|
53757
|
-
command: "post",
|
|
53758
|
-
interactive: "default"
|
|
53759
|
-
},
|
|
53760
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53761
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53762
|
-
execute: (input, { client }) => {
|
|
53763
|
-
const data = input;
|
|
53764
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53765
|
-
client.httpClient,
|
|
53766
|
-
client.organizationId,
|
|
53767
|
-
client.workspaceIdNumber,
|
|
53768
|
-
data.payload ?? data.data ?? data,
|
|
53769
|
-
void 0
|
|
53770
|
-
]));
|
|
53771
|
-
}
|
|
53772
|
-
},
|
|
53773
53196
|
{
|
|
53774
53197
|
id: "focus.users.list",
|
|
53775
53198
|
family: "focus",
|
|
@@ -53791,56 +53214,6 @@ const generatedFocusOperations = [
|
|
|
53791
53214
|
return client.listOrgUsers(data);
|
|
53792
53215
|
}
|
|
53793
53216
|
},
|
|
53794
|
-
{
|
|
53795
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53796
|
-
family: "focus",
|
|
53797
|
-
resource: "users",
|
|
53798
|
-
action: "settings-email-unsubscribe",
|
|
53799
|
-
title: "Settings Email Unsubscribe Users",
|
|
53800
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53801
|
-
safety: "update",
|
|
53802
|
-
destructive: false,
|
|
53803
|
-
cli: {
|
|
53804
|
-
group: ["users", "settings"],
|
|
53805
|
-
command: "email-unsubscribe",
|
|
53806
|
-
interactive: "default"
|
|
53807
|
-
},
|
|
53808
|
-
mcp: { entityTool: "users" },
|
|
53809
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53810
|
-
execute: (input, { client }) => {
|
|
53811
|
-
const data = input;
|
|
53812
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53813
|
-
client.httpClient,
|
|
53814
|
-
data.token,
|
|
53815
|
-
void 0
|
|
53816
|
-
]));
|
|
53817
|
-
}
|
|
53818
|
-
},
|
|
53819
|
-
{
|
|
53820
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53821
|
-
family: "focus",
|
|
53822
|
-
resource: "users",
|
|
53823
|
-
action: "settings-email-unsubscribe-page",
|
|
53824
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53825
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53826
|
-
safety: "read",
|
|
53827
|
-
destructive: false,
|
|
53828
|
-
cli: {
|
|
53829
|
-
group: ["users", "settings"],
|
|
53830
|
-
command: "email-unsubscribe-page",
|
|
53831
|
-
interactive: "available"
|
|
53832
|
-
},
|
|
53833
|
-
mcp: { entityTool: "users" },
|
|
53834
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53835
|
-
execute: (input, { client }) => {
|
|
53836
|
-
const data = input;
|
|
53837
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53838
|
-
client.httpClient,
|
|
53839
|
-
data.token,
|
|
53840
|
-
void 0
|
|
53841
|
-
]));
|
|
53842
|
-
}
|
|
53843
|
-
},
|
|
53844
53217
|
{
|
|
53845
53218
|
id: "focus.users.settings-list",
|
|
53846
53219
|
family: "focus",
|
|
@@ -53902,9 +53275,6 @@ const generatedFocusOperations = [
|
|
|
53902
53275
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53903
53276
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53904
53277
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53905
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53906
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53907
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53908
53278
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53909
53279
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53910
53280
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -55447,7 +54817,7 @@ function registerWorkspaceTools(server) {
|
|
|
55447
54817
|
//#region src/package-version.ts
|
|
55448
54818
|
function mcpPackageVersion() {
|
|
55449
54819
|
try {
|
|
55450
|
-
return "1.11.
|
|
54820
|
+
return "1.11.89";
|
|
55451
54821
|
} catch {
|
|
55452
54822
|
return "unknown";
|
|
55453
54823
|
}
|
|
@@ -55622,7 +54992,7 @@ import_main.default.config({
|
|
|
55622
54992
|
quiet: true,
|
|
55623
54993
|
ignore: ["MISSING_ENV_FILE"]
|
|
55624
54994
|
});
|
|
55625
|
-
const packageVersion = "1.11.
|
|
54995
|
+
const packageVersion = "1.11.89";
|
|
55626
54996
|
function resolvePublicUrls() {
|
|
55627
54997
|
return {
|
|
55628
54998
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55687,4 +55057,4 @@ function bootstrapServer(options = {}) {
|
|
|
55687
55057
|
//#endregion
|
|
55688
55058
|
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 };
|
|
55689
55059
|
|
|
55690
|
-
//# sourceMappingURL=src-
|
|
55060
|
+
//# sourceMappingURL=src-BnE8Y1Wl.js.map
|