@togglhq/cli 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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-BBNYLATY.js → program-Cgzj1q4d.js} +1426 -796
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -7254,6 +7254,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7254
7254
|
name: /* @__PURE__ */ string(),
|
|
7255
7255
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7256
7256
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7257
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7257
7258
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7258
7259
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7259
7260
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7340,6 +7341,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7340
7341
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7341
7342
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7342
7343
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7344
|
+
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."))),
|
|
7343
7345
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7344
7346
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7345
7347
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7401,6 +7403,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7401
7403
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7402
7404
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7403
7405
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
+
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."))),
|
|
7404
7407
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7405
7408
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7406
7409
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7561,6 +7564,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7561
7564
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7562
7565
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7563
7566
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7567
|
+
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."))),
|
|
7568
|
+
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."))),
|
|
7564
7569
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7565
7570
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7566
7571
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7646,8 +7651,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7646
7651
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7647
7652
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7648
7653
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7654
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7649
7655
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7650
7656
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7657
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7651
7658
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7652
7659
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7653
7660
|
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)."))),
|
|
@@ -7703,6 +7710,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7703
7710
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7704
7711
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7705
7712
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7713
|
+
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."))),
|
|
7714
|
+
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."))),
|
|
7706
7715
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7707
7716
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7708
7717
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7875,8 +7884,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7875
7884
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7876
7885
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7877
7886
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7878
|
-
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7879
|
-
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7880
7887
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7881
7888
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7882
7889
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7933,6 +7940,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7933
7940
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7934
7941
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7935
7942
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7943
|
+
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."))),
|
|
7936
7944
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7937
7945
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7938
7946
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7969,6 +7977,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7969
7977
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7970
7978
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7971
7979
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7980
|
+
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."))),
|
|
7972
7981
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7973
7982
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7974
7983
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7989,7 +7998,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7989
7998
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7990
7999
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7991
8000
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7992
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7993
8001
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7994
8002
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7995
8003
|
});
|
|
@@ -8018,8 +8026,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8018
8026
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8019
8027
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8020
8028
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8021
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8022
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8029
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8023
8030
|
});
|
|
8024
8031
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8025
8032
|
//#endregion
|
|
@@ -9893,7 +9900,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9893
9900
|
})
|
|
9894
9901
|
}).json();
|
|
9895
9902
|
}
|
|
9896
|
-
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) {
|
|
9903
|
+
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) {
|
|
9897
9904
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9898
9905
|
signal,
|
|
9899
9906
|
searchParams: buildSearchParams$2({
|
|
@@ -9914,6 +9921,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9914
9921
|
include_rates,
|
|
9915
9922
|
pinned_ids,
|
|
9916
9923
|
has_group,
|
|
9924
|
+
track_without_focus,
|
|
9917
9925
|
cf_filter,
|
|
9918
9926
|
include_custom_fields,
|
|
9919
9927
|
include_calendar_integration
|
|
@@ -10015,10 +10023,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10015
10023
|
}
|
|
10016
10024
|
//#endregion
|
|
10017
10025
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10018
|
-
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) {
|
|
10026
|
+
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) {
|
|
10019
10027
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10020
10028
|
signal,
|
|
10021
10029
|
searchParams: buildSearchParams$2({
|
|
10030
|
+
include_task_counts,
|
|
10031
|
+
include_picker_parent_group_counts,
|
|
10032
|
+
task_archived,
|
|
10033
|
+
task_recurring,
|
|
10034
|
+
task_state,
|
|
10035
|
+
task_source,
|
|
10036
|
+
task_assignee_user_id,
|
|
10037
|
+
task_assignee_team_id,
|
|
10038
|
+
task_include_unassigned,
|
|
10039
|
+
task_name,
|
|
10022
10040
|
page,
|
|
10023
10041
|
per_page,
|
|
10024
10042
|
order_by,
|
|
@@ -10268,7 +10286,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10268
10286
|
}
|
|
10269
10287
|
//#endregion
|
|
10270
10288
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10271
|
-
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,
|
|
10289
|
+
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) {
|
|
10272
10290
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10273
10291
|
signal,
|
|
10274
10292
|
searchParams: buildSearchParams$2({
|
|
@@ -10281,7 +10299,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10281
10299
|
toggl_user_id,
|
|
10282
10300
|
name,
|
|
10283
10301
|
has_time_entries,
|
|
10284
|
-
has_time_blocks,
|
|
10285
10302
|
has_dates,
|
|
10286
10303
|
private: private_,
|
|
10287
10304
|
archived,
|
|
@@ -10304,10 +10321,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10304
10321
|
priority,
|
|
10305
10322
|
is_priority,
|
|
10306
10323
|
state,
|
|
10307
|
-
timeblock_start_from,
|
|
10308
|
-
timeblock_start_until,
|
|
10309
|
-
time_block_id,
|
|
10310
|
-
time_block_completed,
|
|
10311
10324
|
team_id,
|
|
10312
10325
|
assignee_team_id,
|
|
10313
10326
|
assignee_user_id,
|
|
@@ -10319,7 +10332,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10319
10332
|
include_assignees,
|
|
10320
10333
|
include_parent_matches,
|
|
10321
10334
|
disable_aggregations,
|
|
10322
|
-
cf_filter
|
|
10335
|
+
cf_filter,
|
|
10336
|
+
recurring_occurrences_after,
|
|
10337
|
+
max_recurring_occurrences_after,
|
|
10338
|
+
recurring_task_read,
|
|
10339
|
+
include_projected_occurrences
|
|
10323
10340
|
})
|
|
10324
10341
|
}).json();
|
|
10325
10342
|
}
|
|
@@ -10394,16 +10411,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10394
10411
|
})
|
|
10395
10412
|
}).json();
|
|
10396
10413
|
}
|
|
10397
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10414
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10398
10415
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10399
10416
|
signal,
|
|
10400
10417
|
searchParams: buildSearchParams$2({
|
|
10401
10418
|
date_from,
|
|
10402
|
-
date_to
|
|
10419
|
+
date_to,
|
|
10420
|
+
skip_provider_refresh
|
|
10421
|
+
})
|
|
10422
|
+
}).json();
|
|
10423
|
+
}
|
|
10424
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10425
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10426
|
+
signal,
|
|
10427
|
+
searchParams: buildSearchParams$2({
|
|
10428
|
+
project_id,
|
|
10429
|
+
without_project,
|
|
10430
|
+
pinned_only,
|
|
10431
|
+
include_unassigned,
|
|
10432
|
+
search,
|
|
10433
|
+
only_me,
|
|
10434
|
+
page,
|
|
10435
|
+
per_page
|
|
10436
|
+
})
|
|
10437
|
+
}).json();
|
|
10438
|
+
}
|
|
10439
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10440
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10441
|
+
signal,
|
|
10442
|
+
searchParams: buildSearchParams$2({
|
|
10443
|
+
project_id,
|
|
10444
|
+
without_project,
|
|
10445
|
+
include_unassigned,
|
|
10446
|
+
search,
|
|
10447
|
+
only_me,
|
|
10448
|
+
page,
|
|
10449
|
+
per_page
|
|
10403
10450
|
})
|
|
10404
10451
|
}).json();
|
|
10405
10452
|
}
|
|
10406
|
-
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) {
|
|
10453
|
+
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) {
|
|
10407
10454
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10408
10455
|
signal,
|
|
10409
10456
|
searchParams: buildSearchParams$2({
|
|
@@ -10419,11 +10466,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10419
10466
|
assignee_team_id,
|
|
10420
10467
|
assignee_user_id,
|
|
10421
10468
|
tag_id,
|
|
10422
|
-
include_assignees
|
|
10469
|
+
include_assignees,
|
|
10470
|
+
recurring_occurrences_after,
|
|
10471
|
+
max_recurring_occurrences_after,
|
|
10472
|
+
recurring_task_read,
|
|
10473
|
+
include_projected_occurrences
|
|
10423
10474
|
})
|
|
10424
10475
|
}).json();
|
|
10425
10476
|
}
|
|
10426
|
-
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,
|
|
10477
|
+
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) {
|
|
10427
10478
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10428
10479
|
signal,
|
|
10429
10480
|
searchParams: buildSearchParams$2({
|
|
@@ -10435,7 +10486,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10435
10486
|
name,
|
|
10436
10487
|
include_parent_matches,
|
|
10437
10488
|
has_time_entries,
|
|
10438
|
-
has_time_blocks,
|
|
10439
10489
|
has_dates,
|
|
10440
10490
|
private: private_,
|
|
10441
10491
|
archived,
|
|
@@ -10458,8 +10508,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10458
10508
|
priority,
|
|
10459
10509
|
is_priority,
|
|
10460
10510
|
state,
|
|
10461
|
-
time_block_id,
|
|
10462
|
-
time_block_completed,
|
|
10463
10511
|
team_id,
|
|
10464
10512
|
assignee_team_id,
|
|
10465
10513
|
assignee_user_id,
|
|
@@ -10468,7 +10516,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10468
10516
|
recurring_task_ids,
|
|
10469
10517
|
client_id,
|
|
10470
10518
|
include_assignees,
|
|
10471
|
-
cf_filter
|
|
10519
|
+
cf_filter,
|
|
10520
|
+
recurring_occurrences_after,
|
|
10521
|
+
max_recurring_occurrences_after,
|
|
10522
|
+
recurring_task_read,
|
|
10523
|
+
include_projected_occurrences
|
|
10472
10524
|
})
|
|
10473
10525
|
}).json();
|
|
10474
10526
|
}
|
|
@@ -10523,6 +10575,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10523
10575
|
})
|
|
10524
10576
|
}).json();
|
|
10525
10577
|
}
|
|
10578
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10579
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10580
|
+
signal,
|
|
10581
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10582
|
+
}).json();
|
|
10583
|
+
}
|
|
10526
10584
|
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) {
|
|
10527
10585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10528
10586
|
signal,
|
|
@@ -10548,7 +10606,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10548
10606
|
}
|
|
10549
10607
|
//#endregion
|
|
10550
10608
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10551
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
10609
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10552
10610
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10553
10611
|
signal,
|
|
10554
10612
|
searchParams: buildSearchParams$2({
|
|
@@ -10556,21 +10614,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10556
10614
|
per_page,
|
|
10557
10615
|
order_by,
|
|
10558
10616
|
type,
|
|
10559
|
-
archived
|
|
10560
|
-
time_block_id
|
|
10617
|
+
archived
|
|
10561
10618
|
})
|
|
10562
10619
|
}).json();
|
|
10563
10620
|
}
|
|
10564
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10621
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10565
10622
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10566
10623
|
signal,
|
|
10567
|
-
json: data
|
|
10624
|
+
json: data,
|
|
10625
|
+
searchParams: buildSearchParams$2({
|
|
10626
|
+
from_recurring_task_id,
|
|
10627
|
+
return_occurrence
|
|
10628
|
+
})
|
|
10568
10629
|
}).json();
|
|
10569
10630
|
}
|
|
10570
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10631
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10571
10632
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10572
10633
|
signal,
|
|
10573
|
-
json: data
|
|
10634
|
+
json: data,
|
|
10635
|
+
searchParams: buildSearchParams$2({
|
|
10636
|
+
from_recurring_task_id,
|
|
10637
|
+
return_occurrence
|
|
10638
|
+
})
|
|
10574
10639
|
}).json();
|
|
10575
10640
|
}
|
|
10576
10641
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10621,7 +10686,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10621
10686
|
json: data
|
|
10622
10687
|
}).json();
|
|
10623
10688
|
}
|
|
10624
|
-
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) {
|
|
10689
|
+
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) {
|
|
10625
10690
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10626
10691
|
signal,
|
|
10627
10692
|
searchParams: buildSearchParams$2({
|
|
@@ -10629,6 +10694,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10629
10694
|
date_to,
|
|
10630
10695
|
task_id,
|
|
10631
10696
|
status_id,
|
|
10697
|
+
project_id,
|
|
10632
10698
|
type,
|
|
10633
10699
|
order_by,
|
|
10634
10700
|
archived,
|
|
@@ -10643,28 +10709,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10643
10709
|
json: data
|
|
10644
10710
|
}).json();
|
|
10645
10711
|
}
|
|
10646
|
-
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10647
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10648
|
-
signal,
|
|
10649
|
-
searchParams: buildSearchParams$2({ time_block_id })
|
|
10650
|
-
}).json();
|
|
10651
|
-
}
|
|
10652
10712
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10653
10713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10654
10714
|
}
|
|
10655
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10715
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10656
10716
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10657
10717
|
signal,
|
|
10658
|
-
json: data
|
|
10718
|
+
json: data,
|
|
10719
|
+
searchParams: buildSearchParams$2({
|
|
10720
|
+
from_recurring_task_id,
|
|
10721
|
+
return_occurrence
|
|
10722
|
+
})
|
|
10659
10723
|
}).json();
|
|
10660
10724
|
}
|
|
10661
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10662
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10725
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10726
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10727
|
+
signal,
|
|
10728
|
+
searchParams: buildSearchParams$2({
|
|
10729
|
+
from_recurring_task_id,
|
|
10730
|
+
return_occurrence
|
|
10731
|
+
})
|
|
10732
|
+
}).json();
|
|
10663
10733
|
}
|
|
10664
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10734
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10665
10735
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10666
10736
|
signal,
|
|
10667
|
-
json: data
|
|
10737
|
+
json: data,
|
|
10738
|
+
searchParams: buildSearchParams$2({
|
|
10739
|
+
from_recurring_task_id,
|
|
10740
|
+
return_occurrence
|
|
10741
|
+
})
|
|
10668
10742
|
}).json();
|
|
10669
10743
|
}
|
|
10670
10744
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10779,7 +10853,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10779
10853
|
]))
|
|
10780
10854
|
});
|
|
10781
10855
|
//#endregion
|
|
10782
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10856
|
+
//#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
|
|
10783
10857
|
async function getInvitations(httpClient, signal) {
|
|
10784
10858
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10785
10859
|
}
|
|
@@ -10796,7 +10870,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10796
10870
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10797
10871
|
}
|
|
10798
10872
|
//#endregion
|
|
10799
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10873
|
+
//#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
|
|
10800
10874
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10801
10875
|
const searchParams = new URLSearchParams();
|
|
10802
10876
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10808,7 +10882,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10808
10882
|
return searchParams;
|
|
10809
10883
|
}
|
|
10810
10884
|
//#endregion
|
|
10811
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10885
|
+
//#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
|
|
10812
10886
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10813
10887
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10814
10888
|
}
|
|
@@ -10822,7 +10896,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10822
10896
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10823
10897
|
}
|
|
10824
10898
|
//#endregion
|
|
10825
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10899
|
+
//#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
|
|
10826
10900
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10827
10901
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10828
10902
|
}
|
|
@@ -10842,7 +10916,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10842
10916
|
});
|
|
10843
10917
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10844
10918
|
//#endregion
|
|
10845
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10919
|
+
//#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
|
|
10846
10920
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10847
10921
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10848
10922
|
signal,
|
|
@@ -10853,12 +10927,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10853
10927
|
})).json();
|
|
10854
10928
|
}
|
|
10855
10929
|
//#endregion
|
|
10856
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10930
|
+
//#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
|
|
10857
10931
|
async function getStatus(httpClient, signal) {
|
|
10858
10932
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10859
10933
|
}
|
|
10860
10934
|
//#endregion
|
|
10861
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10935
|
+
//#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
|
|
10862
10936
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10863
10937
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10864
10938
|
signal,
|
|
@@ -10886,7 +10960,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10886
10960
|
return response.json();
|
|
10887
10961
|
}
|
|
10888
10962
|
//#endregion
|
|
10889
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10963
|
+
//#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
|
|
10890
10964
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10891
10965
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10892
10966
|
}
|
|
@@ -14463,13 +14537,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14463
14537
|
}
|
|
14464
14538
|
//#endregion
|
|
14465
14539
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14466
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14540
|
+
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) {
|
|
14467
14541
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14468
14542
|
signal,
|
|
14469
14543
|
searchParams: buildSearchParams$2({
|
|
14470
14544
|
workspace_id,
|
|
14471
14545
|
entity_type,
|
|
14472
14546
|
entity_id,
|
|
14547
|
+
project_id,
|
|
14548
|
+
custom_field_id,
|
|
14473
14549
|
action,
|
|
14474
14550
|
user_id,
|
|
14475
14551
|
page_size,
|
|
@@ -14478,12 +14554,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14478
14554
|
})
|
|
14479
14555
|
}).json();
|
|
14480
14556
|
}
|
|
14481
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14557
|
+
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) {
|
|
14482
14558
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14483
14559
|
signal,
|
|
14484
14560
|
searchParams: buildSearchParams$2({
|
|
14485
14561
|
entity_type,
|
|
14486
14562
|
entity_id,
|
|
14563
|
+
project_id,
|
|
14564
|
+
custom_field_id,
|
|
14487
14565
|
action,
|
|
14488
14566
|
user_id,
|
|
14489
14567
|
page_size,
|
|
@@ -14636,13 +14714,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14636
14714
|
}
|
|
14637
14715
|
//#endregion
|
|
14638
14716
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14639
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14717
|
+
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) {
|
|
14640
14718
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14641
14719
|
signal,
|
|
14642
14720
|
searchParams: buildSearchParams$2({
|
|
14643
|
-
user_id,
|
|
14644
14721
|
start_date,
|
|
14645
14722
|
end_date,
|
|
14723
|
+
user_id,
|
|
14724
|
+
team_id,
|
|
14646
14725
|
private: private_,
|
|
14647
14726
|
task_source,
|
|
14648
14727
|
unit,
|
|
@@ -14702,6 +14781,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14702
14781
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14703
14782
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14704
14783
|
}
|
|
14784
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14785
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14786
|
+
}
|
|
14787
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14788
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14789
|
+
signal,
|
|
14790
|
+
json: data
|
|
14791
|
+
}).json();
|
|
14792
|
+
}
|
|
14705
14793
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14706
14794
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14707
14795
|
signal,
|
|
@@ -14741,6 +14829,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14741
14829
|
}).json();
|
|
14742
14830
|
}
|
|
14743
14831
|
//#endregion
|
|
14832
|
+
//#region ../focus-queries/dist/designations/requests.ts
|
|
14833
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14834
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14835
|
+
signal,
|
|
14836
|
+
searchParams: buildSearchParams$2({
|
|
14837
|
+
name,
|
|
14838
|
+
page,
|
|
14839
|
+
per_page,
|
|
14840
|
+
order_by
|
|
14841
|
+
})
|
|
14842
|
+
}).json();
|
|
14843
|
+
}
|
|
14844
|
+
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
14845
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14846
|
+
signal,
|
|
14847
|
+
json: data
|
|
14848
|
+
}).json();
|
|
14849
|
+
}
|
|
14850
|
+
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14851
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14852
|
+
signal,
|
|
14853
|
+
json: data
|
|
14854
|
+
}).json();
|
|
14855
|
+
}
|
|
14856
|
+
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
14857
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14858
|
+
signal,
|
|
14859
|
+
searchParams: buildSearchParams$2({
|
|
14860
|
+
ids,
|
|
14861
|
+
all_or_none
|
|
14862
|
+
})
|
|
14863
|
+
}).json();
|
|
14864
|
+
}
|
|
14865
|
+
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14866
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14867
|
+
signal,
|
|
14868
|
+
json: data
|
|
14869
|
+
}).json();
|
|
14870
|
+
}
|
|
14871
|
+
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
14872
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
14873
|
+
signal,
|
|
14874
|
+
json: data
|
|
14875
|
+
}).json();
|
|
14876
|
+
}
|
|
14877
|
+
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
14878
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
14879
|
+
}
|
|
14880
|
+
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
14881
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
14882
|
+
signal,
|
|
14883
|
+
json: data
|
|
14884
|
+
}).json();
|
|
14885
|
+
}
|
|
14886
|
+
//#endregion
|
|
14744
14887
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14745
14888
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14746
14889
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -14965,7 +15108,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14965
15108
|
}
|
|
14966
15109
|
//#endregion
|
|
14967
15110
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14968
|
-
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) {
|
|
15111
|
+
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) {
|
|
14969
15112
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14970
15113
|
signal,
|
|
14971
15114
|
searchParams: buildSearchParams$2({
|
|
@@ -14991,6 +15134,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14991
15134
|
user_id,
|
|
14992
15135
|
only_me,
|
|
14993
15136
|
include_drafts,
|
|
15137
|
+
include_recurring_series,
|
|
14994
15138
|
cf_filter
|
|
14995
15139
|
})
|
|
14996
15140
|
}).json();
|
|
@@ -15009,9 +15153,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15009
15153
|
json: data
|
|
15010
15154
|
}).json();
|
|
15011
15155
|
}
|
|
15012
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15013
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15014
|
-
}
|
|
15015
15156
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15016
15157
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15017
15158
|
}
|
|
@@ -15037,6 +15178,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15037
15178
|
}).json();
|
|
15038
15179
|
}
|
|
15039
15180
|
//#endregion
|
|
15181
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15182
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15183
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15184
|
+
}
|
|
15185
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15186
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15187
|
+
signal,
|
|
15188
|
+
json: data,
|
|
15189
|
+
searchParams: buildSearchParams$2({
|
|
15190
|
+
response_format,
|
|
15191
|
+
include_dicts
|
|
15192
|
+
})
|
|
15193
|
+
}).json();
|
|
15194
|
+
}
|
|
15195
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15196
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
15197
|
+
signal,
|
|
15198
|
+
json: data,
|
|
15199
|
+
searchParams: buildSearchParams$2({
|
|
15200
|
+
response_format,
|
|
15201
|
+
include_dicts
|
|
15202
|
+
})
|
|
15203
|
+
}).json();
|
|
15204
|
+
}
|
|
15205
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15206
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
15207
|
+
signal,
|
|
15208
|
+
json: data
|
|
15209
|
+
}).json();
|
|
15210
|
+
}
|
|
15211
|
+
//#endregion
|
|
15040
15212
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15041
15213
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15042
15214
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15198,7 +15370,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15198
15370
|
}
|
|
15199
15371
|
//#endregion
|
|
15200
15372
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15201
|
-
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) {
|
|
15373
|
+
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) {
|
|
15202
15374
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15203
15375
|
signal,
|
|
15204
15376
|
searchParams: buildSearchParams$2({
|
|
@@ -15206,6 +15378,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15206
15378
|
per_group,
|
|
15207
15379
|
assignee_user_id,
|
|
15208
15380
|
assignee_team_id,
|
|
15381
|
+
include_unassigned,
|
|
15209
15382
|
project_id,
|
|
15210
15383
|
task_id,
|
|
15211
15384
|
include_drafts,
|
|
@@ -15250,6 +15423,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15250
15423
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15251
15424
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15252
15425
|
}
|
|
15426
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15427
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15428
|
+
}
|
|
15429
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15430
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15431
|
+
}
|
|
15432
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15433
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15434
|
+
signal,
|
|
15435
|
+
json: data
|
|
15436
|
+
}).json();
|
|
15437
|
+
}
|
|
15253
15438
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15254
15439
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15255
15440
|
signal,
|
|
@@ -15259,6 +15444,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15259
15444
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15260
15445
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15261
15446
|
}
|
|
15447
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15448
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15449
|
+
signal,
|
|
15450
|
+
json: data
|
|
15451
|
+
}).json();
|
|
15452
|
+
}
|
|
15453
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15454
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15455
|
+
}
|
|
15456
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15457
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15458
|
+
signal,
|
|
15459
|
+
json: data
|
|
15460
|
+
}).json();
|
|
15461
|
+
}
|
|
15262
15462
|
//#endregion
|
|
15263
15463
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15264
15464
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15315,9 +15515,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15315
15515
|
}
|
|
15316
15516
|
//#endregion
|
|
15317
15517
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15318
|
-
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) {
|
|
15518
|
+
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) {
|
|
15319
15519
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15320
15520
|
signal,
|
|
15521
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15321
15522
|
searchParams: buildSearchParams$2({
|
|
15322
15523
|
project_id,
|
|
15323
15524
|
source,
|
|
@@ -15346,13 +15547,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15346
15547
|
min_days,
|
|
15347
15548
|
include_drafts,
|
|
15348
15549
|
cf_filter,
|
|
15349
|
-
user_cf_filter
|
|
15550
|
+
user_cf_filter,
|
|
15551
|
+
recurring_occurrences_after,
|
|
15552
|
+
max_recurring_occurrences_after,
|
|
15553
|
+
recurring_task_read,
|
|
15554
|
+
include_projected_occurrences
|
|
15350
15555
|
})
|
|
15351
15556
|
}).json();
|
|
15352
15557
|
}
|
|
15353
|
-
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) {
|
|
15558
|
+
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) {
|
|
15354
15559
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15355
15560
|
signal,
|
|
15561
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15356
15562
|
searchParams: buildSearchParams$2({
|
|
15357
15563
|
team_id,
|
|
15358
15564
|
project_id,
|
|
@@ -15381,13 +15587,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15381
15587
|
min_days,
|
|
15382
15588
|
include_drafts,
|
|
15383
15589
|
cf_filter,
|
|
15384
|
-
user_cf_filter
|
|
15590
|
+
user_cf_filter,
|
|
15591
|
+
recurring_occurrences_after,
|
|
15592
|
+
max_recurring_occurrences_after,
|
|
15593
|
+
recurring_task_read,
|
|
15594
|
+
include_projected_occurrences
|
|
15385
15595
|
})
|
|
15386
15596
|
}).json();
|
|
15387
15597
|
}
|
|
15388
|
-
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) {
|
|
15598
|
+
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) {
|
|
15389
15599
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15390
15600
|
signal,
|
|
15601
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15391
15602
|
searchParams: buildSearchParams$2({
|
|
15392
15603
|
source,
|
|
15393
15604
|
priority,
|
|
@@ -15417,6 +15628,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15417
15628
|
include_drafts,
|
|
15418
15629
|
cf_filter,
|
|
15419
15630
|
user_cf_filter,
|
|
15631
|
+
recurring_occurrences_after,
|
|
15632
|
+
max_recurring_occurrences_after,
|
|
15633
|
+
recurring_task_read,
|
|
15634
|
+
include_projected_occurrences,
|
|
15420
15635
|
page,
|
|
15421
15636
|
per_page,
|
|
15422
15637
|
order_by
|
|
@@ -15444,104 +15659,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15444
15659
|
}).json();
|
|
15445
15660
|
}
|
|
15446
15661
|
//#endregion
|
|
15447
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15448
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15449
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15450
|
-
signal,
|
|
15451
|
-
searchParams: buildSearchParams$2({
|
|
15452
|
-
page,
|
|
15453
|
-
per_page,
|
|
15454
|
-
order_by,
|
|
15455
|
-
archived
|
|
15456
|
-
})
|
|
15457
|
-
}).json();
|
|
15458
|
-
}
|
|
15459
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15460
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15461
|
-
signal,
|
|
15462
|
-
json: data
|
|
15463
|
-
}).json();
|
|
15464
|
-
}
|
|
15465
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15466
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15467
|
-
}
|
|
15468
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15469
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15470
|
-
signal,
|
|
15471
|
-
json: data
|
|
15472
|
-
}).json();
|
|
15473
|
-
}
|
|
15474
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15475
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15476
|
-
signal,
|
|
15477
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15478
|
-
}).json();
|
|
15479
|
-
}
|
|
15480
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15481
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15482
|
-
signal,
|
|
15483
|
-
json: data
|
|
15484
|
-
}).json();
|
|
15485
|
-
}
|
|
15486
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15487
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15488
|
-
}
|
|
15489
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15490
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15491
|
-
}
|
|
15492
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15493
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15494
|
-
}
|
|
15495
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15496
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15497
|
-
signal,
|
|
15498
|
-
searchParams: buildSearchParams$2({
|
|
15499
|
-
date_from,
|
|
15500
|
-
date_to,
|
|
15501
|
-
task_id,
|
|
15502
|
-
status_id,
|
|
15503
|
-
page,
|
|
15504
|
-
per_page,
|
|
15505
|
-
archived,
|
|
15506
|
-
order_by
|
|
15507
|
-
})
|
|
15508
|
-
}).json();
|
|
15509
|
-
}
|
|
15510
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15511
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15512
|
-
signal,
|
|
15513
|
-
json: data
|
|
15514
|
-
}).json();
|
|
15515
|
-
}
|
|
15516
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15517
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15518
|
-
signal,
|
|
15519
|
-
searchParams: buildSearchParams$2({
|
|
15520
|
-
ids,
|
|
15521
|
-
outbound_sync
|
|
15522
|
-
})
|
|
15523
|
-
}).json();
|
|
15524
|
-
}
|
|
15525
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15526
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15527
|
-
signal,
|
|
15528
|
-
json: data
|
|
15529
|
-
}).json();
|
|
15530
|
-
}
|
|
15531
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15532
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15533
|
-
signal,
|
|
15534
|
-
searchParams: buildSearchParams$2({
|
|
15535
|
-
date_from,
|
|
15536
|
-
date_to,
|
|
15537
|
-
task_id,
|
|
15538
|
-
status_id,
|
|
15539
|
-
archived,
|
|
15540
|
-
order_by
|
|
15541
|
-
})
|
|
15542
|
-
}).json();
|
|
15543
|
-
}
|
|
15544
|
-
//#endregion
|
|
15545
15662
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15546
15663
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15547
15664
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15579,6 +15696,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15579
15696
|
})
|
|
15580
15697
|
}).json();
|
|
15581
15698
|
}
|
|
15699
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15700
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15701
|
+
}
|
|
15702
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15703
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15704
|
+
}
|
|
15582
15705
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15583
15706
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15584
15707
|
signal,
|
|
@@ -15606,6 +15729,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15606
15729
|
json: data
|
|
15607
15730
|
}).json();
|
|
15608
15731
|
}
|
|
15732
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15733
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15734
|
+
signal,
|
|
15735
|
+
searchParams: buildSearchParams$2({
|
|
15736
|
+
category_id,
|
|
15737
|
+
date
|
|
15738
|
+
})
|
|
15739
|
+
}).json();
|
|
15740
|
+
}
|
|
15741
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15742
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15743
|
+
signal,
|
|
15744
|
+
searchParams: buildSearchParams$2({
|
|
15745
|
+
category_id,
|
|
15746
|
+
year,
|
|
15747
|
+
page,
|
|
15748
|
+
rows
|
|
15749
|
+
})
|
|
15750
|
+
}).json();
|
|
15751
|
+
}
|
|
15609
15752
|
//#endregion
|
|
15610
15753
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15611
15754
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15706,6 +15849,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15706
15849
|
json: data
|
|
15707
15850
|
}).json();
|
|
15708
15851
|
}
|
|
15852
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15853
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15854
|
+
signal,
|
|
15855
|
+
searchParams: buildSearchParams$2({
|
|
15856
|
+
date_from,
|
|
15857
|
+
date_to,
|
|
15858
|
+
setup_id,
|
|
15859
|
+
user_account_ids,
|
|
15860
|
+
approver_user_account_ids,
|
|
15861
|
+
team_ids
|
|
15862
|
+
})
|
|
15863
|
+
}).json();
|
|
15864
|
+
}
|
|
15709
15865
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15710
15866
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15711
15867
|
}
|
|
@@ -15749,7 +15905,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15749
15905
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15750
15906
|
}
|
|
15751
15907
|
//#endregion
|
|
15908
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15909
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15910
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15911
|
+
signal,
|
|
15912
|
+
json: data
|
|
15913
|
+
}).json();
|
|
15914
|
+
}
|
|
15915
|
+
//#endregion
|
|
15752
15916
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15917
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15918
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15919
|
+
}
|
|
15920
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15921
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15922
|
+
}
|
|
15753
15923
|
async function getUserSettings(httpClient, signal) {
|
|
15754
15924
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15755
15925
|
}
|
|
@@ -15989,6 +16159,7 @@ const generatedFocusOperations = [
|
|
|
15989
16159
|
mcp: { entityTool: "audit-log" },
|
|
15990
16160
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15991
16161
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16162
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15992
16163
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15993
16164
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15994
16165
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -15996,6 +16167,7 @@ const generatedFocusOperations = [
|
|
|
15996
16167
|
from: /* @__PURE__ */ string$1(),
|
|
15997
16168
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15998
16169
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16170
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15999
16171
|
to: /* @__PURE__ */ string$1(),
|
|
16000
16172
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16001
16173
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16029,6 +16201,7 @@ const generatedFocusOperations = [
|
|
|
16029
16201
|
mcp: { entityTool: "audit-log" },
|
|
16030
16202
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16031
16203
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16204
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16032
16205
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16033
16206
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16034
16207
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16036,6 +16209,7 @@ const generatedFocusOperations = [
|
|
|
16036
16209
|
from: /* @__PURE__ */ string$1(),
|
|
16037
16210
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16038
16211
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16212
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16039
16213
|
to: /* @__PURE__ */ string$1(),
|
|
16040
16214
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16041
16215
|
}),
|
|
@@ -16075,6 +16249,7 @@ const generatedFocusOperations = [
|
|
|
16075
16249
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16076
16250
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16077
16251
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16252
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16078
16253
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16079
16254
|
user_id: /* @__PURE__ */ number$2()
|
|
16080
16255
|
}),
|
|
@@ -16324,8 +16499,6 @@ const generatedFocusOperations = [
|
|
|
16324
16499
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16325
16500
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16326
16501
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16327
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16328
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16329
16502
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16330
16503
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16331
16504
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16359,8 +16532,6 @@ const generatedFocusOperations = [
|
|
|
16359
16532
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16360
16533
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16361
16534
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16362
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16363
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16364
16535
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16365
16536
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16366
16537
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16376,12 +16547,6 @@ const generatedFocusOperations = [
|
|
|
16376
16547
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16377
16548
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16378
16549
|
}))),
|
|
16379
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16380
|
-
start: apiDateTimeString,
|
|
16381
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16382
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16383
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16384
|
-
}))),
|
|
16385
16550
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16386
16551
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16387
16552
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16391,13 +16556,6 @@ const generatedFocusOperations = [
|
|
|
16391
16556
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16392
16557
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16393
16558
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16394
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16395
|
-
start: apiDateTimeString,
|
|
16396
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16397
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16398
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16399
|
-
})),
|
|
16400
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16401
16559
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16402
16560
|
}))
|
|
16403
16561
|
}) }),
|
|
@@ -16515,6 +16673,33 @@ const generatedFocusOperations = [
|
|
|
16515
16673
|
]));
|
|
16516
16674
|
}
|
|
16517
16675
|
},
|
|
16676
|
+
{
|
|
16677
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16678
|
+
family: "focus",
|
|
16679
|
+
resource: "custom-fields",
|
|
16680
|
+
action: "get-allowed-users",
|
|
16681
|
+
title: "Get Allowed Users Custom Fields",
|
|
16682
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16683
|
+
safety: "read",
|
|
16684
|
+
destructive: false,
|
|
16685
|
+
cli: {
|
|
16686
|
+
group: ["custom-fields"],
|
|
16687
|
+
command: "get-allowed-users",
|
|
16688
|
+
interactive: "available"
|
|
16689
|
+
},
|
|
16690
|
+
mcp: { entityTool: "custom-fields" },
|
|
16691
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16692
|
+
execute: (input, { client }) => {
|
|
16693
|
+
const data = input;
|
|
16694
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16695
|
+
client.httpClient,
|
|
16696
|
+
client.organizationId,
|
|
16697
|
+
client.workspaceIdNumber,
|
|
16698
|
+
data.custom_field_id,
|
|
16699
|
+
void 0
|
|
16700
|
+
]));
|
|
16701
|
+
}
|
|
16702
|
+
},
|
|
16518
16703
|
{
|
|
16519
16704
|
id: "focus.custom-fields.list",
|
|
16520
16705
|
family: "focus",
|
|
@@ -16684,6 +16869,37 @@ const generatedFocusOperations = [
|
|
|
16684
16869
|
]));
|
|
16685
16870
|
}
|
|
16686
16871
|
},
|
|
16872
|
+
{
|
|
16873
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16874
|
+
family: "focus",
|
|
16875
|
+
resource: "custom-fields",
|
|
16876
|
+
action: "replace-custom-field-allowed-users",
|
|
16877
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16878
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16879
|
+
safety: "update",
|
|
16880
|
+
destructive: false,
|
|
16881
|
+
cli: {
|
|
16882
|
+
group: ["custom-fields"],
|
|
16883
|
+
command: "replace-custom-field-allowed-users",
|
|
16884
|
+
interactive: "default"
|
|
16885
|
+
},
|
|
16886
|
+
mcp: { entityTool: "custom-fields" },
|
|
16887
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16888
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16889
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16890
|
+
}),
|
|
16891
|
+
execute: (input, { client }) => {
|
|
16892
|
+
const data = input;
|
|
16893
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16894
|
+
client.httpClient,
|
|
16895
|
+
client.organizationId,
|
|
16896
|
+
client.workspaceIdNumber,
|
|
16897
|
+
data.custom_field_id,
|
|
16898
|
+
data.payload ?? data.data ?? data,
|
|
16899
|
+
void 0
|
|
16900
|
+
]));
|
|
16901
|
+
}
|
|
16902
|
+
},
|
|
16687
16903
|
{
|
|
16688
16904
|
id: "focus.custom-fields.update",
|
|
16689
16905
|
family: "focus",
|
|
@@ -16814,6 +17030,256 @@ const generatedFocusOperations = [
|
|
|
16814
17030
|
]));
|
|
16815
17031
|
}
|
|
16816
17032
|
},
|
|
17033
|
+
{
|
|
17034
|
+
id: "focus.designations.bulk-create-workspace",
|
|
17035
|
+
family: "focus",
|
|
17036
|
+
resource: "designations",
|
|
17037
|
+
action: "bulk-create-workspace",
|
|
17038
|
+
title: "Bulk Create Workspace Designations",
|
|
17039
|
+
description: "Bulk Create Workspace Designations.",
|
|
17040
|
+
safety: "create",
|
|
17041
|
+
destructive: false,
|
|
17042
|
+
cli: {
|
|
17043
|
+
group: ["designations", "bulk"],
|
|
17044
|
+
command: "create-workspace",
|
|
17045
|
+
interactive: "default"
|
|
17046
|
+
},
|
|
17047
|
+
mcp: { entityTool: "designations" },
|
|
17048
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17049
|
+
name: /* @__PURE__ */ string$1(),
|
|
17050
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17051
|
+
})) }) }),
|
|
17052
|
+
execute: (input, { client }) => {
|
|
17053
|
+
const data = input;
|
|
17054
|
+
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
17055
|
+
client.httpClient,
|
|
17056
|
+
client.organizationId,
|
|
17057
|
+
client.workspaceIdNumber,
|
|
17058
|
+
data.payload ?? data.data ?? data,
|
|
17059
|
+
void 0
|
|
17060
|
+
]));
|
|
17061
|
+
}
|
|
17062
|
+
},
|
|
17063
|
+
{
|
|
17064
|
+
id: "focus.designations.bulk-delete-workspace",
|
|
17065
|
+
family: "focus",
|
|
17066
|
+
resource: "designations",
|
|
17067
|
+
action: "bulk-delete-workspace",
|
|
17068
|
+
title: "Bulk Delete Workspace Designations",
|
|
17069
|
+
description: "Bulk Delete Workspace Designations.",
|
|
17070
|
+
safety: "delete",
|
|
17071
|
+
destructive: true,
|
|
17072
|
+
cli: {
|
|
17073
|
+
group: ["designations", "bulk"],
|
|
17074
|
+
command: "delete-workspace",
|
|
17075
|
+
interactive: "default"
|
|
17076
|
+
},
|
|
17077
|
+
mcp: { entityTool: "designations" },
|
|
17078
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17079
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17080
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17081
|
+
}),
|
|
17082
|
+
execute: (input, { client }) => {
|
|
17083
|
+
const data = input;
|
|
17084
|
+
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
17085
|
+
client.httpClient,
|
|
17086
|
+
client.organizationId,
|
|
17087
|
+
client.workspaceIdNumber,
|
|
17088
|
+
data.ids,
|
|
17089
|
+
data.all_or_none,
|
|
17090
|
+
void 0
|
|
17091
|
+
]));
|
|
17092
|
+
}
|
|
17093
|
+
},
|
|
17094
|
+
{
|
|
17095
|
+
id: "focus.designations.bulk-update-workspace",
|
|
17096
|
+
family: "focus",
|
|
17097
|
+
resource: "designations",
|
|
17098
|
+
action: "bulk-update-workspace",
|
|
17099
|
+
title: "Bulk Update Workspace Designations",
|
|
17100
|
+
description: "Bulk Update Workspace Designations.",
|
|
17101
|
+
safety: "update",
|
|
17102
|
+
destructive: false,
|
|
17103
|
+
cli: {
|
|
17104
|
+
group: ["designations", "bulk"],
|
|
17105
|
+
command: "update-workspace",
|
|
17106
|
+
interactive: "default"
|
|
17107
|
+
},
|
|
17108
|
+
mcp: { entityTool: "designations" },
|
|
17109
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17110
|
+
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17111
|
+
id: /* @__PURE__ */ number$2(),
|
|
17112
|
+
name: /* @__PURE__ */ string$1()
|
|
17113
|
+
})),
|
|
17114
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17115
|
+
}) }),
|
|
17116
|
+
execute: (input, { client }) => {
|
|
17117
|
+
const data = input;
|
|
17118
|
+
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
17119
|
+
client.httpClient,
|
|
17120
|
+
client.organizationId,
|
|
17121
|
+
client.workspaceIdNumber,
|
|
17122
|
+
data.payload ?? data.data ?? data,
|
|
17123
|
+
void 0
|
|
17124
|
+
]));
|
|
17125
|
+
}
|
|
17126
|
+
},
|
|
17127
|
+
{
|
|
17128
|
+
id: "focus.designations.create-workspace",
|
|
17129
|
+
family: "focus",
|
|
17130
|
+
resource: "designations",
|
|
17131
|
+
action: "create-workspace",
|
|
17132
|
+
title: "Create Workspace Designations",
|
|
17133
|
+
description: "Create Workspace Designations.",
|
|
17134
|
+
safety: "create",
|
|
17135
|
+
destructive: false,
|
|
17136
|
+
cli: {
|
|
17137
|
+
group: ["designations"],
|
|
17138
|
+
command: "create-workspace",
|
|
17139
|
+
interactive: "default"
|
|
17140
|
+
},
|
|
17141
|
+
mcp: { entityTool: "designations" },
|
|
17142
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17143
|
+
name: /* @__PURE__ */ string$1(),
|
|
17144
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17145
|
+
}) }),
|
|
17146
|
+
execute: (input, { client }) => {
|
|
17147
|
+
const data = input;
|
|
17148
|
+
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
17149
|
+
client.httpClient,
|
|
17150
|
+
client.organizationId,
|
|
17151
|
+
client.workspaceIdNumber,
|
|
17152
|
+
data.payload ?? data.data ?? data,
|
|
17153
|
+
void 0
|
|
17154
|
+
]));
|
|
17155
|
+
}
|
|
17156
|
+
},
|
|
17157
|
+
{
|
|
17158
|
+
id: "focus.designations.delete-workspace",
|
|
17159
|
+
family: "focus",
|
|
17160
|
+
resource: "designations",
|
|
17161
|
+
action: "delete-workspace",
|
|
17162
|
+
title: "Delete Workspace Designations",
|
|
17163
|
+
description: "Delete Workspace Designations.",
|
|
17164
|
+
safety: "delete",
|
|
17165
|
+
destructive: true,
|
|
17166
|
+
cli: {
|
|
17167
|
+
group: ["designations"],
|
|
17168
|
+
command: "delete-workspace",
|
|
17169
|
+
interactive: "default"
|
|
17170
|
+
},
|
|
17171
|
+
mcp: { entityTool: "designations" },
|
|
17172
|
+
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
17173
|
+
execute: (input, { client }) => {
|
|
17174
|
+
const data = input;
|
|
17175
|
+
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
17176
|
+
client.httpClient,
|
|
17177
|
+
client.organizationId,
|
|
17178
|
+
client.workspaceIdNumber,
|
|
17179
|
+
data.designation_id,
|
|
17180
|
+
void 0
|
|
17181
|
+
]));
|
|
17182
|
+
}
|
|
17183
|
+
},
|
|
17184
|
+
{
|
|
17185
|
+
id: "focus.designations.get-workspace-designations",
|
|
17186
|
+
family: "focus",
|
|
17187
|
+
resource: "designations",
|
|
17188
|
+
action: "get-workspace-designations",
|
|
17189
|
+
title: "Get Workspace Designations Designations",
|
|
17190
|
+
description: "Get Workspace Designations Designations.",
|
|
17191
|
+
safety: "read",
|
|
17192
|
+
destructive: false,
|
|
17193
|
+
cli: {
|
|
17194
|
+
group: ["designations"],
|
|
17195
|
+
command: "get-workspace-designations",
|
|
17196
|
+
interactive: "hidden"
|
|
17197
|
+
},
|
|
17198
|
+
mcp: { entityTool: "designations" },
|
|
17199
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17200
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17201
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17202
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17203
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17204
|
+
}),
|
|
17205
|
+
execute: (input, { client }) => {
|
|
17206
|
+
const data = input;
|
|
17207
|
+
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
17208
|
+
client.httpClient,
|
|
17209
|
+
client.organizationId,
|
|
17210
|
+
client.workspaceIdNumber,
|
|
17211
|
+
data,
|
|
17212
|
+
void 0
|
|
17213
|
+
]));
|
|
17214
|
+
}
|
|
17215
|
+
},
|
|
17216
|
+
{
|
|
17217
|
+
id: "focus.designations.update-workspace",
|
|
17218
|
+
family: "focus",
|
|
17219
|
+
resource: "designations",
|
|
17220
|
+
action: "update-workspace",
|
|
17221
|
+
title: "Update Workspace Designations",
|
|
17222
|
+
description: "Update Workspace Designations.",
|
|
17223
|
+
safety: "update",
|
|
17224
|
+
destructive: false,
|
|
17225
|
+
cli: {
|
|
17226
|
+
group: ["designations"],
|
|
17227
|
+
command: "update-workspace",
|
|
17228
|
+
interactive: "default"
|
|
17229
|
+
},
|
|
17230
|
+
mcp: { entityTool: "designations" },
|
|
17231
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17232
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17233
|
+
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
17234
|
+
}),
|
|
17235
|
+
execute: (input, { client }) => {
|
|
17236
|
+
const data = input;
|
|
17237
|
+
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
17238
|
+
client.httpClient,
|
|
17239
|
+
client.organizationId,
|
|
17240
|
+
client.workspaceIdNumber,
|
|
17241
|
+
data.designation_id,
|
|
17242
|
+
data.payload ?? data.data ?? data,
|
|
17243
|
+
void 0
|
|
17244
|
+
]));
|
|
17245
|
+
}
|
|
17246
|
+
},
|
|
17247
|
+
{
|
|
17248
|
+
id: "focus.designations.update-workspace-designation-members",
|
|
17249
|
+
family: "focus",
|
|
17250
|
+
resource: "designations",
|
|
17251
|
+
action: "update-workspace-designation-members",
|
|
17252
|
+
title: "Update Workspace Designation Members Designations",
|
|
17253
|
+
description: "Update Workspace Designation Members Designations.",
|
|
17254
|
+
safety: "update",
|
|
17255
|
+
destructive: false,
|
|
17256
|
+
cli: {
|
|
17257
|
+
group: ["designations"],
|
|
17258
|
+
command: "update-workspace-designation-members",
|
|
17259
|
+
interactive: "default"
|
|
17260
|
+
},
|
|
17261
|
+
mcp: { entityTool: "designations" },
|
|
17262
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17263
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17264
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17265
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17266
|
+
}))),
|
|
17267
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17268
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17269
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17270
|
+
})))
|
|
17271
|
+
}) }),
|
|
17272
|
+
execute: (input, { client }) => {
|
|
17273
|
+
const data = input;
|
|
17274
|
+
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
17275
|
+
client.httpClient,
|
|
17276
|
+
client.organizationId,
|
|
17277
|
+
client.workspaceIdNumber,
|
|
17278
|
+
data.payload ?? data.data ?? data,
|
|
17279
|
+
void 0
|
|
17280
|
+
]));
|
|
17281
|
+
}
|
|
17282
|
+
},
|
|
16817
17283
|
{
|
|
16818
17284
|
id: "focus.goals.create",
|
|
16819
17285
|
family: "focus",
|
|
@@ -16830,13 +17296,7 @@ const generatedFocusOperations = [
|
|
|
16830
17296
|
},
|
|
16831
17297
|
mcp: { entityTool: "goals" },
|
|
16832
17298
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16833
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16834
17299
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16835
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16836
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16837
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16838
|
-
name: /* @__PURE__ */ string$1(),
|
|
16839
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16840
17300
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16841
17301
|
"daily",
|
|
16842
17302
|
"weekly",
|
|
@@ -16844,12 +17304,18 @@ const generatedFocusOperations = [
|
|
|
16844
17304
|
"monthly"
|
|
16845
17305
|
]),
|
|
16846
17306
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16847
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16848
17307
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16849
|
-
|
|
16850
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17308
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16851
17309
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16852
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17310
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17311
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17312
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17313
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17314
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17315
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17316
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17317
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17318
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16853
17319
|
}) }),
|
|
16854
17320
|
execute: (input, { client }) => {
|
|
16855
17321
|
const data = input;
|
|
@@ -16955,13 +17421,6 @@ const generatedFocusOperations = [
|
|
|
16955
17421
|
},
|
|
16956
17422
|
mcp: { entityTool: "goals" },
|
|
16957
17423
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16958
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16959
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16960
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16961
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16962
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16963
|
-
name: /* @__PURE__ */ string$1(),
|
|
16964
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16965
17424
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16966
17425
|
"daily",
|
|
16967
17426
|
"weekly",
|
|
@@ -16969,12 +17428,19 @@ const generatedFocusOperations = [
|
|
|
16969
17428
|
"monthly"
|
|
16970
17429
|
]),
|
|
16971
17430
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16972
|
-
|
|
16973
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16974
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16975
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17431
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16976
17432
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16977
|
-
|
|
17433
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17434
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17435
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17436
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17437
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17438
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17439
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17440
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17441
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17442
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17443
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16978
17444
|
}) }),
|
|
16979
17445
|
execute: (input, { client }) => {
|
|
16980
17446
|
const data = input;
|
|
@@ -17941,9 +18407,17 @@ const generatedFocusOperations = [
|
|
|
17941
18407
|
mcp: { entityTool: "projects" },
|
|
17942
18408
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17943
18409
|
payload: /* @__PURE__ */ looseObject({
|
|
18410
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18411
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
17944
18412
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17945
18413
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17946
18414
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18415
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18416
|
+
"expire",
|
|
18417
|
+
"carry_all",
|
|
18418
|
+
"carry_over"
|
|
18419
|
+
])),
|
|
18420
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17947
18421
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
17948
18422
|
}),
|
|
17949
18423
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18387,6 +18861,7 @@ const generatedFocusOperations = [
|
|
|
18387
18861
|
group: /* @__PURE__ */ string$1(),
|
|
18388
18862
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18389
18863
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18864
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18390
18865
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18391
18866
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18392
18867
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18489,29 +18964,6 @@ const generatedFocusOperations = [
|
|
|
18489
18964
|
]));
|
|
18490
18965
|
}
|
|
18491
18966
|
},
|
|
18492
|
-
{
|
|
18493
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18494
|
-
family: "focus",
|
|
18495
|
-
resource: "projects",
|
|
18496
|
-
action: "margin-targets-clear-workspace",
|
|
18497
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18498
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18499
|
-
safety: "delete",
|
|
18500
|
-
destructive: true,
|
|
18501
|
-
cli: {
|
|
18502
|
-
group: ["projects", "margin-targets"],
|
|
18503
|
-
command: "clear-workspace",
|
|
18504
|
-
interactive: "default"
|
|
18505
|
-
},
|
|
18506
|
-
mcp: { entityTool: "projects" },
|
|
18507
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18508
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18509
|
-
client.httpClient,
|
|
18510
|
-
client.organizationId,
|
|
18511
|
-
client.workspaceIdNumber,
|
|
18512
|
-
void 0
|
|
18513
|
-
]))
|
|
18514
|
-
},
|
|
18515
18967
|
{
|
|
18516
18968
|
id: "focus.projects.margin-targets-get",
|
|
18517
18969
|
family: "focus",
|
|
@@ -18957,16 +19409,140 @@ const generatedFocusOperations = [
|
|
|
18957
19409
|
}
|
|
18958
19410
|
},
|
|
18959
19411
|
{
|
|
18960
|
-
id: "focus.
|
|
19412
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
18961
19413
|
family: "focus",
|
|
18962
|
-
resource: "
|
|
18963
|
-
action: "
|
|
18964
|
-
title: "
|
|
18965
|
-
description: "
|
|
18966
|
-
safety: "
|
|
19414
|
+
resource: "publicsharedreports",
|
|
19415
|
+
action: "open-public-shared-report",
|
|
19416
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
19417
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
19418
|
+
safety: "read",
|
|
18967
19419
|
destructive: false,
|
|
18968
19420
|
cli: {
|
|
18969
|
-
group: ["
|
|
19421
|
+
group: ["publicsharedreports"],
|
|
19422
|
+
command: "open-public-shared-report",
|
|
19423
|
+
interactive: "available"
|
|
19424
|
+
},
|
|
19425
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19426
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19427
|
+
execute: (input, { client }) => {
|
|
19428
|
+
const data = input;
|
|
19429
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19430
|
+
client.httpClient,
|
|
19431
|
+
data.token,
|
|
19432
|
+
void 0
|
|
19433
|
+
]));
|
|
19434
|
+
}
|
|
19435
|
+
},
|
|
19436
|
+
{
|
|
19437
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19438
|
+
family: "focus",
|
|
19439
|
+
resource: "publicsharedreports",
|
|
19440
|
+
action: "profitability-public-shared-report",
|
|
19441
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19442
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19443
|
+
safety: "update",
|
|
19444
|
+
destructive: false,
|
|
19445
|
+
cli: {
|
|
19446
|
+
group: ["publicsharedreports"],
|
|
19447
|
+
command: "profitability-public-shared-report",
|
|
19448
|
+
interactive: "default"
|
|
19449
|
+
},
|
|
19450
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19451
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19452
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19453
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19454
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19455
|
+
token: /* @__PURE__ */ string$1()
|
|
19456
|
+
}),
|
|
19457
|
+
execute: (input, { client }) => {
|
|
19458
|
+
const data = input;
|
|
19459
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19460
|
+
client.httpClient,
|
|
19461
|
+
data.token,
|
|
19462
|
+
data.payload ?? data.data ?? data,
|
|
19463
|
+
data.response_format,
|
|
19464
|
+
data.include_dicts,
|
|
19465
|
+
void 0
|
|
19466
|
+
]));
|
|
19467
|
+
}
|
|
19468
|
+
},
|
|
19469
|
+
{
|
|
19470
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19471
|
+
family: "focus",
|
|
19472
|
+
resource: "publicsharedreports",
|
|
19473
|
+
action: "query-public-shared-report",
|
|
19474
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
19475
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
19476
|
+
safety: "update",
|
|
19477
|
+
destructive: false,
|
|
19478
|
+
cli: {
|
|
19479
|
+
group: ["publicsharedreports"],
|
|
19480
|
+
command: "query-public-shared-report",
|
|
19481
|
+
interactive: "default"
|
|
19482
|
+
},
|
|
19483
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19484
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19485
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19486
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19487
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19488
|
+
"json_row",
|
|
19489
|
+
"table",
|
|
19490
|
+
"hierarchical"
|
|
19491
|
+
])),
|
|
19492
|
+
token: /* @__PURE__ */ string$1()
|
|
19493
|
+
}),
|
|
19494
|
+
execute: (input, { client }) => {
|
|
19495
|
+
const data = input;
|
|
19496
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19497
|
+
client.httpClient,
|
|
19498
|
+
data.token,
|
|
19499
|
+
data.payload ?? data.data ?? data,
|
|
19500
|
+
data.response_format,
|
|
19501
|
+
data.include_dicts,
|
|
19502
|
+
void 0
|
|
19503
|
+
]));
|
|
19504
|
+
}
|
|
19505
|
+
},
|
|
19506
|
+
{
|
|
19507
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19508
|
+
family: "focus",
|
|
19509
|
+
resource: "publicsharedreports",
|
|
19510
|
+
action: "workload-public-shared-report",
|
|
19511
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
19512
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19513
|
+
safety: "update",
|
|
19514
|
+
destructive: false,
|
|
19515
|
+
cli: {
|
|
19516
|
+
group: ["publicsharedreports"],
|
|
19517
|
+
command: "workload-public-shared-report",
|
|
19518
|
+
interactive: "default"
|
|
19519
|
+
},
|
|
19520
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19521
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19522
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19523
|
+
token: /* @__PURE__ */ string$1()
|
|
19524
|
+
}),
|
|
19525
|
+
execute: (input, { client }) => {
|
|
19526
|
+
const data = input;
|
|
19527
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19528
|
+
client.httpClient,
|
|
19529
|
+
data.token,
|
|
19530
|
+
data.payload ?? data.data ?? data,
|
|
19531
|
+
void 0
|
|
19532
|
+
]));
|
|
19533
|
+
}
|
|
19534
|
+
},
|
|
19535
|
+
{
|
|
19536
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19537
|
+
family: "focus",
|
|
19538
|
+
resource: "rates",
|
|
19539
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
19540
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
19541
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
19542
|
+
safety: "update",
|
|
19543
|
+
destructive: false,
|
|
19544
|
+
cli: {
|
|
19545
|
+
group: ["rates", "billable"],
|
|
18970
19546
|
command: "check-project-billable-rate-conflicts",
|
|
18971
19547
|
interactive: "default"
|
|
18972
19548
|
},
|
|
@@ -20914,7 +21490,7 @@ const generatedFocusOperations = [
|
|
|
20914
21490
|
cli: {
|
|
20915
21491
|
group: ["reportschedules"],
|
|
20916
21492
|
command: "upsert-saved-view-schedule",
|
|
20917
|
-
interactive: "
|
|
21493
|
+
interactive: "hidden"
|
|
20918
21494
|
},
|
|
20919
21495
|
mcp: { entityTool: "reportschedules" },
|
|
20920
21496
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -20925,8 +21501,10 @@ const generatedFocusOperations = [
|
|
|
20925
21501
|
"weekly",
|
|
20926
21502
|
"monthly"
|
|
20927
21503
|
]),
|
|
21504
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
20928
21505
|
time: /* @__PURE__ */ string$1(),
|
|
20929
21506
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21507
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20930
21508
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20931
21509
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20932
21510
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21259,6 +21837,32 @@ const generatedFocusOperations = [
|
|
|
21259
21837
|
]));
|
|
21260
21838
|
}
|
|
21261
21839
|
},
|
|
21840
|
+
{
|
|
21841
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
21842
|
+
family: "focus",
|
|
21843
|
+
resource: "sharedreports",
|
|
21844
|
+
action: "get-shared-report-dates",
|
|
21845
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
21846
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
21847
|
+
safety: "read",
|
|
21848
|
+
destructive: false,
|
|
21849
|
+
cli: {
|
|
21850
|
+
group: ["sharedreports"],
|
|
21851
|
+
command: "get-shared-report-dates",
|
|
21852
|
+
interactive: "available"
|
|
21853
|
+
},
|
|
21854
|
+
mcp: { entityTool: "sharedreports" },
|
|
21855
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21856
|
+
execute: (input, { client }) => {
|
|
21857
|
+
const data = input;
|
|
21858
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21859
|
+
client.httpClient,
|
|
21860
|
+
client.workspaceIdNumber,
|
|
21861
|
+
data.id,
|
|
21862
|
+
void 0
|
|
21863
|
+
]));
|
|
21864
|
+
}
|
|
21865
|
+
},
|
|
21262
21866
|
{
|
|
21263
21867
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21264
21868
|
family: "focus",
|
|
@@ -21329,6 +21933,36 @@ const generatedFocusOperations = [
|
|
|
21329
21933
|
void 0
|
|
21330
21934
|
]))
|
|
21331
21935
|
},
|
|
21936
|
+
{
|
|
21937
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
21938
|
+
family: "focus",
|
|
21939
|
+
resource: "sharedreports",
|
|
21940
|
+
action: "mint-shared-report-link",
|
|
21941
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
21942
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
21943
|
+
safety: "update",
|
|
21944
|
+
destructive: false,
|
|
21945
|
+
cli: {
|
|
21946
|
+
group: ["sharedreports"],
|
|
21947
|
+
command: "mint-shared-report-link",
|
|
21948
|
+
interactive: "default"
|
|
21949
|
+
},
|
|
21950
|
+
mcp: { entityTool: "sharedreports" },
|
|
21951
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21952
|
+
id: /* @__PURE__ */ number$2(),
|
|
21953
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21954
|
+
}),
|
|
21955
|
+
execute: (input, { client }) => {
|
|
21956
|
+
const data = input;
|
|
21957
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21958
|
+
client.httpClient,
|
|
21959
|
+
client.workspaceIdNumber,
|
|
21960
|
+
data.id,
|
|
21961
|
+
data.payload ?? data.data ?? data,
|
|
21962
|
+
void 0
|
|
21963
|
+
]));
|
|
21964
|
+
}
|
|
21965
|
+
},
|
|
21332
21966
|
{
|
|
21333
21967
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21334
21968
|
family: "focus",
|
|
@@ -21359,6 +21993,92 @@ const generatedFocusOperations = [
|
|
|
21359
21993
|
]));
|
|
21360
21994
|
}
|
|
21361
21995
|
},
|
|
21996
|
+
{
|
|
21997
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21998
|
+
family: "focus",
|
|
21999
|
+
resource: "sharedreports",
|
|
22000
|
+
action: "revoke-shared-report-link",
|
|
22001
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
22002
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
22003
|
+
safety: "delete",
|
|
22004
|
+
destructive: true,
|
|
22005
|
+
cli: {
|
|
22006
|
+
group: ["sharedreports"],
|
|
22007
|
+
command: "revoke-shared-report-link",
|
|
22008
|
+
interactive: "default"
|
|
22009
|
+
},
|
|
22010
|
+
mcp: { entityTool: "sharedreports" },
|
|
22011
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22012
|
+
execute: (input, { client }) => {
|
|
22013
|
+
const data = input;
|
|
22014
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
22015
|
+
client.httpClient,
|
|
22016
|
+
client.workspaceIdNumber,
|
|
22017
|
+
data.id,
|
|
22018
|
+
void 0
|
|
22019
|
+
]));
|
|
22020
|
+
}
|
|
22021
|
+
},
|
|
22022
|
+
{
|
|
22023
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
22024
|
+
family: "focus",
|
|
22025
|
+
resource: "sharedreports",
|
|
22026
|
+
action: "rotate-shared-report-link",
|
|
22027
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
22028
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
22029
|
+
safety: "update",
|
|
22030
|
+
destructive: false,
|
|
22031
|
+
cli: {
|
|
22032
|
+
group: ["sharedreports"],
|
|
22033
|
+
command: "rotate-shared-report-link",
|
|
22034
|
+
interactive: "default"
|
|
22035
|
+
},
|
|
22036
|
+
mcp: { entityTool: "sharedreports" },
|
|
22037
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22038
|
+
id: /* @__PURE__ */ number$2(),
|
|
22039
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
22040
|
+
}),
|
|
22041
|
+
execute: (input, { client }) => {
|
|
22042
|
+
const data = input;
|
|
22043
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
22044
|
+
client.httpClient,
|
|
22045
|
+
client.workspaceIdNumber,
|
|
22046
|
+
data.id,
|
|
22047
|
+
data.payload ?? data.data ?? data,
|
|
22048
|
+
void 0
|
|
22049
|
+
]));
|
|
22050
|
+
}
|
|
22051
|
+
},
|
|
22052
|
+
{
|
|
22053
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
22054
|
+
family: "focus",
|
|
22055
|
+
resource: "sharedreports",
|
|
22056
|
+
action: "set-shared-report-dates-lock",
|
|
22057
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
22058
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
22059
|
+
safety: "update",
|
|
22060
|
+
destructive: false,
|
|
22061
|
+
cli: {
|
|
22062
|
+
group: ["sharedreports"],
|
|
22063
|
+
command: "set-shared-report-dates-lock",
|
|
22064
|
+
interactive: "default"
|
|
22065
|
+
},
|
|
22066
|
+
mcp: { entityTool: "sharedreports" },
|
|
22067
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22068
|
+
id: /* @__PURE__ */ number$2(),
|
|
22069
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
22070
|
+
}),
|
|
22071
|
+
execute: (input, { client }) => {
|
|
22072
|
+
const data = input;
|
|
22073
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
22074
|
+
client.httpClient,
|
|
22075
|
+
client.workspaceIdNumber,
|
|
22076
|
+
data.id,
|
|
22077
|
+
data.payload ?? data.data ?? data,
|
|
22078
|
+
void 0
|
|
22079
|
+
]));
|
|
22080
|
+
}
|
|
22081
|
+
},
|
|
21362
22082
|
{
|
|
21363
22083
|
id: "focus.sharedreports.share-saved-view",
|
|
21364
22084
|
family: "focus",
|
|
@@ -21433,6 +22153,32 @@ const generatedFocusOperations = [
|
|
|
21433
22153
|
]));
|
|
21434
22154
|
}
|
|
21435
22155
|
},
|
|
22156
|
+
{
|
|
22157
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
22158
|
+
family: "focus",
|
|
22159
|
+
resource: "sharedreports",
|
|
22160
|
+
action: "unshare-shared-report",
|
|
22161
|
+
title: "Unshare Shared Report Sharedreports",
|
|
22162
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
22163
|
+
safety: "delete",
|
|
22164
|
+
destructive: true,
|
|
22165
|
+
cli: {
|
|
22166
|
+
group: ["sharedreports"],
|
|
22167
|
+
command: "unshare-shared-report",
|
|
22168
|
+
interactive: "default"
|
|
22169
|
+
},
|
|
22170
|
+
mcp: { entityTool: "sharedreports" },
|
|
22171
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22172
|
+
execute: (input, { client }) => {
|
|
22173
|
+
const data = input;
|
|
22174
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22175
|
+
client.httpClient,
|
|
22176
|
+
client.workspaceIdNumber,
|
|
22177
|
+
data.id,
|
|
22178
|
+
void 0
|
|
22179
|
+
]));
|
|
22180
|
+
}
|
|
22181
|
+
},
|
|
21436
22182
|
{
|
|
21437
22183
|
id: "focus.statuses.create-status",
|
|
21438
22184
|
family: "focus",
|
|
@@ -22475,6 +23221,37 @@ const generatedFocusOperations = [
|
|
|
22475
23221
|
return client.createTask(data);
|
|
22476
23222
|
}
|
|
22477
23223
|
},
|
|
23224
|
+
{
|
|
23225
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
23226
|
+
family: "focus",
|
|
23227
|
+
resource: "tasks",
|
|
23228
|
+
action: "create-recurring-occurrence",
|
|
23229
|
+
title: "Create Recurring Occurrence Tasks",
|
|
23230
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
23231
|
+
safety: "create",
|
|
23232
|
+
destructive: false,
|
|
23233
|
+
cli: {
|
|
23234
|
+
group: ["tasks"],
|
|
23235
|
+
command: "create-recurring-occurrence",
|
|
23236
|
+
interactive: "default"
|
|
23237
|
+
},
|
|
23238
|
+
mcp: { entityTool: "tasks" },
|
|
23239
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23240
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23241
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23242
|
+
}),
|
|
23243
|
+
execute: (input, { client }) => {
|
|
23244
|
+
const data = input;
|
|
23245
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23246
|
+
client.httpClient,
|
|
23247
|
+
client.organizationId,
|
|
23248
|
+
client.workspaceIdNumber,
|
|
23249
|
+
data.task_id,
|
|
23250
|
+
data.return_occurrence,
|
|
23251
|
+
void 0
|
|
23252
|
+
]));
|
|
23253
|
+
}
|
|
23254
|
+
},
|
|
22478
23255
|
{
|
|
22479
23256
|
id: "focus.tasks.delete",
|
|
22480
23257
|
family: "focus",
|
|
@@ -22700,48 +23477,125 @@ const generatedFocusOperations = [
|
|
|
22700
23477
|
}
|
|
22701
23478
|
},
|
|
22702
23479
|
{
|
|
22703
|
-
id: "focus.tasks.get-
|
|
23480
|
+
id: "focus.tasks.get-picker-task-children",
|
|
22704
23481
|
family: "focus",
|
|
22705
23482
|
resource: "tasks",
|
|
22706
|
-
action: "get-
|
|
22707
|
-
title: "Get
|
|
22708
|
-
description: "Get
|
|
23483
|
+
action: "get-picker-task-children",
|
|
23484
|
+
title: "Get Picker Task Children Tasks",
|
|
23485
|
+
description: "Get Picker Task Children Tasks.",
|
|
22709
23486
|
safety: "read",
|
|
22710
23487
|
destructive: false,
|
|
22711
23488
|
cli: {
|
|
22712
23489
|
group: ["tasks"],
|
|
22713
|
-
command: "get-
|
|
23490
|
+
command: "get-picker-task-children",
|
|
22714
23491
|
interactive: "hidden"
|
|
22715
23492
|
},
|
|
22716
23493
|
mcp: { entityTool: "tasks" },
|
|
22717
23494
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22718
|
-
|
|
22719
|
-
|
|
22720
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22721
|
-
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22722
|
-
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22723
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22724
|
-
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23495
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23496
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22725
23497
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23498
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
22726
23499
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22727
|
-
|
|
22728
|
-
|
|
22729
|
-
|
|
22730
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23500
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23501
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23502
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22731
23503
|
}),
|
|
22732
23504
|
execute: (input, { client }) => {
|
|
22733
23505
|
const data = input;
|
|
22734
|
-
return client.runGeneratedRequest("
|
|
23506
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
22735
23507
|
client.httpClient,
|
|
22736
23508
|
client.organizationId,
|
|
22737
23509
|
client.workspaceIdNumber,
|
|
23510
|
+
data.parent_task_id,
|
|
22738
23511
|
data,
|
|
22739
23512
|
void 0
|
|
22740
23513
|
]));
|
|
22741
23514
|
}
|
|
22742
23515
|
},
|
|
22743
23516
|
{
|
|
22744
|
-
id: "focus.tasks.get-
|
|
23517
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
23518
|
+
family: "focus",
|
|
23519
|
+
resource: "tasks",
|
|
23520
|
+
action: "get-picker-task-groups",
|
|
23521
|
+
title: "Get Picker Task Groups Tasks",
|
|
23522
|
+
description: "Get Picker Task Groups Tasks.",
|
|
23523
|
+
safety: "read",
|
|
23524
|
+
destructive: false,
|
|
23525
|
+
cli: {
|
|
23526
|
+
group: ["tasks"],
|
|
23527
|
+
command: "get-picker-task-groups",
|
|
23528
|
+
interactive: "hidden"
|
|
23529
|
+
},
|
|
23530
|
+
mcp: { entityTool: "tasks" },
|
|
23531
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23532
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23533
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23534
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23535
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23536
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23537
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23538
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23539
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23540
|
+
}),
|
|
23541
|
+
execute: (input, { client }) => {
|
|
23542
|
+
const data = input;
|
|
23543
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23544
|
+
client.httpClient,
|
|
23545
|
+
client.organizationId,
|
|
23546
|
+
client.workspaceIdNumber,
|
|
23547
|
+
data,
|
|
23548
|
+
void 0
|
|
23549
|
+
]));
|
|
23550
|
+
}
|
|
23551
|
+
},
|
|
23552
|
+
{
|
|
23553
|
+
id: "focus.tasks.get-recurring-instances",
|
|
23554
|
+
family: "focus",
|
|
23555
|
+
resource: "tasks",
|
|
23556
|
+
action: "get-recurring-instances",
|
|
23557
|
+
title: "Get Recurring Instances Tasks",
|
|
23558
|
+
description: "Get Recurring Instances Tasks.",
|
|
23559
|
+
safety: "read",
|
|
23560
|
+
destructive: false,
|
|
23561
|
+
cli: {
|
|
23562
|
+
group: ["tasks"],
|
|
23563
|
+
command: "get-recurring-instances",
|
|
23564
|
+
interactive: "hidden"
|
|
23565
|
+
},
|
|
23566
|
+
mcp: { entityTool: "tasks" },
|
|
23567
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23568
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23569
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23570
|
+
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23571
|
+
dates_overlap_end: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23572
|
+
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23573
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23574
|
+
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23575
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23576
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23577
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23578
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23579
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23580
|
+
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23581
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23582
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23583
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23584
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23585
|
+
}),
|
|
23586
|
+
execute: (input, { client }) => {
|
|
23587
|
+
const data = input;
|
|
23588
|
+
return client.runGeneratedRequest("getTasksRecurringInstancesClassic", () => callGeneratedRequest(getTasksRecurringInstancesClassic, [
|
|
23589
|
+
client.httpClient,
|
|
23590
|
+
client.organizationId,
|
|
23591
|
+
client.workspaceIdNumber,
|
|
23592
|
+
data,
|
|
23593
|
+
void 0
|
|
23594
|
+
]));
|
|
23595
|
+
}
|
|
23596
|
+
},
|
|
23597
|
+
{
|
|
23598
|
+
id: "focus.tasks.get-stream",
|
|
22745
23599
|
family: "focus",
|
|
22746
23600
|
resource: "tasks",
|
|
22747
23601
|
action: "get-stream",
|
|
@@ -22770,13 +23624,14 @@ const generatedFocusOperations = [
|
|
|
22770
23624
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22771
23625
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22772
23626
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22773
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22774
23627
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22775
23628
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22776
23629
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22777
23630
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22778
23631
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23632
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22779
23633
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23634
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22780
23635
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22781
23636
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22782
23637
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22785,7 +23640,9 @@ const generatedFocusOperations = [
|
|
|
22785
23640
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22786
23641
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22787
23642
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23643
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22788
23644
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23645
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22789
23646
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22790
23647
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22791
23648
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22794,8 +23651,6 @@ const generatedFocusOperations = [
|
|
|
22794
23651
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22795
23652
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22796
23653
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22797
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22798
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22799
23654
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22800
23655
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22801
23656
|
}),
|
|
@@ -22923,8 +23778,10 @@ const generatedFocusOperations = [
|
|
|
22923
23778
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22924
23779
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22925
23780
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23781
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22926
23782
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22927
23783
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23784
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22928
23785
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22929
23786
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22930
23787
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22933,6 +23790,8 @@ const generatedFocusOperations = [
|
|
|
22933
23790
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22934
23791
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22935
23792
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23793
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23794
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22936
23795
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22937
23796
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22938
23797
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22941,7 +23800,8 @@ const generatedFocusOperations = [
|
|
|
22941
23800
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22942
23801
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22943
23802
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22944
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23803
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23804
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22945
23805
|
}),
|
|
22946
23806
|
execute: (input, { client }) => {
|
|
22947
23807
|
const data = input;
|
|
@@ -22983,13 +23843,17 @@ const generatedFocusOperations = [
|
|
|
22983
23843
|
group_id: /* @__PURE__ */ number$2(),
|
|
22984
23844
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
22985
23845
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23846
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
22986
23847
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
22987
23848
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23849
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
22988
23850
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
22989
23851
|
name: /* @__PURE__ */ unknown$1(),
|
|
22990
23852
|
priority: /* @__PURE__ */ unknown$1(),
|
|
22991
23853
|
private_: /* @__PURE__ */ unknown$1(),
|
|
22992
23854
|
project_id: /* @__PURE__ */ number$2(),
|
|
23855
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23856
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
22993
23857
|
source: /* @__PURE__ */ unknown$1(),
|
|
22994
23858
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22995
23859
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -22998,7 +23862,8 @@ const generatedFocusOperations = [
|
|
|
22998
23862
|
tag_id: /* @__PURE__ */ number$2(),
|
|
22999
23863
|
team_id: /* @__PURE__ */ number$2(),
|
|
23000
23864
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23001
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23865
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23866
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23002
23867
|
}),
|
|
23003
23868
|
execute: (input, { client }) => {
|
|
23004
23869
|
const data = input;
|
|
@@ -23039,13 +23904,17 @@ const generatedFocusOperations = [
|
|
|
23039
23904
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23040
23905
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23041
23906
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23907
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23042
23908
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23043
23909
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23910
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23044
23911
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23045
23912
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23046
23913
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23047
23914
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23048
23915
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23916
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23917
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23049
23918
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23050
23919
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23051
23920
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23054,7 +23923,8 @@ const generatedFocusOperations = [
|
|
|
23054
23923
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23055
23924
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23056
23925
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23057
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23926
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23927
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23058
23928
|
}),
|
|
23059
23929
|
execute: (input, { client }) => {
|
|
23060
23930
|
const data = input;
|
|
@@ -23284,522 +24154,59 @@ const generatedFocusOperations = [
|
|
|
23284
24154
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23285
24155
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
23286
24156
|
"none",
|
|
23287
|
-
"low",
|
|
23288
|
-
"medium",
|
|
23289
|
-
"high"
|
|
23290
|
-
])),
|
|
23291
|
-
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23292
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23293
|
-
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23294
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23295
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
23296
|
-
}),
|
|
23297
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23298
|
-
}),
|
|
23299
|
-
execute: (input, { client }) => {
|
|
23300
|
-
const data = input;
|
|
23301
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23302
|
-
client.httpClient,
|
|
23303
|
-
client.organizationId,
|
|
23304
|
-
client.workspaceIdNumber,
|
|
23305
|
-
data.task_id,
|
|
23306
|
-
data.payload ?? data.data ?? data,
|
|
23307
|
-
void 0
|
|
23308
|
-
]));
|
|
23309
|
-
}
|
|
23310
|
-
},
|
|
23311
|
-
{
|
|
23312
|
-
id: "focus.tasks.update-calendar-range",
|
|
23313
|
-
family: "focus",
|
|
23314
|
-
resource: "tasks",
|
|
23315
|
-
action: "update-calendar-range",
|
|
23316
|
-
title: "Update Calendar Range Tasks",
|
|
23317
|
-
description: "Update Calendar Range Tasks.",
|
|
23318
|
-
safety: "update",
|
|
23319
|
-
destructive: false,
|
|
23320
|
-
cli: {
|
|
23321
|
-
group: ["tasks"],
|
|
23322
|
-
command: "update-calendar-range",
|
|
23323
|
-
interactive: "default"
|
|
23324
|
-
},
|
|
23325
|
-
mcp: { entityTool: "tasks" },
|
|
23326
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23327
|
-
date_from: /* @__PURE__ */ string$1(),
|
|
23328
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23329
|
-
}),
|
|
23330
|
-
execute: (input, { client }) => {
|
|
23331
|
-
const data = input;
|
|
23332
|
-
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23333
|
-
client.httpClient,
|
|
23334
|
-
client.organizationId,
|
|
23335
|
-
client.workspaceIdNumber,
|
|
23336
|
-
data.date_from,
|
|
23337
|
-
data.date_to,
|
|
23338
|
-
void 0
|
|
23339
|
-
]));
|
|
23340
|
-
}
|
|
23341
|
-
},
|
|
23342
|
-
{
|
|
23343
|
-
id: "focus.time-blocks.archive",
|
|
23344
|
-
family: "focus",
|
|
23345
|
-
resource: "time-blocks",
|
|
23346
|
-
action: "archive",
|
|
23347
|
-
title: "Archive Time Blocks",
|
|
23348
|
-
description: "Archive Time Blocks.",
|
|
23349
|
-
safety: "update",
|
|
23350
|
-
destructive: false,
|
|
23351
|
-
cli: {
|
|
23352
|
-
group: ["time-blocks"],
|
|
23353
|
-
command: "archive",
|
|
23354
|
-
interactive: "default"
|
|
23355
|
-
},
|
|
23356
|
-
mcp: { entityTool: "time-blocks" },
|
|
23357
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23358
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23359
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23360
|
-
}),
|
|
23361
|
-
execute: (input, { client }) => {
|
|
23362
|
-
const data = input;
|
|
23363
|
-
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23364
|
-
client.httpClient,
|
|
23365
|
-
client.organizationId,
|
|
23366
|
-
client.workspaceIdNumber,
|
|
23367
|
-
data.task_id,
|
|
23368
|
-
data.time_block_id,
|
|
23369
|
-
void 0
|
|
23370
|
-
]));
|
|
23371
|
-
}
|
|
23372
|
-
},
|
|
23373
|
-
{
|
|
23374
|
-
id: "focus.time-blocks.bulk-create",
|
|
23375
|
-
family: "focus",
|
|
23376
|
-
resource: "time-blocks",
|
|
23377
|
-
action: "bulk-create",
|
|
23378
|
-
title: "Bulk Create Time Blocks",
|
|
23379
|
-
description: "Bulk Create Time Blocks.",
|
|
23380
|
-
safety: "create",
|
|
23381
|
-
destructive: false,
|
|
23382
|
-
cli: {
|
|
23383
|
-
group: ["time-blocks", "bulk"],
|
|
23384
|
-
command: "create",
|
|
23385
|
-
interactive: "default"
|
|
23386
|
-
},
|
|
23387
|
-
mcp: { entityTool: "time-blocks" },
|
|
23388
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23389
|
-
start: apiDateTimeString,
|
|
23390
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23391
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23392
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23393
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23394
|
-
})) }) }),
|
|
23395
|
-
execute: (input, { client }) => {
|
|
23396
|
-
const data = input;
|
|
23397
|
-
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23398
|
-
client.httpClient,
|
|
23399
|
-
client.organizationId,
|
|
23400
|
-
client.workspaceIdNumber,
|
|
23401
|
-
data.payload ?? data.data ?? data,
|
|
23402
|
-
void 0
|
|
23403
|
-
]));
|
|
23404
|
-
}
|
|
23405
|
-
},
|
|
23406
|
-
{
|
|
23407
|
-
id: "focus.time-blocks.bulk-delete",
|
|
23408
|
-
family: "focus",
|
|
23409
|
-
resource: "time-blocks",
|
|
23410
|
-
action: "bulk-delete",
|
|
23411
|
-
title: "Bulk Delete Time Blocks",
|
|
23412
|
-
description: "Bulk Delete Time Blocks.",
|
|
23413
|
-
safety: "delete",
|
|
23414
|
-
destructive: true,
|
|
23415
|
-
cli: {
|
|
23416
|
-
group: ["time-blocks", "bulk"],
|
|
23417
|
-
command: "delete",
|
|
23418
|
-
interactive: "default"
|
|
23419
|
-
},
|
|
23420
|
-
mcp: { entityTool: "time-blocks" },
|
|
23421
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23422
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23423
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23424
|
-
}),
|
|
23425
|
-
execute: (input, { client }) => {
|
|
23426
|
-
const data = input;
|
|
23427
|
-
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23428
|
-
client.httpClient,
|
|
23429
|
-
client.organizationId,
|
|
23430
|
-
client.workspaceIdNumber,
|
|
23431
|
-
data.ids,
|
|
23432
|
-
data.outbound_sync,
|
|
23433
|
-
void 0
|
|
23434
|
-
]));
|
|
23435
|
-
}
|
|
23436
|
-
},
|
|
23437
|
-
{
|
|
23438
|
-
id: "focus.time-blocks.bulk-partial-update",
|
|
23439
|
-
family: "focus",
|
|
23440
|
-
resource: "time-blocks",
|
|
23441
|
-
action: "bulk-partial-update",
|
|
23442
|
-
title: "Bulk Partial Update Time Blocks",
|
|
23443
|
-
description: "Bulk Partial Update Time Blocks.",
|
|
23444
|
-
safety: "update",
|
|
23445
|
-
destructive: false,
|
|
23446
|
-
cli: {
|
|
23447
|
-
group: ["time-blocks", "bulk"],
|
|
23448
|
-
command: "partial-update",
|
|
23449
|
-
interactive: "hidden"
|
|
23450
|
-
},
|
|
23451
|
-
mcp: { entityTool: "time-blocks" },
|
|
23452
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23453
|
-
execute: (input, { client }) => {
|
|
23454
|
-
const data = input;
|
|
23455
|
-
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23456
|
-
client.httpClient,
|
|
23457
|
-
client.organizationId,
|
|
23458
|
-
client.workspaceIdNumber,
|
|
23459
|
-
data.payload ?? data.data ?? data,
|
|
23460
|
-
void 0
|
|
23461
|
-
]));
|
|
23462
|
-
}
|
|
23463
|
-
},
|
|
23464
|
-
{
|
|
23465
|
-
id: "focus.time-blocks.create",
|
|
23466
|
-
family: "focus",
|
|
23467
|
-
resource: "time-blocks",
|
|
23468
|
-
action: "create",
|
|
23469
|
-
title: "Create Time Blocks",
|
|
23470
|
-
description: "Create Time Blocks.",
|
|
23471
|
-
safety: "create",
|
|
23472
|
-
destructive: false,
|
|
23473
|
-
cli: {
|
|
23474
|
-
group: ["time-blocks"],
|
|
23475
|
-
command: "create",
|
|
23476
|
-
interactive: "default"
|
|
23477
|
-
},
|
|
23478
|
-
mcp: { entityTool: "time-blocks" },
|
|
23479
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23480
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23481
|
-
start: apiDateTimeString,
|
|
23482
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23483
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23484
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23485
|
-
}),
|
|
23486
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23487
|
-
}),
|
|
23488
|
-
execute: (input, { client }) => {
|
|
23489
|
-
const data = input;
|
|
23490
|
-
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23491
|
-
client.httpClient,
|
|
23492
|
-
client.organizationId,
|
|
23493
|
-
client.workspaceIdNumber,
|
|
23494
|
-
data.task_id,
|
|
23495
|
-
data.payload ?? data.data ?? data,
|
|
23496
|
-
void 0
|
|
23497
|
-
]));
|
|
23498
|
-
}
|
|
23499
|
-
},
|
|
23500
|
-
{
|
|
23501
|
-
id: "focus.time-blocks.delete",
|
|
23502
|
-
family: "focus",
|
|
23503
|
-
resource: "time-blocks",
|
|
23504
|
-
action: "delete",
|
|
23505
|
-
title: "Delete Time Blocks",
|
|
23506
|
-
description: "Delete Time Blocks.",
|
|
23507
|
-
safety: "delete",
|
|
23508
|
-
destructive: true,
|
|
23509
|
-
cli: {
|
|
23510
|
-
group: ["time-blocks"],
|
|
23511
|
-
command: "delete",
|
|
23512
|
-
interactive: "default"
|
|
23513
|
-
},
|
|
23514
|
-
mcp: { entityTool: "time-blocks" },
|
|
23515
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23516
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23517
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23518
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23519
|
-
}),
|
|
23520
|
-
execute: (input, { client }) => {
|
|
23521
|
-
const data = input;
|
|
23522
|
-
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23523
|
-
client.httpClient,
|
|
23524
|
-
client.organizationId,
|
|
23525
|
-
client.workspaceIdNumber,
|
|
23526
|
-
data.task_id,
|
|
23527
|
-
data.time_block_id,
|
|
23528
|
-
data.outbound_sync,
|
|
23529
|
-
void 0
|
|
23530
|
-
]));
|
|
23531
|
-
}
|
|
23532
|
-
},
|
|
23533
|
-
{
|
|
23534
|
-
id: "focus.time-blocks.get",
|
|
23535
|
-
family: "focus",
|
|
23536
|
-
resource: "time-blocks",
|
|
23537
|
-
action: "get",
|
|
23538
|
-
title: "Get Time Blocks",
|
|
23539
|
-
description: "Get Time Blocks.",
|
|
23540
|
-
safety: "read",
|
|
23541
|
-
destructive: false,
|
|
23542
|
-
cli: {
|
|
23543
|
-
group: ["time-blocks"],
|
|
23544
|
-
command: "get",
|
|
23545
|
-
interactive: "available"
|
|
23546
|
-
},
|
|
23547
|
-
mcp: { entityTool: "time-blocks" },
|
|
23548
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23549
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23550
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23551
|
-
}),
|
|
23552
|
-
execute: (input, { client }) => {
|
|
23553
|
-
const data = input;
|
|
23554
|
-
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23555
|
-
client.httpClient,
|
|
23556
|
-
client.organizationId,
|
|
23557
|
-
client.workspaceIdNumber,
|
|
23558
|
-
data.task_id,
|
|
23559
|
-
data.time_block_id,
|
|
23560
|
-
void 0
|
|
23561
|
-
]));
|
|
23562
|
-
}
|
|
23563
|
-
},
|
|
23564
|
-
{
|
|
23565
|
-
id: "focus.time-blocks.get-range",
|
|
23566
|
-
family: "focus",
|
|
23567
|
-
resource: "time-blocks",
|
|
23568
|
-
action: "get-range",
|
|
23569
|
-
title: "Get Range Time Blocks",
|
|
23570
|
-
description: "Get Range Time Blocks.",
|
|
23571
|
-
safety: "read",
|
|
23572
|
-
destructive: false,
|
|
23573
|
-
cli: {
|
|
23574
|
-
group: ["time-blocks"],
|
|
23575
|
-
command: "get-range",
|
|
23576
|
-
interactive: "hidden"
|
|
23577
|
-
},
|
|
23578
|
-
mcp: { entityTool: "time-blocks" },
|
|
23579
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23580
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23581
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23582
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23583
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23584
|
-
page: /* @__PURE__ */ number$2(),
|
|
23585
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
23586
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23587
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23588
|
-
}),
|
|
23589
|
-
execute: (input, { client }) => {
|
|
23590
|
-
const data = input;
|
|
23591
|
-
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23592
|
-
client.httpClient,
|
|
23593
|
-
client.organizationId,
|
|
23594
|
-
client.workspaceIdNumber,
|
|
23595
|
-
data,
|
|
23596
|
-
void 0
|
|
23597
|
-
]));
|
|
23598
|
-
}
|
|
23599
|
-
},
|
|
23600
|
-
{
|
|
23601
|
-
id: "focus.time-blocks.get-range-stream",
|
|
23602
|
-
family: "focus",
|
|
23603
|
-
resource: "time-blocks",
|
|
23604
|
-
action: "get-range-stream",
|
|
23605
|
-
title: "Get Range Stream Time Blocks",
|
|
23606
|
-
description: "Get Range Stream Time Blocks.",
|
|
23607
|
-
safety: "read",
|
|
23608
|
-
destructive: false,
|
|
23609
|
-
cli: {
|
|
23610
|
-
group: ["time-blocks"],
|
|
23611
|
-
command: "get-range-stream",
|
|
23612
|
-
interactive: "hidden"
|
|
23613
|
-
},
|
|
23614
|
-
mcp: { entityTool: "time-blocks" },
|
|
23615
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23616
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23617
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23618
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23619
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23620
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23621
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23622
|
-
}),
|
|
23623
|
-
execute: (input, { client }) => {
|
|
23624
|
-
const data = input;
|
|
23625
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23626
|
-
client.httpClient,
|
|
23627
|
-
client.organizationId,
|
|
23628
|
-
client.workspaceIdNumber,
|
|
23629
|
-
data,
|
|
23630
|
-
void 0
|
|
23631
|
-
]));
|
|
23632
|
-
}
|
|
23633
|
-
},
|
|
23634
|
-
{
|
|
23635
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
23636
|
-
family: "focus",
|
|
23637
|
-
resource: "time-blocks",
|
|
23638
|
-
action: "get-task-time-blocks",
|
|
23639
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
23640
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
23641
|
-
safety: "read",
|
|
23642
|
-
destructive: false,
|
|
23643
|
-
cli: {
|
|
23644
|
-
group: ["time-blocks"],
|
|
23645
|
-
command: "get-task-time-blocks",
|
|
23646
|
-
interactive: "hidden"
|
|
23647
|
-
},
|
|
23648
|
-
mcp: { entityTool: "time-blocks" },
|
|
23649
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23650
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23651
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23652
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23653
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23654
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23655
|
-
}),
|
|
23656
|
-
execute: (input, { client }) => {
|
|
23657
|
-
const data = input;
|
|
23658
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23659
|
-
client.httpClient,
|
|
23660
|
-
client.organizationId,
|
|
23661
|
-
client.workspaceIdNumber,
|
|
23662
|
-
data.task_id,
|
|
23663
|
-
data,
|
|
23664
|
-
void 0
|
|
23665
|
-
]));
|
|
23666
|
-
}
|
|
23667
|
-
},
|
|
23668
|
-
{
|
|
23669
|
-
id: "focus.time-blocks.partial-update",
|
|
23670
|
-
family: "focus",
|
|
23671
|
-
resource: "time-blocks",
|
|
23672
|
-
action: "partial-update",
|
|
23673
|
-
title: "Partial Update Time Blocks",
|
|
23674
|
-
description: "Partial Update Time Blocks.",
|
|
23675
|
-
safety: "update",
|
|
23676
|
-
destructive: false,
|
|
23677
|
-
cli: {
|
|
23678
|
-
group: ["time-blocks"],
|
|
23679
|
-
command: "partial-update",
|
|
23680
|
-
interactive: "default"
|
|
23681
|
-
},
|
|
23682
|
-
mcp: { entityTool: "time-blocks" },
|
|
23683
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23684
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23685
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23686
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23687
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23688
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23689
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23690
|
-
}),
|
|
23691
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23692
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23693
|
-
}),
|
|
23694
|
-
execute: (input, { client }) => {
|
|
23695
|
-
const data = input;
|
|
23696
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23697
|
-
client.httpClient,
|
|
23698
|
-
client.organizationId,
|
|
23699
|
-
client.workspaceIdNumber,
|
|
23700
|
-
data.task_id,
|
|
23701
|
-
data.time_block_id,
|
|
23702
|
-
data.payload ?? data.data ?? data,
|
|
23703
|
-
void 0
|
|
23704
|
-
]));
|
|
23705
|
-
}
|
|
23706
|
-
},
|
|
23707
|
-
{
|
|
23708
|
-
id: "focus.time-blocks.restore",
|
|
23709
|
-
family: "focus",
|
|
23710
|
-
resource: "time-blocks",
|
|
23711
|
-
action: "restore",
|
|
23712
|
-
title: "Restore Time Blocks",
|
|
23713
|
-
description: "Restore Time Blocks.",
|
|
23714
|
-
safety: "update",
|
|
23715
|
-
destructive: false,
|
|
23716
|
-
cli: {
|
|
23717
|
-
group: ["time-blocks"],
|
|
23718
|
-
command: "restore",
|
|
23719
|
-
interactive: "default"
|
|
23720
|
-
},
|
|
23721
|
-
mcp: { entityTool: "time-blocks" },
|
|
23722
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23723
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23724
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23725
|
-
}),
|
|
23726
|
-
execute: (input, { client }) => {
|
|
23727
|
-
const data = input;
|
|
23728
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23729
|
-
client.httpClient,
|
|
23730
|
-
client.organizationId,
|
|
23731
|
-
client.workspaceIdNumber,
|
|
23732
|
-
data.task_id,
|
|
23733
|
-
data.time_block_id,
|
|
23734
|
-
void 0
|
|
23735
|
-
]));
|
|
23736
|
-
}
|
|
23737
|
-
},
|
|
23738
|
-
{
|
|
23739
|
-
id: "focus.time-blocks.unarchive",
|
|
23740
|
-
family: "focus",
|
|
23741
|
-
resource: "time-blocks",
|
|
23742
|
-
action: "unarchive",
|
|
23743
|
-
title: "Unarchive Time Blocks",
|
|
23744
|
-
description: "Unarchive Time Blocks.",
|
|
23745
|
-
safety: "update",
|
|
23746
|
-
destructive: false,
|
|
23747
|
-
cli: {
|
|
23748
|
-
group: ["time-blocks"],
|
|
23749
|
-
command: "unarchive",
|
|
23750
|
-
interactive: "default"
|
|
23751
|
-
},
|
|
23752
|
-
mcp: { entityTool: "time-blocks" },
|
|
23753
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23754
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23755
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
24157
|
+
"low",
|
|
24158
|
+
"medium",
|
|
24159
|
+
"high"
|
|
24160
|
+
])),
|
|
24161
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24162
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24163
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24164
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24165
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
24166
|
+
}),
|
|
24167
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23756
24168
|
}),
|
|
23757
24169
|
execute: (input, { client }) => {
|
|
23758
24170
|
const data = input;
|
|
23759
|
-
return client.runGeneratedRequest("
|
|
24171
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23760
24172
|
client.httpClient,
|
|
23761
24173
|
client.organizationId,
|
|
23762
24174
|
client.workspaceIdNumber,
|
|
23763
24175
|
data.task_id,
|
|
23764
|
-
data.
|
|
24176
|
+
data.payload ?? data.data ?? data,
|
|
23765
24177
|
void 0
|
|
23766
24178
|
]));
|
|
23767
24179
|
}
|
|
23768
24180
|
},
|
|
23769
24181
|
{
|
|
23770
|
-
id: "focus.
|
|
24182
|
+
id: "focus.tasks.update-calendar-range",
|
|
23771
24183
|
family: "focus",
|
|
23772
|
-
resource: "
|
|
23773
|
-
action: "update",
|
|
23774
|
-
title: "Update
|
|
23775
|
-
description: "Update
|
|
24184
|
+
resource: "tasks",
|
|
24185
|
+
action: "update-calendar-range",
|
|
24186
|
+
title: "Update Calendar Range Tasks",
|
|
24187
|
+
description: "Update Calendar Range Tasks.",
|
|
23776
24188
|
safety: "update",
|
|
23777
24189
|
destructive: false,
|
|
23778
24190
|
cli: {
|
|
23779
|
-
group: ["
|
|
23780
|
-
command: "update",
|
|
24191
|
+
group: ["tasks"],
|
|
24192
|
+
command: "update-calendar-range",
|
|
23781
24193
|
interactive: "default"
|
|
23782
24194
|
},
|
|
23783
|
-
mcp: { entityTool: "
|
|
24195
|
+
mcp: { entityTool: "tasks" },
|
|
23784
24196
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23785
|
-
|
|
23786
|
-
|
|
23787
|
-
|
|
23788
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23789
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23790
|
-
}),
|
|
23791
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23792
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
24197
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
24198
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
24199
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23793
24200
|
}),
|
|
23794
24201
|
execute: (input, { client }) => {
|
|
23795
24202
|
const data = input;
|
|
23796
|
-
return client.runGeneratedRequest("
|
|
24203
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23797
24204
|
client.httpClient,
|
|
23798
24205
|
client.organizationId,
|
|
23799
24206
|
client.workspaceIdNumber,
|
|
23800
|
-
data.
|
|
23801
|
-
data.
|
|
23802
|
-
data.
|
|
24207
|
+
data.date_from,
|
|
24208
|
+
data.date_to,
|
|
24209
|
+
data.skip_provider_refresh,
|
|
23803
24210
|
void 0
|
|
23804
24211
|
]));
|
|
23805
24212
|
}
|
|
@@ -24019,7 +24426,8 @@ const generatedFocusOperations = [
|
|
|
24019
24426
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24020
24427
|
"project",
|
|
24021
24428
|
"task",
|
|
24022
|
-
"description"
|
|
24429
|
+
"description",
|
|
24430
|
+
"tags"
|
|
24023
24431
|
]) })),
|
|
24024
24432
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24025
24433
|
}) }),
|
|
@@ -24049,6 +24457,7 @@ const generatedFocusOperations = [
|
|
|
24049
24457
|
},
|
|
24050
24458
|
mcp: { entityTool: "time-entries" },
|
|
24051
24459
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24460
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24052
24461
|
payload: /* @__PURE__ */ looseObject({
|
|
24053
24462
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24054
24463
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24059,11 +24468,12 @@ const generatedFocusOperations = [
|
|
|
24059
24468
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24060
24469
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24061
24470
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24471
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24062
24472
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24063
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24064
24473
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24065
24474
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24066
24475
|
}),
|
|
24476
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24067
24477
|
task_id: /* @__PURE__ */ number$2()
|
|
24068
24478
|
}),
|
|
24069
24479
|
execute: (input, { client }) => {
|
|
@@ -24074,6 +24484,8 @@ const generatedFocusOperations = [
|
|
|
24074
24484
|
client.workspaceIdNumber,
|
|
24075
24485
|
data.task_id,
|
|
24076
24486
|
data.payload ?? data.data ?? data,
|
|
24487
|
+
data.from_recurring_task_id,
|
|
24488
|
+
data.return_occurrence,
|
|
24077
24489
|
void 0
|
|
24078
24490
|
]));
|
|
24079
24491
|
}
|
|
@@ -24093,21 +24505,25 @@ const generatedFocusOperations = [
|
|
|
24093
24505
|
interactive: "default"
|
|
24094
24506
|
},
|
|
24095
24507
|
mcp: { entityTool: "time-entries" },
|
|
24096
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24097
|
-
|
|
24098
|
-
|
|
24099
|
-
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
|
|
24105
|
-
|
|
24106
|
-
|
|
24107
|
-
|
|
24108
|
-
|
|
24109
|
-
|
|
24110
|
-
|
|
24508
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24509
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24510
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24511
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24512
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24513
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24514
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24515
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24516
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24517
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24518
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24519
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24520
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24521
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24522
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24523
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24524
|
+
}),
|
|
24525
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24526
|
+
}),
|
|
24111
24527
|
execute: (input, { client }) => {
|
|
24112
24528
|
const data = input;
|
|
24113
24529
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24115,6 +24531,8 @@ const generatedFocusOperations = [
|
|
|
24115
24531
|
client.organizationId,
|
|
24116
24532
|
client.workspaceIdNumber,
|
|
24117
24533
|
data.payload ?? data.data ?? data,
|
|
24534
|
+
data.from_recurring_task_id,
|
|
24535
|
+
data.return_occurrence,
|
|
24118
24536
|
void 0
|
|
24119
24537
|
]));
|
|
24120
24538
|
}
|
|
@@ -24134,7 +24552,11 @@ const generatedFocusOperations = [
|
|
|
24134
24552
|
interactive: "default"
|
|
24135
24553
|
},
|
|
24136
24554
|
mcp: { entityTool: "time-entries" },
|
|
24137
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24555
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24556
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24557
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24558
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24559
|
+
}),
|
|
24138
24560
|
execute: (input, { client }) => {
|
|
24139
24561
|
const data = input;
|
|
24140
24562
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24142,6 +24564,8 @@ const generatedFocusOperations = [
|
|
|
24142
24564
|
client.organizationId,
|
|
24143
24565
|
client.workspaceIdNumber,
|
|
24144
24566
|
data.time_entry_id,
|
|
24567
|
+
data.from_recurring_task_id,
|
|
24568
|
+
data.return_occurrence,
|
|
24145
24569
|
void 0
|
|
24146
24570
|
]));
|
|
24147
24571
|
}
|
|
@@ -24222,6 +24646,7 @@ const generatedFocusOperations = [
|
|
|
24222
24646
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24223
24647
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24224
24648
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24649
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24225
24650
|
status_id: /* @__PURE__ */ number$2(),
|
|
24226
24651
|
task_id: /* @__PURE__ */ number$2(),
|
|
24227
24652
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24237,33 +24662,6 @@ const generatedFocusOperations = [
|
|
|
24237
24662
|
]));
|
|
24238
24663
|
}
|
|
24239
24664
|
},
|
|
24240
|
-
{
|
|
24241
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24242
|
-
family: "focus",
|
|
24243
|
-
resource: "time-entries",
|
|
24244
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
24245
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24246
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24247
|
-
safety: "read",
|
|
24248
|
-
destructive: false,
|
|
24249
|
-
cli: {
|
|
24250
|
-
group: ["time-entries"],
|
|
24251
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
24252
|
-
interactive: "available"
|
|
24253
|
-
},
|
|
24254
|
-
mcp: { entityTool: "time-entries" },
|
|
24255
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24256
|
-
execute: (input, { client }) => {
|
|
24257
|
-
const data = input;
|
|
24258
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24259
|
-
client.httpClient,
|
|
24260
|
-
client.organizationId,
|
|
24261
|
-
client.workspaceIdNumber,
|
|
24262
|
-
data,
|
|
24263
|
-
void 0
|
|
24264
|
-
]));
|
|
24265
|
-
}
|
|
24266
|
-
},
|
|
24267
24665
|
{
|
|
24268
24666
|
id: "focus.time-entries.get-task-time-entries",
|
|
24269
24667
|
family: "focus",
|
|
@@ -24285,7 +24683,6 @@ const generatedFocusOperations = [
|
|
|
24285
24683
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24286
24684
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24287
24685
|
task_id: /* @__PURE__ */ number$2(),
|
|
24288
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24289
24686
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24290
24687
|
}),
|
|
24291
24688
|
execute: (input, { client }) => {
|
|
@@ -24398,12 +24795,14 @@ const generatedFocusOperations = [
|
|
|
24398
24795
|
},
|
|
24399
24796
|
mcp: { entityTool: "time-entries" },
|
|
24400
24797
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24798
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24401
24799
|
payload: /* @__PURE__ */ looseObject({
|
|
24402
24800
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24403
24801
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24404
24802
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24405
24803
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24406
24804
|
}),
|
|
24805
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24407
24806
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24408
24807
|
}),
|
|
24409
24808
|
execute: (input, { client }) => {
|
|
@@ -24414,6 +24813,8 @@ const generatedFocusOperations = [
|
|
|
24414
24813
|
client.workspaceIdNumber,
|
|
24415
24814
|
data.time_entry_id,
|
|
24416
24815
|
data.payload ?? data.data ?? data,
|
|
24816
|
+
data.from_recurring_task_id,
|
|
24817
|
+
data.return_occurrence,
|
|
24417
24818
|
void 0
|
|
24418
24819
|
]));
|
|
24419
24820
|
}
|
|
@@ -24671,6 +25072,7 @@ const generatedFocusOperations = [
|
|
|
24671
25072
|
},
|
|
24672
25073
|
mcp: { entityTool: "time-entries" },
|
|
24673
25074
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25075
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24674
25076
|
payload: /* @__PURE__ */ looseObject({
|
|
24675
25077
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24676
25078
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24680,9 +25082,9 @@ const generatedFocusOperations = [
|
|
|
24680
25082
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24681
25083
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24682
25084
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24683
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
25085
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24685
25086
|
}),
|
|
25087
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24686
25088
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24687
25089
|
}),
|
|
24688
25090
|
execute: (input, { client }) => {
|
|
@@ -24693,6 +25095,8 @@ const generatedFocusOperations = [
|
|
|
24693
25095
|
client.workspaceIdNumber,
|
|
24694
25096
|
data.time_entry_id,
|
|
24695
25097
|
data.payload ?? data.data ?? data,
|
|
25098
|
+
data.from_recurring_task_id,
|
|
25099
|
+
data.return_occurrence,
|
|
24696
25100
|
void 0
|
|
24697
25101
|
]));
|
|
24698
25102
|
}
|
|
@@ -24757,6 +25161,118 @@ const generatedFocusOperations = [
|
|
|
24757
25161
|
]));
|
|
24758
25162
|
}
|
|
24759
25163
|
},
|
|
25164
|
+
{
|
|
25165
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
25166
|
+
family: "focus",
|
|
25167
|
+
resource: "time-off",
|
|
25168
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
25169
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
25170
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
25171
|
+
safety: "read",
|
|
25172
|
+
destructive: false,
|
|
25173
|
+
cli: {
|
|
25174
|
+
group: ["time-off"],
|
|
25175
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
25176
|
+
interactive: "hidden"
|
|
25177
|
+
},
|
|
25178
|
+
mcp: { entityTool: "time-off" },
|
|
25179
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25180
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
25181
|
+
page: /* @__PURE__ */ number$2(),
|
|
25182
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
25183
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
25184
|
+
year: /* @__PURE__ */ unknown$1()
|
|
25185
|
+
}),
|
|
25186
|
+
execute: (input, { client }) => {
|
|
25187
|
+
const data = input;
|
|
25188
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
25189
|
+
client.httpClient,
|
|
25190
|
+
client.organizationId,
|
|
25191
|
+
data.user_id,
|
|
25192
|
+
data,
|
|
25193
|
+
void 0
|
|
25194
|
+
]));
|
|
25195
|
+
}
|
|
25196
|
+
},
|
|
25197
|
+
{
|
|
25198
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
25199
|
+
family: "focus",
|
|
25200
|
+
resource: "time-off",
|
|
25201
|
+
action: "get-timeoff-balances-for-user",
|
|
25202
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
25203
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
25204
|
+
safety: "read",
|
|
25205
|
+
destructive: false,
|
|
25206
|
+
cli: {
|
|
25207
|
+
group: ["time-off"],
|
|
25208
|
+
command: "get-timeoff-balances-for-user",
|
|
25209
|
+
interactive: "available"
|
|
25210
|
+
},
|
|
25211
|
+
mcp: { entityTool: "time-off" },
|
|
25212
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25213
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25214
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
25215
|
+
user_id: /* @__PURE__ */ number$2()
|
|
25216
|
+
}),
|
|
25217
|
+
execute: (input, { client }) => {
|
|
25218
|
+
const data = input;
|
|
25219
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
25220
|
+
client.httpClient,
|
|
25221
|
+
client.organizationId,
|
|
25222
|
+
data.user_id,
|
|
25223
|
+
data,
|
|
25224
|
+
void 0
|
|
25225
|
+
]));
|
|
25226
|
+
}
|
|
25227
|
+
},
|
|
25228
|
+
{
|
|
25229
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
25230
|
+
family: "focus",
|
|
25231
|
+
resource: "time-off",
|
|
25232
|
+
action: "get-timeoff-categories",
|
|
25233
|
+
title: "Get Timeoff Categories Time Off",
|
|
25234
|
+
description: "Get Timeoff Categories Time Off.",
|
|
25235
|
+
safety: "read",
|
|
25236
|
+
destructive: false,
|
|
25237
|
+
cli: {
|
|
25238
|
+
group: ["time-off"],
|
|
25239
|
+
command: "get-timeoff-categories",
|
|
25240
|
+
interactive: "hidden"
|
|
25241
|
+
},
|
|
25242
|
+
mcp: { entityTool: "time-off" },
|
|
25243
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25244
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
25245
|
+
client.httpClient,
|
|
25246
|
+
client.organizationId,
|
|
25247
|
+
void 0
|
|
25248
|
+
]))
|
|
25249
|
+
},
|
|
25250
|
+
{
|
|
25251
|
+
id: "focus.time-off.get-timeoff-category",
|
|
25252
|
+
family: "focus",
|
|
25253
|
+
resource: "time-off",
|
|
25254
|
+
action: "get-timeoff-category",
|
|
25255
|
+
title: "Get Timeoff Category Time Off",
|
|
25256
|
+
description: "Get Timeoff Category Time Off.",
|
|
25257
|
+
safety: "read",
|
|
25258
|
+
destructive: false,
|
|
25259
|
+
cli: {
|
|
25260
|
+
group: ["time-off"],
|
|
25261
|
+
command: "get-timeoff-category",
|
|
25262
|
+
interactive: "available"
|
|
25263
|
+
},
|
|
25264
|
+
mcp: { entityTool: "time-off" },
|
|
25265
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
25266
|
+
execute: (input, { client }) => {
|
|
25267
|
+
const data = input;
|
|
25268
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
25269
|
+
client.httpClient,
|
|
25270
|
+
client.organizationId,
|
|
25271
|
+
data.category_id,
|
|
25272
|
+
void 0
|
|
25273
|
+
]));
|
|
25274
|
+
}
|
|
25275
|
+
},
|
|
24760
25276
|
{
|
|
24761
25277
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24762
25278
|
family: "focus",
|
|
@@ -25208,6 +25724,40 @@ const generatedFocusOperations = [
|
|
|
25208
25724
|
]));
|
|
25209
25725
|
}
|
|
25210
25726
|
},
|
|
25727
|
+
{
|
|
25728
|
+
id: "focus.timesheets.get-status-counts",
|
|
25729
|
+
family: "focus",
|
|
25730
|
+
resource: "timesheets",
|
|
25731
|
+
action: "get-status-counts",
|
|
25732
|
+
title: "Get Status Counts Timesheets",
|
|
25733
|
+
description: "Get Status Counts Timesheets.",
|
|
25734
|
+
safety: "read",
|
|
25735
|
+
destructive: false,
|
|
25736
|
+
cli: {
|
|
25737
|
+
group: ["timesheets"],
|
|
25738
|
+
command: "get-status-counts",
|
|
25739
|
+
interactive: "hidden"
|
|
25740
|
+
},
|
|
25741
|
+
mcp: { entityTool: "timesheets" },
|
|
25742
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25743
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25744
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
25745
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
25746
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
25747
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25748
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25749
|
+
}),
|
|
25750
|
+
execute: (input, { client }) => {
|
|
25751
|
+
const data = input;
|
|
25752
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25753
|
+
client.httpClient,
|
|
25754
|
+
client.organizationId,
|
|
25755
|
+
client.workspaceIdNumber,
|
|
25756
|
+
data,
|
|
25757
|
+
void 0
|
|
25758
|
+
]));
|
|
25759
|
+
}
|
|
25760
|
+
},
|
|
25211
25761
|
{
|
|
25212
25762
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25213
25763
|
family: "focus",
|
|
@@ -25757,6 +26307,33 @@ const generatedFocusOperations = [
|
|
|
25757
26307
|
]));
|
|
25758
26308
|
}
|
|
25759
26309
|
},
|
|
26310
|
+
{
|
|
26311
|
+
id: "focus.track-team-invites.post",
|
|
26312
|
+
family: "focus",
|
|
26313
|
+
resource: "track-team-invites",
|
|
26314
|
+
action: "post",
|
|
26315
|
+
title: "Post Track Team Invites",
|
|
26316
|
+
description: "Post Track Team Invites.",
|
|
26317
|
+
safety: "create",
|
|
26318
|
+
destructive: false,
|
|
26319
|
+
cli: {
|
|
26320
|
+
group: ["track-team-invites"],
|
|
26321
|
+
command: "post",
|
|
26322
|
+
interactive: "default"
|
|
26323
|
+
},
|
|
26324
|
+
mcp: { entityTool: "track-team-invites" },
|
|
26325
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26326
|
+
execute: (input, { client }) => {
|
|
26327
|
+
const data = input;
|
|
26328
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26329
|
+
client.httpClient,
|
|
26330
|
+
client.organizationId,
|
|
26331
|
+
client.workspaceIdNumber,
|
|
26332
|
+
data.payload ?? data.data ?? data,
|
|
26333
|
+
void 0
|
|
26334
|
+
]));
|
|
26335
|
+
}
|
|
26336
|
+
},
|
|
25760
26337
|
{
|
|
25761
26338
|
id: "focus.users.list",
|
|
25762
26339
|
family: "focus",
|
|
@@ -25778,6 +26355,56 @@ const generatedFocusOperations = [
|
|
|
25778
26355
|
return client.listOrgUsers(data);
|
|
25779
26356
|
}
|
|
25780
26357
|
},
|
|
26358
|
+
{
|
|
26359
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26360
|
+
family: "focus",
|
|
26361
|
+
resource: "users",
|
|
26362
|
+
action: "settings-email-unsubscribe",
|
|
26363
|
+
title: "Settings Email Unsubscribe Users",
|
|
26364
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26365
|
+
safety: "update",
|
|
26366
|
+
destructive: false,
|
|
26367
|
+
cli: {
|
|
26368
|
+
group: ["users", "settings"],
|
|
26369
|
+
command: "email-unsubscribe",
|
|
26370
|
+
interactive: "default"
|
|
26371
|
+
},
|
|
26372
|
+
mcp: { entityTool: "users" },
|
|
26373
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26374
|
+
execute: (input, { client }) => {
|
|
26375
|
+
const data = input;
|
|
26376
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26377
|
+
client.httpClient,
|
|
26378
|
+
data.token,
|
|
26379
|
+
void 0
|
|
26380
|
+
]));
|
|
26381
|
+
}
|
|
26382
|
+
},
|
|
26383
|
+
{
|
|
26384
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26385
|
+
family: "focus",
|
|
26386
|
+
resource: "users",
|
|
26387
|
+
action: "settings-email-unsubscribe-page",
|
|
26388
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26389
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26390
|
+
safety: "read",
|
|
26391
|
+
destructive: false,
|
|
26392
|
+
cli: {
|
|
26393
|
+
group: ["users", "settings"],
|
|
26394
|
+
command: "email-unsubscribe-page",
|
|
26395
|
+
interactive: "available"
|
|
26396
|
+
},
|
|
26397
|
+
mcp: { entityTool: "users" },
|
|
26398
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26399
|
+
execute: (input, { client }) => {
|
|
26400
|
+
const data = input;
|
|
26401
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26402
|
+
client.httpClient,
|
|
26403
|
+
data.token,
|
|
26404
|
+
void 0
|
|
26405
|
+
]));
|
|
26406
|
+
}
|
|
26407
|
+
},
|
|
25781
26408
|
{
|
|
25782
26409
|
id: "focus.users.settings-list",
|
|
25783
26410
|
family: "focus",
|
|
@@ -25839,6 +26466,9 @@ const generatedFocusOperations = [
|
|
|
25839
26466
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25840
26467
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25841
26468
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26469
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26470
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26471
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25842
26472
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25843
26473
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25844
26474
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27894,4 +28524,4 @@ Common commands:
|
|
|
27894
28524
|
//#endregion
|
|
27895
28525
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27896
28526
|
|
|
27897
|
-
//# sourceMappingURL=program-
|
|
28527
|
+
//# sourceMappingURL=program-Cgzj1q4d.js.map
|