@togglhq/mcp 1.11.85 → 1.11.87
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-agsn6rdZ.js → src-BJpbMA5N.js} +1428 -798
- package/package.json +1 -1
|
@@ -34663,6 +34663,7 @@ 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()),
|
|
34666
34667
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34667
34668
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34668
34669
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34749,6 +34750,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34749
34750
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34750
34751
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34751
34752
|
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."))),
|
|
34752
34754
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34753
34755
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34754
34756
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34810,6 +34812,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34810
34812
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34811
34813
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34812
34814
|
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."))),
|
|
34813
34816
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34814
34817
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34815
34818
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34970,6 +34973,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34970
34973
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34971
34974
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34972
34975
|
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."))),
|
|
34973
34978
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34974
34979
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34975
34980
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35055,8 +35060,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35055
35060
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35056
35061
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35057
35062
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35063
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35058
35064
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35059
35065
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35066
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35060
35067
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35061
35068
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35062
35069
|
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)."))),
|
|
@@ -35112,6 +35119,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35112
35119
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35113
35120
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35114
35121
|
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."))),
|
|
35115
35124
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35116
35125
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35117
35126
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35284,8 +35293,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35284
35293
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35285
35294
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35286
35295
|
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()),
|
|
35289
35296
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35290
35297
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35291
35298
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35342,6 +35349,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35342
35349
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35343
35350
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35344
35351
|
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."))),
|
|
35345
35353
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35346
35354
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35347
35355
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35378,6 +35386,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35378
35386
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35379
35387
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35380
35388
|
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."))),
|
|
35381
35390
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35382
35391
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35383
35392
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35398,7 +35407,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35398
35407
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35399
35408
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35400
35409
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35401
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35402
35410
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35403
35411
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35404
35412
|
});
|
|
@@ -35427,8 +35435,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35427
35435
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35428
35436
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35429
35437
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35430
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35431
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35438
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35432
35439
|
});
|
|
35433
35440
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35434
35441
|
//#endregion
|
|
@@ -37302,7 +37309,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37302
37309
|
})
|
|
37303
37310
|
}).json();
|
|
37304
37311
|
}
|
|
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) {
|
|
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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37306
37313
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37307
37314
|
signal,
|
|
37308
37315
|
searchParams: buildSearchParams$2({
|
|
@@ -37323,6 +37330,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37323
37330
|
include_rates,
|
|
37324
37331
|
pinned_ids,
|
|
37325
37332
|
has_group,
|
|
37333
|
+
track_without_focus,
|
|
37326
37334
|
cf_filter,
|
|
37327
37335
|
include_custom_fields,
|
|
37328
37336
|
include_calendar_integration
|
|
@@ -37424,10 +37432,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37424
37432
|
}
|
|
37425
37433
|
//#endregion
|
|
37426
37434
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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) {
|
|
37435
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37428
37436
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37429
37437
|
signal,
|
|
37430
37438
|
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,
|
|
37431
37449
|
page,
|
|
37432
37450
|
per_page,
|
|
37433
37451
|
order_by,
|
|
@@ -37677,7 +37695,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37677
37695
|
}
|
|
37678
37696
|
//#endregion
|
|
37679
37697
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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,
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37681
37699
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37682
37700
|
signal,
|
|
37683
37701
|
searchParams: buildSearchParams$2({
|
|
@@ -37690,7 +37708,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37690
37708
|
toggl_user_id,
|
|
37691
37709
|
name,
|
|
37692
37710
|
has_time_entries,
|
|
37693
|
-
has_time_blocks,
|
|
37694
37711
|
has_dates,
|
|
37695
37712
|
private: private_,
|
|
37696
37713
|
archived,
|
|
@@ -37713,10 +37730,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37713
37730
|
priority,
|
|
37714
37731
|
is_priority,
|
|
37715
37732
|
state,
|
|
37716
|
-
timeblock_start_from,
|
|
37717
|
-
timeblock_start_until,
|
|
37718
|
-
time_block_id,
|
|
37719
|
-
time_block_completed,
|
|
37720
37733
|
team_id,
|
|
37721
37734
|
assignee_team_id,
|
|
37722
37735
|
assignee_user_id,
|
|
@@ -37728,7 +37741,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37728
37741
|
include_assignees,
|
|
37729
37742
|
include_parent_matches,
|
|
37730
37743
|
disable_aggregations,
|
|
37731
|
-
cf_filter
|
|
37744
|
+
cf_filter,
|
|
37745
|
+
recurring_occurrences_after,
|
|
37746
|
+
max_recurring_occurrences_after,
|
|
37747
|
+
recurring_task_read,
|
|
37748
|
+
include_projected_occurrences
|
|
37732
37749
|
})
|
|
37733
37750
|
}).json();
|
|
37734
37751
|
}
|
|
@@ -37803,16 +37820,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37803
37820
|
})
|
|
37804
37821
|
}).json();
|
|
37805
37822
|
}
|
|
37806
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37823
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37807
37824
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37808
37825
|
signal,
|
|
37809
37826
|
searchParams: buildSearchParams$2({
|
|
37810
37827
|
date_from,
|
|
37811
|
-
date_to
|
|
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
|
|
37812
37859
|
})
|
|
37813
37860
|
}).json();
|
|
37814
37861
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37816
37863
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37817
37864
|
signal,
|
|
37818
37865
|
searchParams: buildSearchParams$2({
|
|
@@ -37828,11 +37875,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37828
37875
|
assignee_team_id,
|
|
37829
37876
|
assignee_user_id,
|
|
37830
37877
|
tag_id,
|
|
37831
|
-
include_assignees
|
|
37878
|
+
include_assignees,
|
|
37879
|
+
recurring_occurrences_after,
|
|
37880
|
+
max_recurring_occurrences_after,
|
|
37881
|
+
recurring_task_read,
|
|
37882
|
+
include_projected_occurrences
|
|
37832
37883
|
})
|
|
37833
37884
|
}).json();
|
|
37834
37885
|
}
|
|
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,
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37836
37887
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37837
37888
|
signal,
|
|
37838
37889
|
searchParams: buildSearchParams$2({
|
|
@@ -37844,7 +37895,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37844
37895
|
name,
|
|
37845
37896
|
include_parent_matches,
|
|
37846
37897
|
has_time_entries,
|
|
37847
|
-
has_time_blocks,
|
|
37848
37898
|
has_dates,
|
|
37849
37899
|
private: private_,
|
|
37850
37900
|
archived,
|
|
@@ -37867,8 +37917,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37867
37917
|
priority,
|
|
37868
37918
|
is_priority,
|
|
37869
37919
|
state,
|
|
37870
|
-
time_block_id,
|
|
37871
|
-
time_block_completed,
|
|
37872
37920
|
team_id,
|
|
37873
37921
|
assignee_team_id,
|
|
37874
37922
|
assignee_user_id,
|
|
@@ -37877,7 +37925,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37877
37925
|
recurring_task_ids,
|
|
37878
37926
|
client_id,
|
|
37879
37927
|
include_assignees,
|
|
37880
|
-
cf_filter
|
|
37928
|
+
cf_filter,
|
|
37929
|
+
recurring_occurrences_after,
|
|
37930
|
+
max_recurring_occurrences_after,
|
|
37931
|
+
recurring_task_read,
|
|
37932
|
+
include_projected_occurrences
|
|
37881
37933
|
})
|
|
37882
37934
|
}).json();
|
|
37883
37935
|
}
|
|
@@ -37932,6 +37984,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37932
37984
|
})
|
|
37933
37985
|
}).json();
|
|
37934
37986
|
}
|
|
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
|
+
}
|
|
37935
37993
|
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) {
|
|
37936
37994
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37937
37995
|
signal,
|
|
@@ -37957,7 +38015,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
37957
38015
|
}
|
|
37958
38016
|
//#endregion
|
|
37959
38017
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
37960
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
38018
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37961
38019
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37962
38020
|
signal,
|
|
37963
38021
|
searchParams: buildSearchParams$2({
|
|
@@ -37965,21 +38023,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
37965
38023
|
per_page,
|
|
37966
38024
|
order_by,
|
|
37967
38025
|
type,
|
|
37968
|
-
archived
|
|
37969
|
-
time_block_id
|
|
38026
|
+
archived
|
|
37970
38027
|
})
|
|
37971
38028
|
}).json();
|
|
37972
38029
|
}
|
|
37973
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38030
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37974
38031
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37975
38032
|
signal,
|
|
37976
|
-
json: data
|
|
38033
|
+
json: data,
|
|
38034
|
+
searchParams: buildSearchParams$2({
|
|
38035
|
+
from_recurring_task_id,
|
|
38036
|
+
return_occurrence
|
|
38037
|
+
})
|
|
37977
38038
|
}).json();
|
|
37978
38039
|
}
|
|
37979
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38040
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37980
38041
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
37981
38042
|
signal,
|
|
37982
|
-
json: data
|
|
38043
|
+
json: data,
|
|
38044
|
+
searchParams: buildSearchParams$2({
|
|
38045
|
+
from_recurring_task_id,
|
|
38046
|
+
return_occurrence
|
|
38047
|
+
})
|
|
37983
38048
|
}).json();
|
|
37984
38049
|
}
|
|
37985
38050
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38030,7 +38095,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38030
38095
|
json: data
|
|
38031
38096
|
}).json();
|
|
38032
38097
|
}
|
|
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) {
|
|
38098
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38034
38099
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38035
38100
|
signal,
|
|
38036
38101
|
searchParams: buildSearchParams$2({
|
|
@@ -38038,6 +38103,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38038
38103
|
date_to,
|
|
38039
38104
|
task_id,
|
|
38040
38105
|
status_id,
|
|
38106
|
+
project_id,
|
|
38041
38107
|
type,
|
|
38042
38108
|
order_by,
|
|
38043
38109
|
archived,
|
|
@@ -38052,28 +38118,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38052
38118
|
json: data
|
|
38053
38119
|
}).json();
|
|
38054
38120
|
}
|
|
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
|
-
}
|
|
38061
38121
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38062
38122
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38063
38123
|
}
|
|
38064
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38124
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38065
38125
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38066
38126
|
signal,
|
|
38067
|
-
json: data
|
|
38127
|
+
json: data,
|
|
38128
|
+
searchParams: buildSearchParams$2({
|
|
38129
|
+
from_recurring_task_id,
|
|
38130
|
+
return_occurrence
|
|
38131
|
+
})
|
|
38068
38132
|
}).json();
|
|
38069
38133
|
}
|
|
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}`, {
|
|
38134
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
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();
|
|
38072
38142
|
}
|
|
38073
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38143
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38074
38144
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38075
38145
|
signal,
|
|
38076
|
-
json: data
|
|
38146
|
+
json: data,
|
|
38147
|
+
searchParams: buildSearchParams$2({
|
|
38148
|
+
from_recurring_task_id,
|
|
38149
|
+
return_occurrence
|
|
38150
|
+
})
|
|
38077
38151
|
}).json();
|
|
38078
38152
|
}
|
|
38079
38153
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38188,7 +38262,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38188
38262
|
]))
|
|
38189
38263
|
});
|
|
38190
38264
|
//#endregion
|
|
38191
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38192
38266
|
async function getInvitations(httpClient, signal) {
|
|
38193
38267
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38194
38268
|
}
|
|
@@ -38205,7 +38279,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38205
38279
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38206
38280
|
}
|
|
38207
38281
|
//#endregion
|
|
38208
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38282
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38209
38283
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38210
38284
|
const searchParams = new URLSearchParams();
|
|
38211
38285
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38217,7 +38291,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38217
38291
|
return searchParams;
|
|
38218
38292
|
}
|
|
38219
38293
|
//#endregion
|
|
38220
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38294
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38221
38295
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38222
38296
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38223
38297
|
}
|
|
@@ -38231,7 +38305,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38231
38305
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38232
38306
|
}
|
|
38233
38307
|
//#endregion
|
|
38234
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38308
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38235
38309
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38236
38310
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38237
38311
|
}
|
|
@@ -38251,7 +38325,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38251
38325
|
});
|
|
38252
38326
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38253
38327
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38328
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38255
38329
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38256
38330
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38257
38331
|
signal,
|
|
@@ -38262,12 +38336,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38262
38336
|
})).json();
|
|
38263
38337
|
}
|
|
38264
38338
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38339
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38266
38340
|
async function getStatus(httpClient, signal) {
|
|
38267
38341
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38268
38342
|
}
|
|
38269
38343
|
//#endregion
|
|
38270
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38344
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38271
38345
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38272
38346
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38273
38347
|
signal,
|
|
@@ -38295,7 +38369,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38295
38369
|
return response.json();
|
|
38296
38370
|
}
|
|
38297
38371
|
//#endregion
|
|
38298
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38372
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.88_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_7700fb0907da30fddd69f8a9c0218b42/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38299
38373
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38300
38374
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38301
38375
|
}
|
|
@@ -41899,13 +41973,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41899
41973
|
}
|
|
41900
41974
|
//#endregion
|
|
41901
41975
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
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) {
|
|
41976
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41903
41977
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41904
41978
|
signal,
|
|
41905
41979
|
searchParams: buildSearchParams$2({
|
|
41906
41980
|
workspace_id,
|
|
41907
41981
|
entity_type,
|
|
41908
41982
|
entity_id,
|
|
41983
|
+
project_id,
|
|
41984
|
+
custom_field_id,
|
|
41909
41985
|
action,
|
|
41910
41986
|
user_id,
|
|
41911
41987
|
page_size,
|
|
@@ -41914,12 +41990,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41914
41990
|
})
|
|
41915
41991
|
}).json();
|
|
41916
41992
|
}
|
|
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) {
|
|
41993
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41918
41994
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41919
41995
|
signal,
|
|
41920
41996
|
searchParams: buildSearchParams$2({
|
|
41921
41997
|
entity_type,
|
|
41922
41998
|
entity_id,
|
|
41999
|
+
project_id,
|
|
42000
|
+
custom_field_id,
|
|
41923
42001
|
action,
|
|
41924
42002
|
user_id,
|
|
41925
42003
|
page_size,
|
|
@@ -42072,13 +42150,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42072
42150
|
}
|
|
42073
42151
|
//#endregion
|
|
42074
42152
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42075
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42153
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42076
42154
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42077
42155
|
signal,
|
|
42078
42156
|
searchParams: buildSearchParams$2({
|
|
42079
|
-
user_id,
|
|
42080
42157
|
start_date,
|
|
42081
42158
|
end_date,
|
|
42159
|
+
user_id,
|
|
42160
|
+
team_id,
|
|
42082
42161
|
private: private_,
|
|
42083
42162
|
task_source,
|
|
42084
42163
|
unit,
|
|
@@ -42138,6 +42217,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42138
42217
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42139
42218
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42140
42219
|
}
|
|
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
|
+
}
|
|
42141
42229
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42142
42230
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42143
42231
|
signal,
|
|
@@ -42177,6 +42265,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
42177
42265
|
}).json();
|
|
42178
42266
|
}
|
|
42179
42267
|
//#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
|
|
42180
42323
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42181
42324
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
42182
42325
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -42401,7 +42544,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42401
42544
|
}
|
|
42402
42545
|
//#endregion
|
|
42403
42546
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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) {
|
|
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, include_recurring_series, cf_filter } = {}, signal) {
|
|
42405
42548
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42406
42549
|
signal,
|
|
42407
42550
|
searchParams: buildSearchParams$2({
|
|
@@ -42427,6 +42570,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42427
42570
|
user_id,
|
|
42428
42571
|
only_me,
|
|
42429
42572
|
include_drafts,
|
|
42573
|
+
include_recurring_series,
|
|
42430
42574
|
cf_filter
|
|
42431
42575
|
})
|
|
42432
42576
|
}).json();
|
|
@@ -42445,9 +42589,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42445
42589
|
json: data
|
|
42446
42590
|
}).json();
|
|
42447
42591
|
}
|
|
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
|
-
}
|
|
42451
42592
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42452
42593
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42453
42594
|
}
|
|
@@ -42473,6 +42614,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42473
42614
|
}).json();
|
|
42474
42615
|
}
|
|
42475
42616
|
//#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
|
|
42476
42648
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42477
42649
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42478
42650
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42634,7 +42806,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42634
42806
|
}
|
|
42635
42807
|
//#endregion
|
|
42636
42808
|
//#region ../focus-queries/dist/search/requests.ts
|
|
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) {
|
|
42809
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42638
42810
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42639
42811
|
signal,
|
|
42640
42812
|
searchParams: buildSearchParams$2({
|
|
@@ -42642,6 +42814,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42642
42814
|
per_group,
|
|
42643
42815
|
assignee_user_id,
|
|
42644
42816
|
assignee_team_id,
|
|
42817
|
+
include_unassigned,
|
|
42645
42818
|
project_id,
|
|
42646
42819
|
task_id,
|
|
42647
42820
|
include_drafts,
|
|
@@ -42686,6 +42859,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42686
42859
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42687
42860
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42688
42861
|
}
|
|
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
|
+
}
|
|
42689
42874
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42690
42875
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42691
42876
|
signal,
|
|
@@ -42695,6 +42880,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42695
42880
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42696
42881
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42697
42882
|
}
|
|
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
|
+
}
|
|
42698
42898
|
//#endregion
|
|
42699
42899
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42700
42900
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42751,9 +42951,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42751
42951
|
}
|
|
42752
42952
|
//#endregion
|
|
42753
42953
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
42755
42955
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42756
42956
|
signal,
|
|
42957
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42757
42958
|
searchParams: buildSearchParams$2({
|
|
42758
42959
|
project_id,
|
|
42759
42960
|
source,
|
|
@@ -42782,13 +42983,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42782
42983
|
min_days,
|
|
42783
42984
|
include_drafts,
|
|
42784
42985
|
cf_filter,
|
|
42785
|
-
user_cf_filter
|
|
42986
|
+
user_cf_filter,
|
|
42987
|
+
recurring_occurrences_after,
|
|
42988
|
+
max_recurring_occurrences_after,
|
|
42989
|
+
recurring_task_read,
|
|
42990
|
+
include_projected_occurrences
|
|
42786
42991
|
})
|
|
42787
42992
|
}).json();
|
|
42788
42993
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
42790
42995
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42791
42996
|
signal,
|
|
42997
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42792
42998
|
searchParams: buildSearchParams$2({
|
|
42793
42999
|
team_id,
|
|
42794
43000
|
project_id,
|
|
@@ -42817,13 +43023,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42817
43023
|
min_days,
|
|
42818
43024
|
include_drafts,
|
|
42819
43025
|
cf_filter,
|
|
42820
|
-
user_cf_filter
|
|
43026
|
+
user_cf_filter,
|
|
43027
|
+
recurring_occurrences_after,
|
|
43028
|
+
max_recurring_occurrences_after,
|
|
43029
|
+
recurring_task_read,
|
|
43030
|
+
include_projected_occurrences
|
|
42821
43031
|
})
|
|
42822
43032
|
}).json();
|
|
42823
43033
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
42825
43035
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42826
43036
|
signal,
|
|
43037
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42827
43038
|
searchParams: buildSearchParams$2({
|
|
42828
43039
|
source,
|
|
42829
43040
|
priority,
|
|
@@ -42853,6 +43064,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42853
43064
|
include_drafts,
|
|
42854
43065
|
cf_filter,
|
|
42855
43066
|
user_cf_filter,
|
|
43067
|
+
recurring_occurrences_after,
|
|
43068
|
+
max_recurring_occurrences_after,
|
|
43069
|
+
recurring_task_read,
|
|
43070
|
+
include_projected_occurrences,
|
|
42856
43071
|
page,
|
|
42857
43072
|
per_page,
|
|
42858
43073
|
order_by
|
|
@@ -42880,104 +43095,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42880
43095
|
}).json();
|
|
42881
43096
|
}
|
|
42882
43097
|
//#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
|
|
42981
43098
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42982
43099
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42983
43100
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43015,6 +43132,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
43015
43132
|
})
|
|
43016
43133
|
}).json();
|
|
43017
43134
|
}
|
|
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
|
+
}
|
|
43018
43141
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
43019
43142
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
43020
43143
|
signal,
|
|
@@ -43042,6 +43165,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43042
43165
|
json: data
|
|
43043
43166
|
}).json();
|
|
43044
43167
|
}
|
|
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
|
+
}
|
|
43045
43188
|
//#endregion
|
|
43046
43189
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43047
43190
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43142,6 +43285,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43142
43285
|
json: data
|
|
43143
43286
|
}).json();
|
|
43144
43287
|
}
|
|
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
|
+
}
|
|
43145
43301
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43146
43302
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43147
43303
|
}
|
|
@@ -43185,7 +43341,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43185
43341
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43186
43342
|
}
|
|
43187
43343
|
//#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
|
|
43188
43352
|
//#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
|
+
}
|
|
43189
43359
|
async function getUserSettings(httpClient, signal) {
|
|
43190
43360
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43191
43361
|
}
|
|
@@ -43425,6 +43595,7 @@ const generatedFocusOperations = [
|
|
|
43425
43595
|
mcp: { entityTool: "audit-log" },
|
|
43426
43596
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43427
43597
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43598
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43428
43599
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43429
43600
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43430
43601
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43432,6 +43603,7 @@ const generatedFocusOperations = [
|
|
|
43432
43603
|
from: /* @__PURE__ */ string$1(),
|
|
43433
43604
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43434
43605
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43606
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43435
43607
|
to: /* @__PURE__ */ string$1(),
|
|
43436
43608
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43437
43609
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43465,6 +43637,7 @@ const generatedFocusOperations = [
|
|
|
43465
43637
|
mcp: { entityTool: "audit-log" },
|
|
43466
43638
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43467
43639
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43640
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43468
43641
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43469
43642
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43470
43643
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43472,6 +43645,7 @@ const generatedFocusOperations = [
|
|
|
43472
43645
|
from: /* @__PURE__ */ string$1(),
|
|
43473
43646
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43474
43647
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43648
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43475
43649
|
to: /* @__PURE__ */ string$1(),
|
|
43476
43650
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43477
43651
|
}),
|
|
@@ -43511,6 +43685,7 @@ const generatedFocusOperations = [
|
|
|
43511
43685
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43512
43686
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43513
43687
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43688
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43514
43689
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43515
43690
|
user_id: /* @__PURE__ */ number$2()
|
|
43516
43691
|
}),
|
|
@@ -43760,8 +43935,6 @@ const generatedFocusOperations = [
|
|
|
43760
43935
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43761
43936
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43762
43937
|
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()),
|
|
43765
43938
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43766
43939
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43767
43940
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43795,8 +43968,6 @@ const generatedFocusOperations = [
|
|
|
43795
43968
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43796
43969
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43797
43970
|
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()),
|
|
43800
43971
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43801
43972
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43802
43973
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43812,12 +43983,6 @@ const generatedFocusOperations = [
|
|
|
43812
43983
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43813
43984
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43814
43985
|
}))),
|
|
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
|
-
}))),
|
|
43821
43986
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43822
43987
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43823
43988
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43827,13 +43992,6 @@ const generatedFocusOperations = [
|
|
|
43827
43992
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43828
43993
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43829
43994
|
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()),
|
|
43837
43995
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43838
43996
|
}))
|
|
43839
43997
|
}) }),
|
|
@@ -43951,6 +44109,33 @@ const generatedFocusOperations = [
|
|
|
43951
44109
|
]));
|
|
43952
44110
|
}
|
|
43953
44111
|
},
|
|
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
|
+
},
|
|
43954
44139
|
{
|
|
43955
44140
|
id: "focus.custom-fields.list",
|
|
43956
44141
|
family: "focus",
|
|
@@ -44120,6 +44305,37 @@ const generatedFocusOperations = [
|
|
|
44120
44305
|
]));
|
|
44121
44306
|
}
|
|
44122
44307
|
},
|
|
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
|
+
},
|
|
44123
44339
|
{
|
|
44124
44340
|
id: "focus.custom-fields.update",
|
|
44125
44341
|
family: "focus",
|
|
@@ -44250,6 +44466,256 @@ const generatedFocusOperations = [
|
|
|
44250
44466
|
]));
|
|
44251
44467
|
}
|
|
44252
44468
|
},
|
|
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
|
+
},
|
|
44253
44719
|
{
|
|
44254
44720
|
id: "focus.goals.create",
|
|
44255
44721
|
family: "focus",
|
|
@@ -44266,13 +44732,7 @@ const generatedFocusOperations = [
|
|
|
44266
44732
|
},
|
|
44267
44733
|
mcp: { entityTool: "goals" },
|
|
44268
44734
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44269
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44270
44735
|
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()),
|
|
44276
44736
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44277
44737
|
"daily",
|
|
44278
44738
|
"weekly",
|
|
@@ -44280,12 +44740,18 @@ const generatedFocusOperations = [
|
|
|
44280
44740
|
"monthly"
|
|
44281
44741
|
]),
|
|
44282
44742
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44283
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44284
44743
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44285
|
-
|
|
44286
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44744
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44287
44745
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44288
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
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()))
|
|
44289
44755
|
}) }),
|
|
44290
44756
|
execute: (input, { client }) => {
|
|
44291
44757
|
const data = input;
|
|
@@ -44391,13 +44857,6 @@ const generatedFocusOperations = [
|
|
|
44391
44857
|
},
|
|
44392
44858
|
mcp: { entityTool: "goals" },
|
|
44393
44859
|
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()),
|
|
44401
44860
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44402
44861
|
"daily",
|
|
44403
44862
|
"weekly",
|
|
@@ -44405,12 +44864,19 @@ const generatedFocusOperations = [
|
|
|
44405
44864
|
"monthly"
|
|
44406
44865
|
]),
|
|
44407
44866
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44408
|
-
|
|
44409
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44410
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44411
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44867
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44412
44868
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44413
|
-
|
|
44869
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
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()))
|
|
44414
44880
|
}) }),
|
|
44415
44881
|
execute: (input, { client }) => {
|
|
44416
44882
|
const data = input;
|
|
@@ -45377,9 +45843,17 @@ const generatedFocusOperations = [
|
|
|
45377
45843
|
mcp: { entityTool: "projects" },
|
|
45378
45844
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45379
45845
|
payload: /* @__PURE__ */ looseObject({
|
|
45846
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45847
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45380
45848
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45381
45849
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45382
45850
|
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()),
|
|
45383
45857
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45384
45858
|
}),
|
|
45385
45859
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45823,6 +46297,7 @@ const generatedFocusOperations = [
|
|
|
45823
46297
|
group: /* @__PURE__ */ string$1(),
|
|
45824
46298
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45825
46299
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46300
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45826
46301
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45827
46302
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45828
46303
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -45925,29 +46400,6 @@ const generatedFocusOperations = [
|
|
|
45925
46400
|
]));
|
|
45926
46401
|
}
|
|
45927
46402
|
},
|
|
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
|
-
},
|
|
45951
46403
|
{
|
|
45952
46404
|
id: "focus.projects.margin-targets-get",
|
|
45953
46405
|
family: "focus",
|
|
@@ -46393,16 +46845,140 @@ const generatedFocusOperations = [
|
|
|
46393
46845
|
}
|
|
46394
46846
|
},
|
|
46395
46847
|
{
|
|
46396
|
-
id: "focus.
|
|
46848
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46397
46849
|
family: "focus",
|
|
46398
|
-
resource: "
|
|
46399
|
-
action: "
|
|
46400
|
-
title: "
|
|
46401
|
-
description: "
|
|
46402
|
-
safety: "
|
|
46850
|
+
resource: "publicsharedreports",
|
|
46851
|
+
action: "open-public-shared-report",
|
|
46852
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
46853
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
46854
|
+
safety: "read",
|
|
46403
46855
|
destructive: false,
|
|
46404
46856
|
cli: {
|
|
46405
|
-
group: ["
|
|
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",
|
|
46979
|
+
destructive: false,
|
|
46980
|
+
cli: {
|
|
46981
|
+
group: ["rates", "billable"],
|
|
46406
46982
|
command: "check-project-billable-rate-conflicts",
|
|
46407
46983
|
interactive: "default"
|
|
46408
46984
|
},
|
|
@@ -48350,7 +48926,7 @@ const generatedFocusOperations = [
|
|
|
48350
48926
|
cli: {
|
|
48351
48927
|
group: ["reportschedules"],
|
|
48352
48928
|
command: "upsert-saved-view-schedule",
|
|
48353
|
-
interactive: "
|
|
48929
|
+
interactive: "hidden"
|
|
48354
48930
|
},
|
|
48355
48931
|
mcp: { entityTool: "reportschedules" },
|
|
48356
48932
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48361,8 +48937,10 @@ const generatedFocusOperations = [
|
|
|
48361
48937
|
"weekly",
|
|
48362
48938
|
"monthly"
|
|
48363
48939
|
]),
|
|
48940
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48364
48941
|
time: /* @__PURE__ */ string$1(),
|
|
48365
48942
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48943
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48366
48944
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48367
48945
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48368
48946
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48695,6 +49273,32 @@ const generatedFocusOperations = [
|
|
|
48695
49273
|
]));
|
|
48696
49274
|
}
|
|
48697
49275
|
},
|
|
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
|
+
},
|
|
48698
49302
|
{
|
|
48699
49303
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48700
49304
|
family: "focus",
|
|
@@ -48765,6 +49369,36 @@ const generatedFocusOperations = [
|
|
|
48765
49369
|
void 0
|
|
48766
49370
|
]))
|
|
48767
49371
|
},
|
|
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
|
+
},
|
|
48768
49402
|
{
|
|
48769
49403
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48770
49404
|
family: "focus",
|
|
@@ -48795,6 +49429,92 @@ const generatedFocusOperations = [
|
|
|
48795
49429
|
]));
|
|
48796
49430
|
}
|
|
48797
49431
|
},
|
|
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
|
+
},
|
|
48798
49518
|
{
|
|
48799
49519
|
id: "focus.sharedreports.share-saved-view",
|
|
48800
49520
|
family: "focus",
|
|
@@ -48869,6 +49589,32 @@ const generatedFocusOperations = [
|
|
|
48869
49589
|
]));
|
|
48870
49590
|
}
|
|
48871
49591
|
},
|
|
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
|
+
},
|
|
48872
49618
|
{
|
|
48873
49619
|
id: "focus.statuses.create-status",
|
|
48874
49620
|
family: "focus",
|
|
@@ -49911,6 +50657,37 @@ const generatedFocusOperations = [
|
|
|
49911
50657
|
return client.createTask(data);
|
|
49912
50658
|
}
|
|
49913
50659
|
},
|
|
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
|
+
},
|
|
49914
50691
|
{
|
|
49915
50692
|
id: "focus.tasks.delete",
|
|
49916
50693
|
family: "focus",
|
|
@@ -50136,48 +50913,125 @@ const generatedFocusOperations = [
|
|
|
50136
50913
|
}
|
|
50137
50914
|
},
|
|
50138
50915
|
{
|
|
50139
|
-
id: "focus.tasks.get-
|
|
50916
|
+
id: "focus.tasks.get-picker-task-children",
|
|
50140
50917
|
family: "focus",
|
|
50141
50918
|
resource: "tasks",
|
|
50142
|
-
action: "get-
|
|
50143
|
-
title: "Get
|
|
50144
|
-
description: "Get
|
|
50919
|
+
action: "get-picker-task-children",
|
|
50920
|
+
title: "Get Picker Task Children Tasks",
|
|
50921
|
+
description: "Get Picker Task Children Tasks.",
|
|
50145
50922
|
safety: "read",
|
|
50146
50923
|
destructive: false,
|
|
50147
50924
|
cli: {
|
|
50148
50925
|
group: ["tasks"],
|
|
50149
|
-
command: "get-
|
|
50926
|
+
command: "get-picker-task-children",
|
|
50150
50927
|
interactive: "hidden"
|
|
50151
50928
|
},
|
|
50152
50929
|
mcp: { entityTool: "tasks" },
|
|
50153
50930
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50154
|
-
|
|
50155
|
-
|
|
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()),
|
|
50931
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50932
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50161
50933
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50934
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50162
50935
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50163
|
-
|
|
50164
|
-
|
|
50165
|
-
|
|
50166
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50936
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50937
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50938
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50167
50939
|
}),
|
|
50168
50940
|
execute: (input, { client }) => {
|
|
50169
50941
|
const data = input;
|
|
50170
|
-
return client.runGeneratedRequest("
|
|
50942
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50171
50943
|
client.httpClient,
|
|
50172
50944
|
client.organizationId,
|
|
50173
50945
|
client.workspaceIdNumber,
|
|
50946
|
+
data.parent_task_id,
|
|
50174
50947
|
data,
|
|
50175
50948
|
void 0
|
|
50176
50949
|
]));
|
|
50177
50950
|
}
|
|
50178
50951
|
},
|
|
50179
50952
|
{
|
|
50180
|
-
id: "focus.tasks.get-
|
|
50953
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
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",
|
|
50181
51035
|
family: "focus",
|
|
50182
51036
|
resource: "tasks",
|
|
50183
51037
|
action: "get-stream",
|
|
@@ -50206,13 +51060,14 @@ const generatedFocusOperations = [
|
|
|
50206
51060
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50207
51061
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50208
51062
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50209
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50210
51063
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50211
51064
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50212
51065
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50213
51066
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50214
51067
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51068
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50215
51069
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51070
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50216
51071
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50217
51072
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50218
51073
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50221,7 +51076,9 @@ const generatedFocusOperations = [
|
|
|
50221
51076
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50222
51077
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50223
51078
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51079
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50224
51080
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51081
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50225
51082
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50226
51083
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50227
51084
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50230,8 +51087,6 @@ const generatedFocusOperations = [
|
|
|
50230
51087
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50231
51088
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50232
51089
|
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()),
|
|
50235
51090
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50236
51091
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50237
51092
|
}),
|
|
@@ -50359,8 +51214,10 @@ const generatedFocusOperations = [
|
|
|
50359
51214
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50360
51215
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50361
51216
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51217
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50362
51218
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50363
51219
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51220
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50364
51221
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50365
51222
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50366
51223
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50369,6 +51226,8 @@ const generatedFocusOperations = [
|
|
|
50369
51226
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
51227
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50371
51228
|
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()),
|
|
50372
51231
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50373
51232
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50374
51233
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50377,7 +51236,8 @@ const generatedFocusOperations = [
|
|
|
50377
51236
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50378
51237
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50379
51238
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50380
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51239
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51240
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50381
51241
|
}),
|
|
50382
51242
|
execute: (input, { client }) => {
|
|
50383
51243
|
const data = input;
|
|
@@ -50419,13 +51279,17 @@ const generatedFocusOperations = [
|
|
|
50419
51279
|
group_id: /* @__PURE__ */ number$2(),
|
|
50420
51280
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50421
51281
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51282
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50422
51283
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50423
51284
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51285
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50424
51286
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50425
51287
|
name: /* @__PURE__ */ unknown$1(),
|
|
50426
51288
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50427
51289
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50428
51290
|
project_id: /* @__PURE__ */ number$2(),
|
|
51291
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51292
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50429
51293
|
source: /* @__PURE__ */ unknown$1(),
|
|
50430
51294
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50431
51295
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50434,7 +51298,8 @@ const generatedFocusOperations = [
|
|
|
50434
51298
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50435
51299
|
team_id: /* @__PURE__ */ number$2(),
|
|
50436
51300
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50437
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51301
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
51302
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50438
51303
|
}),
|
|
50439
51304
|
execute: (input, { client }) => {
|
|
50440
51305
|
const data = input;
|
|
@@ -50475,13 +51340,17 @@ const generatedFocusOperations = [
|
|
|
50475
51340
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50476
51341
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50477
51342
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51343
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50478
51344
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50479
51345
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51346
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50480
51347
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50481
51348
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50482
51349
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50483
51350
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50484
51351
|
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()),
|
|
50485
51354
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50486
51355
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50487
51356
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50490,7 +51359,8 @@ const generatedFocusOperations = [
|
|
|
50490
51359
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50491
51360
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50492
51361
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50493
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51362
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51363
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50494
51364
|
}),
|
|
50495
51365
|
execute: (input, { client }) => {
|
|
50496
51366
|
const data = input;
|
|
@@ -50720,522 +51590,59 @@ const generatedFocusOperations = [
|
|
|
50720
51590
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50721
51591
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
50722
51592
|
"none",
|
|
50723
|
-
"low",
|
|
50724
|
-
"medium",
|
|
50725
|
-
"high"
|
|
50726
|
-
])),
|
|
50727
|
-
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50728
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50729
|
-
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50730
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50731
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50732
|
-
}),
|
|
50733
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50734
|
-
}),
|
|
50735
|
-
execute: (input, { client }) => {
|
|
50736
|
-
const data = input;
|
|
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()
|
|
51593
|
+
"low",
|
|
51594
|
+
"medium",
|
|
51595
|
+
"high"
|
|
51596
|
+
])),
|
|
51597
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51598
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51599
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51600
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51601
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51602
|
+
}),
|
|
51603
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51192
51604
|
}),
|
|
51193
51605
|
execute: (input, { client }) => {
|
|
51194
51606
|
const data = input;
|
|
51195
|
-
return client.runGeneratedRequest("
|
|
51607
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
51196
51608
|
client.httpClient,
|
|
51197
51609
|
client.organizationId,
|
|
51198
51610
|
client.workspaceIdNumber,
|
|
51199
51611
|
data.task_id,
|
|
51200
|
-
data.
|
|
51612
|
+
data.payload ?? data.data ?? data,
|
|
51201
51613
|
void 0
|
|
51202
51614
|
]));
|
|
51203
51615
|
}
|
|
51204
51616
|
},
|
|
51205
51617
|
{
|
|
51206
|
-
id: "focus.
|
|
51618
|
+
id: "focus.tasks.update-calendar-range",
|
|
51207
51619
|
family: "focus",
|
|
51208
|
-
resource: "
|
|
51209
|
-
action: "update",
|
|
51210
|
-
title: "Update
|
|
51211
|
-
description: "Update
|
|
51620
|
+
resource: "tasks",
|
|
51621
|
+
action: "update-calendar-range",
|
|
51622
|
+
title: "Update Calendar Range Tasks",
|
|
51623
|
+
description: "Update Calendar Range Tasks.",
|
|
51212
51624
|
safety: "update",
|
|
51213
51625
|
destructive: false,
|
|
51214
51626
|
cli: {
|
|
51215
|
-
group: ["
|
|
51216
|
-
command: "update",
|
|
51627
|
+
group: ["tasks"],
|
|
51628
|
+
command: "update-calendar-range",
|
|
51217
51629
|
interactive: "default"
|
|
51218
51630
|
},
|
|
51219
|
-
mcp: { entityTool: "
|
|
51631
|
+
mcp: { entityTool: "tasks" },
|
|
51220
51632
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51221
|
-
|
|
51222
|
-
|
|
51223
|
-
|
|
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()
|
|
51633
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
51634
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51635
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51229
51636
|
}),
|
|
51230
51637
|
execute: (input, { client }) => {
|
|
51231
51638
|
const data = input;
|
|
51232
|
-
return client.runGeneratedRequest("
|
|
51639
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
51233
51640
|
client.httpClient,
|
|
51234
51641
|
client.organizationId,
|
|
51235
51642
|
client.workspaceIdNumber,
|
|
51236
|
-
data.
|
|
51237
|
-
data.
|
|
51238
|
-
data.
|
|
51643
|
+
data.date_from,
|
|
51644
|
+
data.date_to,
|
|
51645
|
+
data.skip_provider_refresh,
|
|
51239
51646
|
void 0
|
|
51240
51647
|
]));
|
|
51241
51648
|
}
|
|
@@ -51455,7 +51862,8 @@ const generatedFocusOperations = [
|
|
|
51455
51862
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51456
51863
|
"project",
|
|
51457
51864
|
"task",
|
|
51458
|
-
"description"
|
|
51865
|
+
"description",
|
|
51866
|
+
"tags"
|
|
51459
51867
|
]) })),
|
|
51460
51868
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51461
51869
|
}) }),
|
|
@@ -51485,6 +51893,7 @@ const generatedFocusOperations = [
|
|
|
51485
51893
|
},
|
|
51486
51894
|
mcp: { entityTool: "time-entries" },
|
|
51487
51895
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51896
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51488
51897
|
payload: /* @__PURE__ */ looseObject({
|
|
51489
51898
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51490
51899
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51495,11 +51904,12 @@ const generatedFocusOperations = [
|
|
|
51495
51904
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51496
51905
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51497
51906
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51907
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51498
51908
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51499
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51500
51909
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51501
51910
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51502
51911
|
}),
|
|
51912
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51503
51913
|
task_id: /* @__PURE__ */ number$2()
|
|
51504
51914
|
}),
|
|
51505
51915
|
execute: (input, { client }) => {
|
|
@@ -51510,6 +51920,8 @@ const generatedFocusOperations = [
|
|
|
51510
51920
|
client.workspaceIdNumber,
|
|
51511
51921
|
data.task_id,
|
|
51512
51922
|
data.payload ?? data.data ?? data,
|
|
51923
|
+
data.from_recurring_task_id,
|
|
51924
|
+
data.return_occurrence,
|
|
51513
51925
|
void 0
|
|
51514
51926
|
]));
|
|
51515
51927
|
}
|
|
@@ -51529,21 +51941,25 @@ const generatedFocusOperations = [
|
|
|
51529
51941
|
interactive: "default"
|
|
51530
51942
|
},
|
|
51531
51943
|
mcp: { entityTool: "time-entries" },
|
|
51532
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51533
|
-
|
|
51534
|
-
|
|
51535
|
-
|
|
51536
|
-
|
|
51537
|
-
|
|
51538
|
-
|
|
51539
|
-
|
|
51540
|
-
|
|
51541
|
-
|
|
51542
|
-
|
|
51543
|
-
|
|
51544
|
-
|
|
51545
|
-
|
|
51546
|
-
|
|
51944
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51945
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51946
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51947
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51948
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51949
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51950
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51951
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51952
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51953
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51954
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51955
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51956
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51957
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51958
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51959
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51960
|
+
}),
|
|
51961
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51962
|
+
}),
|
|
51547
51963
|
execute: (input, { client }) => {
|
|
51548
51964
|
const data = input;
|
|
51549
51965
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51551,6 +51967,8 @@ const generatedFocusOperations = [
|
|
|
51551
51967
|
client.organizationId,
|
|
51552
51968
|
client.workspaceIdNumber,
|
|
51553
51969
|
data.payload ?? data.data ?? data,
|
|
51970
|
+
data.from_recurring_task_id,
|
|
51971
|
+
data.return_occurrence,
|
|
51554
51972
|
void 0
|
|
51555
51973
|
]));
|
|
51556
51974
|
}
|
|
@@ -51570,7 +51988,11 @@ const generatedFocusOperations = [
|
|
|
51570
51988
|
interactive: "default"
|
|
51571
51989
|
},
|
|
51572
51990
|
mcp: { entityTool: "time-entries" },
|
|
51573
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51574
51996
|
execute: (input, { client }) => {
|
|
51575
51997
|
const data = input;
|
|
51576
51998
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51578,6 +52000,8 @@ const generatedFocusOperations = [
|
|
|
51578
52000
|
client.organizationId,
|
|
51579
52001
|
client.workspaceIdNumber,
|
|
51580
52002
|
data.time_entry_id,
|
|
52003
|
+
data.from_recurring_task_id,
|
|
52004
|
+
data.return_occurrence,
|
|
51581
52005
|
void 0
|
|
51582
52006
|
]));
|
|
51583
52007
|
}
|
|
@@ -51658,6 +52082,7 @@ const generatedFocusOperations = [
|
|
|
51658
52082
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51659
52083
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51660
52084
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52085
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51661
52086
|
status_id: /* @__PURE__ */ number$2(),
|
|
51662
52087
|
task_id: /* @__PURE__ */ number$2(),
|
|
51663
52088
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51673,33 +52098,6 @@ const generatedFocusOperations = [
|
|
|
51673
52098
|
]));
|
|
51674
52099
|
}
|
|
51675
52100
|
},
|
|
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
|
-
},
|
|
51703
52101
|
{
|
|
51704
52102
|
id: "focus.time-entries.get-task-time-entries",
|
|
51705
52103
|
family: "focus",
|
|
@@ -51721,7 +52119,6 @@ const generatedFocusOperations = [
|
|
|
51721
52119
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51722
52120
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51723
52121
|
task_id: /* @__PURE__ */ number$2(),
|
|
51724
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51725
52122
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51726
52123
|
}),
|
|
51727
52124
|
execute: (input, { client }) => {
|
|
@@ -51834,12 +52231,14 @@ const generatedFocusOperations = [
|
|
|
51834
52231
|
},
|
|
51835
52232
|
mcp: { entityTool: "time-entries" },
|
|
51836
52233
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52234
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51837
52235
|
payload: /* @__PURE__ */ looseObject({
|
|
51838
52236
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51839
52237
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51840
52238
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51841
52239
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51842
52240
|
}),
|
|
52241
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51843
52242
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51844
52243
|
}),
|
|
51845
52244
|
execute: (input, { client }) => {
|
|
@@ -51850,6 +52249,8 @@ const generatedFocusOperations = [
|
|
|
51850
52249
|
client.workspaceIdNumber,
|
|
51851
52250
|
data.time_entry_id,
|
|
51852
52251
|
data.payload ?? data.data ?? data,
|
|
52252
|
+
data.from_recurring_task_id,
|
|
52253
|
+
data.return_occurrence,
|
|
51853
52254
|
void 0
|
|
51854
52255
|
]));
|
|
51855
52256
|
}
|
|
@@ -52107,6 +52508,7 @@ const generatedFocusOperations = [
|
|
|
52107
52508
|
},
|
|
52108
52509
|
mcp: { entityTool: "time-entries" },
|
|
52109
52510
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52511
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52110
52512
|
payload: /* @__PURE__ */ looseObject({
|
|
52111
52513
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52112
52514
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52116,9 +52518,9 @@ const generatedFocusOperations = [
|
|
|
52116
52518
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
52519
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52118
52520
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52119
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
52521
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52121
52522
|
}),
|
|
52523
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52122
52524
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52123
52525
|
}),
|
|
52124
52526
|
execute: (input, { client }) => {
|
|
@@ -52129,6 +52531,8 @@ const generatedFocusOperations = [
|
|
|
52129
52531
|
client.workspaceIdNumber,
|
|
52130
52532
|
data.time_entry_id,
|
|
52131
52533
|
data.payload ?? data.data ?? data,
|
|
52534
|
+
data.from_recurring_task_id,
|
|
52535
|
+
data.return_occurrence,
|
|
52132
52536
|
void 0
|
|
52133
52537
|
]));
|
|
52134
52538
|
}
|
|
@@ -52193,6 +52597,118 @@ const generatedFocusOperations = [
|
|
|
52193
52597
|
]));
|
|
52194
52598
|
}
|
|
52195
52599
|
},
|
|
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
|
+
},
|
|
52196
52712
|
{
|
|
52197
52713
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52198
52714
|
family: "focus",
|
|
@@ -52644,6 +53160,40 @@ const generatedFocusOperations = [
|
|
|
52644
53160
|
]));
|
|
52645
53161
|
}
|
|
52646
53162
|
},
|
|
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
|
+
},
|
|
52647
53197
|
{
|
|
52648
53198
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52649
53199
|
family: "focus",
|
|
@@ -53193,6 +53743,33 @@ const generatedFocusOperations = [
|
|
|
53193
53743
|
]));
|
|
53194
53744
|
}
|
|
53195
53745
|
},
|
|
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
|
+
},
|
|
53196
53773
|
{
|
|
53197
53774
|
id: "focus.users.list",
|
|
53198
53775
|
family: "focus",
|
|
@@ -53214,6 +53791,56 @@ const generatedFocusOperations = [
|
|
|
53214
53791
|
return client.listOrgUsers(data);
|
|
53215
53792
|
}
|
|
53216
53793
|
},
|
|
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
|
+
},
|
|
53217
53844
|
{
|
|
53218
53845
|
id: "focus.users.settings-list",
|
|
53219
53846
|
family: "focus",
|
|
@@ -53275,6 +53902,9 @@ const generatedFocusOperations = [
|
|
|
53275
53902
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53276
53903
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53277
53904
|
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()),
|
|
53278
53908
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53279
53909
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53280
53910
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54817,7 +55447,7 @@ function registerWorkspaceTools(server) {
|
|
|
54817
55447
|
//#region src/package-version.ts
|
|
54818
55448
|
function mcpPackageVersion() {
|
|
54819
55449
|
try {
|
|
54820
|
-
return "1.11.
|
|
55450
|
+
return "1.11.87";
|
|
54821
55451
|
} catch {
|
|
54822
55452
|
return "unknown";
|
|
54823
55453
|
}
|
|
@@ -54992,7 +55622,7 @@ import_main.default.config({
|
|
|
54992
55622
|
quiet: true,
|
|
54993
55623
|
ignore: ["MISSING_ENV_FILE"]
|
|
54994
55624
|
});
|
|
54995
|
-
const packageVersion = "1.11.
|
|
55625
|
+
const packageVersion = "1.11.87";
|
|
54996
55626
|
function resolvePublicUrls() {
|
|
54997
55627
|
return {
|
|
54998
55628
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55057,4 +55687,4 @@ function bootstrapServer(options = {}) {
|
|
|
55057
55687
|
//#endregion
|
|
55058
55688
|
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 };
|
|
55059
55689
|
|
|
55060
|
-
//# sourceMappingURL=src-
|
|
55690
|
+
//# sourceMappingURL=src-BJpbMA5N.js.map
|