@togglhq/cli 1.11.87 → 1.11.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{program-Cgzj1q4d.js → program-UlrkSWvT.js} +784 -1414
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -7254,7 +7254,6 @@ 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()),
|
|
7258
7257
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7259
7258
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7260
7259
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7341,7 +7340,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7341
7340
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7342
7341
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7343
7342
|
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."))),
|
|
7345
7343
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7346
7344
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7347
7345
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7403,7 +7401,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7403
7401
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7404
7402
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7405
7403
|
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."))),
|
|
7407
7404
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7408
7405
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7409
7406
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7564,8 +7561,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7564
7561
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7565
7562
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7566
7563
|
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."))),
|
|
7569
7564
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7570
7565
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7571
7566
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7651,10 +7646,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7651
7646
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7652
7647
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7653
7648
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7654
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7655
7649
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7656
7650
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7657
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7658
7651
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7659
7652
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7660
7653
|
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)."))),
|
|
@@ -7710,8 +7703,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7710
7703
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7711
7704
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7712
7705
|
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."))),
|
|
7715
7706
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7716
7707
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7717
7708
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7884,6 +7875,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7884
7875
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7885
7876
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7886
7877
|
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()),
|
|
7887
7880
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7888
7881
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7889
7882
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7940,7 +7933,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7940
7933
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7941
7934
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7942
7935
|
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."))),
|
|
7944
7936
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7945
7937
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7946
7938
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7977,7 +7969,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7977
7969
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7978
7970
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7979
7971
|
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."))),
|
|
7981
7972
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7982
7973
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7983
7974
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7998,6 +7989,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7998
7989
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7999
7990
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8000
7991
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7992
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8001
7993
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8002
7994
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8003
7995
|
});
|
|
@@ -8026,7 +8018,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8026
8018
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8027
8019
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8028
8020
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8029
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8021
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8022
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8030
8023
|
});
|
|
8031
8024
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8032
8025
|
//#endregion
|
|
@@ -9900,7 +9893,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9900
9893
|
})
|
|
9901
9894
|
}).json();
|
|
9902
9895
|
}
|
|
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,
|
|
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) {
|
|
9904
9897
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9905
9898
|
signal,
|
|
9906
9899
|
searchParams: buildSearchParams$2({
|
|
@@ -9921,7 +9914,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9921
9914
|
include_rates,
|
|
9922
9915
|
pinned_ids,
|
|
9923
9916
|
has_group,
|
|
9924
|
-
track_without_focus,
|
|
9925
9917
|
cf_filter,
|
|
9926
9918
|
include_custom_fields,
|
|
9927
9919
|
include_calendar_integration
|
|
@@ -10023,20 +10015,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10023
10015
|
}
|
|
10024
10016
|
//#endregion
|
|
10025
10017
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10026
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
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) {
|
|
10027
10019
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10028
10020
|
signal,
|
|
10029
10021
|
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,
|
|
10040
10022
|
page,
|
|
10041
10023
|
per_page,
|
|
10042
10024
|
order_by,
|
|
@@ -10286,7 +10268,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10286
10268
|
}
|
|
10287
10269
|
//#endregion
|
|
10288
10270
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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
|
|
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, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
10290
10272
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10291
10273
|
signal,
|
|
10292
10274
|
searchParams: buildSearchParams$2({
|
|
@@ -10299,6 +10281,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10299
10281
|
toggl_user_id,
|
|
10300
10282
|
name,
|
|
10301
10283
|
has_time_entries,
|
|
10284
|
+
has_time_blocks,
|
|
10302
10285
|
has_dates,
|
|
10303
10286
|
private: private_,
|
|
10304
10287
|
archived,
|
|
@@ -10321,6 +10304,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10321
10304
|
priority,
|
|
10322
10305
|
is_priority,
|
|
10323
10306
|
state,
|
|
10307
|
+
timeblock_start_from,
|
|
10308
|
+
timeblock_start_until,
|
|
10309
|
+
time_block_id,
|
|
10310
|
+
time_block_completed,
|
|
10324
10311
|
team_id,
|
|
10325
10312
|
assignee_team_id,
|
|
10326
10313
|
assignee_user_id,
|
|
@@ -10332,11 +10319,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10332
10319
|
include_assignees,
|
|
10333
10320
|
include_parent_matches,
|
|
10334
10321
|
disable_aggregations,
|
|
10335
|
-
cf_filter
|
|
10336
|
-
recurring_occurrences_after,
|
|
10337
|
-
max_recurring_occurrences_after,
|
|
10338
|
-
recurring_task_read,
|
|
10339
|
-
include_projected_occurrences
|
|
10322
|
+
cf_filter
|
|
10340
10323
|
})
|
|
10341
10324
|
}).json();
|
|
10342
10325
|
}
|
|
@@ -10411,46 +10394,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10411
10394
|
})
|
|
10412
10395
|
}).json();
|
|
10413
10396
|
}
|
|
10414
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10397
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10415
10398
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10416
10399
|
signal,
|
|
10417
10400
|
searchParams: buildSearchParams$2({
|
|
10418
10401
|
date_from,
|
|
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
|
|
10402
|
+
date_to
|
|
10450
10403
|
})
|
|
10451
10404
|
}).json();
|
|
10452
10405
|
}
|
|
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
|
|
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) {
|
|
10454
10407
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10455
10408
|
signal,
|
|
10456
10409
|
searchParams: buildSearchParams$2({
|
|
@@ -10466,15 +10419,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10466
10419
|
assignee_team_id,
|
|
10467
10420
|
assignee_user_id,
|
|
10468
10421
|
tag_id,
|
|
10469
|
-
include_assignees
|
|
10470
|
-
recurring_occurrences_after,
|
|
10471
|
-
max_recurring_occurrences_after,
|
|
10472
|
-
recurring_task_read,
|
|
10473
|
-
include_projected_occurrences
|
|
10422
|
+
include_assignees
|
|
10474
10423
|
})
|
|
10475
10424
|
}).json();
|
|
10476
10425
|
}
|
|
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
|
|
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, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
10478
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10479
10428
|
signal,
|
|
10480
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10486,6 +10435,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10486
10435
|
name,
|
|
10487
10436
|
include_parent_matches,
|
|
10488
10437
|
has_time_entries,
|
|
10438
|
+
has_time_blocks,
|
|
10489
10439
|
has_dates,
|
|
10490
10440
|
private: private_,
|
|
10491
10441
|
archived,
|
|
@@ -10508,6 +10458,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10508
10458
|
priority,
|
|
10509
10459
|
is_priority,
|
|
10510
10460
|
state,
|
|
10461
|
+
time_block_id,
|
|
10462
|
+
time_block_completed,
|
|
10511
10463
|
team_id,
|
|
10512
10464
|
assignee_team_id,
|
|
10513
10465
|
assignee_user_id,
|
|
@@ -10516,11 +10468,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10516
10468
|
recurring_task_ids,
|
|
10517
10469
|
client_id,
|
|
10518
10470
|
include_assignees,
|
|
10519
|
-
cf_filter
|
|
10520
|
-
recurring_occurrences_after,
|
|
10521
|
-
max_recurring_occurrences_after,
|
|
10522
|
-
recurring_task_read,
|
|
10523
|
-
include_projected_occurrences
|
|
10471
|
+
cf_filter
|
|
10524
10472
|
})
|
|
10525
10473
|
}).json();
|
|
10526
10474
|
}
|
|
@@ -10575,12 +10523,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10575
10523
|
})
|
|
10576
10524
|
}).json();
|
|
10577
10525
|
}
|
|
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
|
-
}
|
|
10584
10526
|
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) {
|
|
10585
10527
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10586
10528
|
signal,
|
|
@@ -10606,7 +10548,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10606
10548
|
}
|
|
10607
10549
|
//#endregion
|
|
10608
10550
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10609
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10551
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
10610
10552
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10611
10553
|
signal,
|
|
10612
10554
|
searchParams: buildSearchParams$2({
|
|
@@ -10614,28 +10556,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10614
10556
|
per_page,
|
|
10615
10557
|
order_by,
|
|
10616
10558
|
type,
|
|
10617
|
-
archived
|
|
10559
|
+
archived,
|
|
10560
|
+
time_block_id
|
|
10618
10561
|
})
|
|
10619
10562
|
}).json();
|
|
10620
10563
|
}
|
|
10621
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10564
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10622
10565
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10623
10566
|
signal,
|
|
10624
|
-
json: data
|
|
10625
|
-
searchParams: buildSearchParams$2({
|
|
10626
|
-
from_recurring_task_id,
|
|
10627
|
-
return_occurrence
|
|
10628
|
-
})
|
|
10567
|
+
json: data
|
|
10629
10568
|
}).json();
|
|
10630
10569
|
}
|
|
10631
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10570
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10632
10571
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10633
10572
|
signal,
|
|
10634
|
-
json: data
|
|
10635
|
-
searchParams: buildSearchParams$2({
|
|
10636
|
-
from_recurring_task_id,
|
|
10637
|
-
return_occurrence
|
|
10638
|
-
})
|
|
10573
|
+
json: data
|
|
10639
10574
|
}).json();
|
|
10640
10575
|
}
|
|
10641
10576
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10686,7 +10621,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10686
10621
|
json: data
|
|
10687
10622
|
}).json();
|
|
10688
10623
|
}
|
|
10689
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
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) {
|
|
10690
10625
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10691
10626
|
signal,
|
|
10692
10627
|
searchParams: buildSearchParams$2({
|
|
@@ -10694,7 +10629,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10694
10629
|
date_to,
|
|
10695
10630
|
task_id,
|
|
10696
10631
|
status_id,
|
|
10697
|
-
project_id,
|
|
10698
10632
|
type,
|
|
10699
10633
|
order_by,
|
|
10700
10634
|
archived,
|
|
@@ -10709,36 +10643,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10709
10643
|
json: data
|
|
10710
10644
|
}).json();
|
|
10711
10645
|
}
|
|
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
|
+
}
|
|
10712
10652
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10713
10653
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10714
10654
|
}
|
|
10715
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10655
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10716
10656
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10717
10657
|
signal,
|
|
10718
|
-
json: data
|
|
10719
|
-
searchParams: buildSearchParams$2({
|
|
10720
|
-
from_recurring_task_id,
|
|
10721
|
-
return_occurrence
|
|
10722
|
-
})
|
|
10658
|
+
json: data
|
|
10723
10659
|
}).json();
|
|
10724
10660
|
}
|
|
10725
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
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();
|
|
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}`, { signal }).json();
|
|
10733
10663
|
}
|
|
10734
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10664
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10735
10665
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10736
10666
|
signal,
|
|
10737
|
-
json: data
|
|
10738
|
-
searchParams: buildSearchParams$2({
|
|
10739
|
-
from_recurring_task_id,
|
|
10740
|
-
return_occurrence
|
|
10741
|
-
})
|
|
10667
|
+
json: data
|
|
10742
10668
|
}).json();
|
|
10743
10669
|
}
|
|
10744
10670
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10853,7 +10779,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10853
10779
|
]))
|
|
10854
10780
|
});
|
|
10855
10781
|
//#endregion
|
|
10856
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10782
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10857
10783
|
async function getInvitations(httpClient, signal) {
|
|
10858
10784
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10859
10785
|
}
|
|
@@ -10870,7 +10796,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10870
10796
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10871
10797
|
}
|
|
10872
10798
|
//#endregion
|
|
10873
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10799
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10874
10800
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10875
10801
|
const searchParams = new URLSearchParams();
|
|
10876
10802
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10882,7 +10808,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10882
10808
|
return searchParams;
|
|
10883
10809
|
}
|
|
10884
10810
|
//#endregion
|
|
10885
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10811
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10886
10812
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10887
10813
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10888
10814
|
}
|
|
@@ -10896,7 +10822,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10896
10822
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10897
10823
|
}
|
|
10898
10824
|
//#endregion
|
|
10899
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10825
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10900
10826
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10901
10827
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10902
10828
|
}
|
|
@@ -10916,7 +10842,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10916
10842
|
});
|
|
10917
10843
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10918
10844
|
//#endregion
|
|
10919
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10845
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10920
10846
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10921
10847
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10922
10848
|
signal,
|
|
@@ -10927,12 +10853,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10927
10853
|
})).json();
|
|
10928
10854
|
}
|
|
10929
10855
|
//#endregion
|
|
10930
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10856
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10931
10857
|
async function getStatus(httpClient, signal) {
|
|
10932
10858
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10933
10859
|
}
|
|
10934
10860
|
//#endregion
|
|
10935
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10861
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10936
10862
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10937
10863
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10938
10864
|
signal,
|
|
@@ -10960,7 +10886,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10960
10886
|
return response.json();
|
|
10961
10887
|
}
|
|
10962
10888
|
//#endregion
|
|
10963
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10889
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.91_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6859c486febf661de60aaacac1a2e2a0/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10964
10890
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10965
10891
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10966
10892
|
}
|
|
@@ -14537,15 +14463,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14537
14463
|
}
|
|
14538
14464
|
//#endregion
|
|
14539
14465
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14540
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
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) {
|
|
14541
14467
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14542
14468
|
signal,
|
|
14543
14469
|
searchParams: buildSearchParams$2({
|
|
14544
14470
|
workspace_id,
|
|
14545
14471
|
entity_type,
|
|
14546
14472
|
entity_id,
|
|
14547
|
-
project_id,
|
|
14548
|
-
custom_field_id,
|
|
14549
14473
|
action,
|
|
14550
14474
|
user_id,
|
|
14551
14475
|
page_size,
|
|
@@ -14554,14 +14478,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14554
14478
|
})
|
|
14555
14479
|
}).json();
|
|
14556
14480
|
}
|
|
14557
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
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) {
|
|
14558
14482
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14559
14483
|
signal,
|
|
14560
14484
|
searchParams: buildSearchParams$2({
|
|
14561
14485
|
entity_type,
|
|
14562
14486
|
entity_id,
|
|
14563
|
-
project_id,
|
|
14564
|
-
custom_field_id,
|
|
14565
14487
|
action,
|
|
14566
14488
|
user_id,
|
|
14567
14489
|
page_size,
|
|
@@ -14714,14 +14636,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14714
14636
|
}
|
|
14715
14637
|
//#endregion
|
|
14716
14638
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14717
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14639
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14718
14640
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14719
14641
|
signal,
|
|
14720
14642
|
searchParams: buildSearchParams$2({
|
|
14643
|
+
user_id,
|
|
14721
14644
|
start_date,
|
|
14722
14645
|
end_date,
|
|
14723
|
-
user_id,
|
|
14724
|
-
team_id,
|
|
14725
14646
|
private: private_,
|
|
14726
14647
|
task_source,
|
|
14727
14648
|
unit,
|
|
@@ -14781,15 +14702,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14781
14702
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14782
14703
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14783
14704
|
}
|
|
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
|
-
}
|
|
14793
14705
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14794
14706
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14795
14707
|
signal,
|
|
@@ -14829,61 +14741,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14829
14741
|
}).json();
|
|
14830
14742
|
}
|
|
14831
14743
|
//#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
|
|
14887
14744
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14888
14745
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14889
14746
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -15108,7 +14965,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15108
14965
|
}
|
|
15109
14966
|
//#endregion
|
|
15110
14967
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
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,
|
|
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) {
|
|
15112
14969
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15113
14970
|
signal,
|
|
15114
14971
|
searchParams: buildSearchParams$2({
|
|
@@ -15134,7 +14991,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15134
14991
|
user_id,
|
|
15135
14992
|
only_me,
|
|
15136
14993
|
include_drafts,
|
|
15137
|
-
include_recurring_series,
|
|
15138
14994
|
cf_filter
|
|
15139
14995
|
})
|
|
15140
14996
|
}).json();
|
|
@@ -15153,6 +15009,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15153
15009
|
json: data
|
|
15154
15010
|
}).json();
|
|
15155
15011
|
}
|
|
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
|
+
}
|
|
15156
15015
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15157
15016
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15158
15017
|
}
|
|
@@ -15178,37 +15037,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15178
15037
|
}).json();
|
|
15179
15038
|
}
|
|
15180
15039
|
//#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
|
|
15212
15040
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15213
15041
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15214
15042
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15370,7 +15198,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15370
15198
|
}
|
|
15371
15199
|
//#endregion
|
|
15372
15200
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15373
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
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) {
|
|
15374
15202
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15375
15203
|
signal,
|
|
15376
15204
|
searchParams: buildSearchParams$2({
|
|
@@ -15378,7 +15206,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15378
15206
|
per_group,
|
|
15379
15207
|
assignee_user_id,
|
|
15380
15208
|
assignee_team_id,
|
|
15381
|
-
include_unassigned,
|
|
15382
15209
|
project_id,
|
|
15383
15210
|
task_id,
|
|
15384
15211
|
include_drafts,
|
|
@@ -15423,18 +15250,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15423
15250
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15424
15251
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15425
15252
|
}
|
|
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
|
-
}
|
|
15438
15253
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15439
15254
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15440
15255
|
signal,
|
|
@@ -15444,21 +15259,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15444
15259
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15445
15260
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15446
15261
|
}
|
|
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
|
-
}
|
|
15462
15262
|
//#endregion
|
|
15463
15263
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15464
15264
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15515,10 +15315,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15515
15315
|
}
|
|
15516
15316
|
//#endregion
|
|
15517
15317
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
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
|
|
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) {
|
|
15519
15319
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15520
15320
|
signal,
|
|
15521
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15522
15321
|
searchParams: buildSearchParams$2({
|
|
15523
15322
|
project_id,
|
|
15524
15323
|
source,
|
|
@@ -15547,18 +15346,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15547
15346
|
min_days,
|
|
15548
15347
|
include_drafts,
|
|
15549
15348
|
cf_filter,
|
|
15550
|
-
user_cf_filter
|
|
15551
|
-
recurring_occurrences_after,
|
|
15552
|
-
max_recurring_occurrences_after,
|
|
15553
|
-
recurring_task_read,
|
|
15554
|
-
include_projected_occurrences
|
|
15349
|
+
user_cf_filter
|
|
15555
15350
|
})
|
|
15556
15351
|
}).json();
|
|
15557
15352
|
}
|
|
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
|
|
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) {
|
|
15559
15354
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15560
15355
|
signal,
|
|
15561
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15562
15356
|
searchParams: buildSearchParams$2({
|
|
15563
15357
|
team_id,
|
|
15564
15358
|
project_id,
|
|
@@ -15587,18 +15381,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15587
15381
|
min_days,
|
|
15588
15382
|
include_drafts,
|
|
15589
15383
|
cf_filter,
|
|
15590
|
-
user_cf_filter
|
|
15591
|
-
recurring_occurrences_after,
|
|
15592
|
-
max_recurring_occurrences_after,
|
|
15593
|
-
recurring_task_read,
|
|
15594
|
-
include_projected_occurrences
|
|
15384
|
+
user_cf_filter
|
|
15595
15385
|
})
|
|
15596
15386
|
}).json();
|
|
15597
15387
|
}
|
|
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,
|
|
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) {
|
|
15599
15389
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15600
15390
|
signal,
|
|
15601
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15602
15391
|
searchParams: buildSearchParams$2({
|
|
15603
15392
|
source,
|
|
15604
15393
|
priority,
|
|
@@ -15628,10 +15417,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15628
15417
|
include_drafts,
|
|
15629
15418
|
cf_filter,
|
|
15630
15419
|
user_cf_filter,
|
|
15631
|
-
recurring_occurrences_after,
|
|
15632
|
-
max_recurring_occurrences_after,
|
|
15633
|
-
recurring_task_read,
|
|
15634
|
-
include_projected_occurrences,
|
|
15635
15420
|
page,
|
|
15636
15421
|
per_page,
|
|
15637
15422
|
order_by
|
|
@@ -15659,6 +15444,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15659
15444
|
}).json();
|
|
15660
15445
|
}
|
|
15661
15446
|
//#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
|
|
15662
15545
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15663
15546
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15664
15547
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15696,12 +15579,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15696
15579
|
})
|
|
15697
15580
|
}).json();
|
|
15698
15581
|
}
|
|
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
|
-
}
|
|
15705
15582
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15706
15583
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15707
15584
|
signal,
|
|
@@ -15729,26 +15606,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15729
15606
|
json: data
|
|
15730
15607
|
}).json();
|
|
15731
15608
|
}
|
|
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
|
-
}
|
|
15752
15609
|
//#endregion
|
|
15753
15610
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15754
15611
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15849,19 +15706,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15849
15706
|
json: data
|
|
15850
15707
|
}).json();
|
|
15851
15708
|
}
|
|
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
|
-
}
|
|
15865
15709
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15866
15710
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15867
15711
|
}
|
|
@@ -15905,21 +15749,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15905
15749
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15906
15750
|
}
|
|
15907
15751
|
//#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
|
|
15916
15752
|
//#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
|
-
}
|
|
15923
15753
|
async function getUserSettings(httpClient, signal) {
|
|
15924
15754
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15925
15755
|
}
|
|
@@ -16159,7 +15989,6 @@ const generatedFocusOperations = [
|
|
|
16159
15989
|
mcp: { entityTool: "audit-log" },
|
|
16160
15990
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16161
15991
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16162
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16163
15992
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16164
15993
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16165
15994
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16167,7 +15996,6 @@ const generatedFocusOperations = [
|
|
|
16167
15996
|
from: /* @__PURE__ */ string$1(),
|
|
16168
15997
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16169
15998
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16170
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16171
15999
|
to: /* @__PURE__ */ string$1(),
|
|
16172
16000
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16173
16001
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16201,7 +16029,6 @@ const generatedFocusOperations = [
|
|
|
16201
16029
|
mcp: { entityTool: "audit-log" },
|
|
16202
16030
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16203
16031
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16204
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16205
16032
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16206
16033
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16207
16034
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16209,7 +16036,6 @@ const generatedFocusOperations = [
|
|
|
16209
16036
|
from: /* @__PURE__ */ string$1(),
|
|
16210
16037
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16211
16038
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16212
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16213
16039
|
to: /* @__PURE__ */ string$1(),
|
|
16214
16040
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16215
16041
|
}),
|
|
@@ -16249,7 +16075,6 @@ const generatedFocusOperations = [
|
|
|
16249
16075
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16250
16076
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16251
16077
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16252
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16253
16078
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16254
16079
|
user_id: /* @__PURE__ */ number$2()
|
|
16255
16080
|
}),
|
|
@@ -16499,6 +16324,8 @@ const generatedFocusOperations = [
|
|
|
16499
16324
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16500
16325
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16501
16326
|
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()),
|
|
16502
16329
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16503
16330
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16504
16331
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16532,6 +16359,8 @@ const generatedFocusOperations = [
|
|
|
16532
16359
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16533
16360
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16534
16361
|
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()),
|
|
16535
16364
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16536
16365
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16537
16366
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16547,6 +16376,12 @@ const generatedFocusOperations = [
|
|
|
16547
16376
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16548
16377
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16549
16378
|
}))),
|
|
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
|
+
}))),
|
|
16550
16385
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16551
16386
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16552
16387
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16556,6 +16391,13 @@ const generatedFocusOperations = [
|
|
|
16556
16391
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16557
16392
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16558
16393
|
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()),
|
|
16559
16401
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16560
16402
|
}))
|
|
16561
16403
|
}) }),
|
|
@@ -16673,33 +16515,6 @@ const generatedFocusOperations = [
|
|
|
16673
16515
|
]));
|
|
16674
16516
|
}
|
|
16675
16517
|
},
|
|
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
|
-
},
|
|
16703
16518
|
{
|
|
16704
16519
|
id: "focus.custom-fields.list",
|
|
16705
16520
|
family: "focus",
|
|
@@ -16869,37 +16684,6 @@ const generatedFocusOperations = [
|
|
|
16869
16684
|
]));
|
|
16870
16685
|
}
|
|
16871
16686
|
},
|
|
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
|
-
},
|
|
16903
16687
|
{
|
|
16904
16688
|
id: "focus.custom-fields.update",
|
|
16905
16689
|
family: "focus",
|
|
@@ -17030,256 +16814,6 @@ const generatedFocusOperations = [
|
|
|
17030
16814
|
]));
|
|
17031
16815
|
}
|
|
17032
16816
|
},
|
|
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
|
-
},
|
|
17283
16817
|
{
|
|
17284
16818
|
id: "focus.goals.create",
|
|
17285
16819
|
family: "focus",
|
|
@@ -17296,7 +16830,13 @@ const generatedFocusOperations = [
|
|
|
17296
16830
|
},
|
|
17297
16831
|
mcp: { entityTool: "goals" },
|
|
17298
16832
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16833
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
17299
16834
|
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()),
|
|
17300
16840
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17301
16841
|
"daily",
|
|
17302
16842
|
"weekly",
|
|
@@ -17304,18 +16844,12 @@ const generatedFocusOperations = [
|
|
|
17304
16844
|
"monthly"
|
|
17305
16845
|
]),
|
|
17306
16846
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16847
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17307
16848
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
17308
|
-
|
|
16849
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16850
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17309
16851
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
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()))
|
|
16852
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17319
16853
|
}) }),
|
|
17320
16854
|
execute: (input, { client }) => {
|
|
17321
16855
|
const data = input;
|
|
@@ -17421,6 +16955,13 @@ const generatedFocusOperations = [
|
|
|
17421
16955
|
},
|
|
17422
16956
|
mcp: { entityTool: "goals" },
|
|
17423
16957
|
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()),
|
|
17424
16965
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17425
16966
|
"daily",
|
|
17426
16967
|
"weekly",
|
|
@@ -17428,19 +16969,12 @@ const generatedFocusOperations = [
|
|
|
17428
16969
|
"monthly"
|
|
17429
16970
|
]),
|
|
17430
16971
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17431
|
-
|
|
16972
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16973
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16974
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16975
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17432
16976
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17433
|
-
|
|
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()))
|
|
16977
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17444
16978
|
}) }),
|
|
17445
16979
|
execute: (input, { client }) => {
|
|
17446
16980
|
const data = input;
|
|
@@ -18407,17 +17941,9 @@ const generatedFocusOperations = [
|
|
|
18407
17941
|
mcp: { entityTool: "projects" },
|
|
18408
17942
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18409
17943
|
payload: /* @__PURE__ */ looseObject({
|
|
18410
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18411
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18412
17944
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18413
17945
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18414
17946
|
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()),
|
|
18421
17947
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18422
17948
|
}),
|
|
18423
17949
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18861,7 +18387,6 @@ const generatedFocusOperations = [
|
|
|
18861
18387
|
group: /* @__PURE__ */ string$1(),
|
|
18862
18388
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18863
18389
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18864
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18865
18390
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18866
18391
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18867
18392
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18964,6 +18489,29 @@ const generatedFocusOperations = [
|
|
|
18964
18489
|
]));
|
|
18965
18490
|
}
|
|
18966
18491
|
},
|
|
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
|
+
},
|
|
18967
18515
|
{
|
|
18968
18516
|
id: "focus.projects.margin-targets-get",
|
|
18969
18517
|
family: "focus",
|
|
@@ -19409,137 +18957,13 @@ const generatedFocusOperations = [
|
|
|
19409
18957
|
}
|
|
19410
18958
|
},
|
|
19411
18959
|
{
|
|
19412
|
-
id: "focus.
|
|
18960
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19413
18961
|
family: "focus",
|
|
19414
|
-
resource: "
|
|
19415
|
-
action: "
|
|
19416
|
-
title: "
|
|
19417
|
-
description: "
|
|
19418
|
-
safety: "
|
|
19419
|
-
destructive: false,
|
|
19420
|
-
cli: {
|
|
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",
|
|
18962
|
+
resource: "rates",
|
|
18963
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
18964
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
18965
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
18966
|
+
safety: "update",
|
|
19543
18967
|
destructive: false,
|
|
19544
18968
|
cli: {
|
|
19545
18969
|
group: ["rates", "billable"],
|
|
@@ -21490,7 +20914,7 @@ const generatedFocusOperations = [
|
|
|
21490
20914
|
cli: {
|
|
21491
20915
|
group: ["reportschedules"],
|
|
21492
20916
|
command: "upsert-saved-view-schedule",
|
|
21493
|
-
interactive: "
|
|
20917
|
+
interactive: "default"
|
|
21494
20918
|
},
|
|
21495
20919
|
mcp: { entityTool: "reportschedules" },
|
|
21496
20920
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21501,10 +20925,8 @@ const generatedFocusOperations = [
|
|
|
21501
20925
|
"weekly",
|
|
21502
20926
|
"monthly"
|
|
21503
20927
|
]),
|
|
21504
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21505
20928
|
time: /* @__PURE__ */ string$1(),
|
|
21506
20929
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21507
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21508
20930
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21509
20931
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21510
20932
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21837,32 +21259,6 @@ const generatedFocusOperations = [
|
|
|
21837
21259
|
]));
|
|
21838
21260
|
}
|
|
21839
21261
|
},
|
|
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
|
-
},
|
|
21866
21262
|
{
|
|
21867
21263
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21868
21264
|
family: "focus",
|
|
@@ -21933,36 +21329,6 @@ const generatedFocusOperations = [
|
|
|
21933
21329
|
void 0
|
|
21934
21330
|
]))
|
|
21935
21331
|
},
|
|
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
|
-
},
|
|
21966
21332
|
{
|
|
21967
21333
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21968
21334
|
family: "focus",
|
|
@@ -21993,92 +21359,6 @@ const generatedFocusOperations = [
|
|
|
21993
21359
|
]));
|
|
21994
21360
|
}
|
|
21995
21361
|
},
|
|
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
|
-
},
|
|
22082
21362
|
{
|
|
22083
21363
|
id: "focus.sharedreports.share-saved-view",
|
|
22084
21364
|
family: "focus",
|
|
@@ -22153,32 +21433,6 @@ const generatedFocusOperations = [
|
|
|
22153
21433
|
]));
|
|
22154
21434
|
}
|
|
22155
21435
|
},
|
|
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
|
-
},
|
|
22182
21436
|
{
|
|
22183
21437
|
id: "focus.statuses.create-status",
|
|
22184
21438
|
family: "focus",
|
|
@@ -23221,37 +22475,6 @@ const generatedFocusOperations = [
|
|
|
23221
22475
|
return client.createTask(data);
|
|
23222
22476
|
}
|
|
23223
22477
|
},
|
|
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
|
-
},
|
|
23255
22478
|
{
|
|
23256
22479
|
id: "focus.tasks.delete",
|
|
23257
22480
|
family: "focus",
|
|
@@ -23477,125 +22700,48 @@ const generatedFocusOperations = [
|
|
|
23477
22700
|
}
|
|
23478
22701
|
},
|
|
23479
22702
|
{
|
|
23480
|
-
id: "focus.tasks.get-
|
|
22703
|
+
id: "focus.tasks.get-recurring-instances",
|
|
23481
22704
|
family: "focus",
|
|
23482
22705
|
resource: "tasks",
|
|
23483
|
-
action: "get-
|
|
23484
|
-
title: "Get
|
|
23485
|
-
description: "Get
|
|
22706
|
+
action: "get-recurring-instances",
|
|
22707
|
+
title: "Get Recurring Instances Tasks",
|
|
22708
|
+
description: "Get Recurring Instances Tasks.",
|
|
23486
22709
|
safety: "read",
|
|
23487
22710
|
destructive: false,
|
|
23488
22711
|
cli: {
|
|
23489
22712
|
group: ["tasks"],
|
|
23490
|
-
command: "get-
|
|
22713
|
+
command: "get-recurring-instances",
|
|
23491
22714
|
interactive: "hidden"
|
|
23492
22715
|
},
|
|
23493
22716
|
mcp: { entityTool: "tasks" },
|
|
23494
22717
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23495
|
-
|
|
23496
|
-
|
|
22718
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22719
|
+
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
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()),
|
|
23497
22725
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23498
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23499
22726
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23500
|
-
|
|
23501
|
-
|
|
23502
|
-
|
|
22727
|
+
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22728
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22729
|
+
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22730
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23503
22731
|
}),
|
|
23504
22732
|
execute: (input, { client }) => {
|
|
23505
22733
|
const data = input;
|
|
23506
|
-
return client.runGeneratedRequest("
|
|
22734
|
+
return client.runGeneratedRequest("getTasksRecurringInstancesClassic", () => callGeneratedRequest(getTasksRecurringInstancesClassic, [
|
|
23507
22735
|
client.httpClient,
|
|
23508
22736
|
client.organizationId,
|
|
23509
22737
|
client.workspaceIdNumber,
|
|
23510
|
-
data.parent_task_id,
|
|
23511
22738
|
data,
|
|
23512
22739
|
void 0
|
|
23513
22740
|
]));
|
|
23514
22741
|
}
|
|
23515
22742
|
},
|
|
23516
22743
|
{
|
|
23517
|
-
id: "focus.tasks.get-
|
|
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",
|
|
22744
|
+
id: "focus.tasks.get-stream",
|
|
23599
22745
|
family: "focus",
|
|
23600
22746
|
resource: "tasks",
|
|
23601
22747
|
action: "get-stream",
|
|
@@ -23624,14 +22770,13 @@ const generatedFocusOperations = [
|
|
|
23624
22770
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23625
22771
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23626
22772
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22773
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23627
22774
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23628
22775
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23629
22776
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23630
22777
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23631
22778
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23632
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23633
22779
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23634
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23635
22780
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23636
22781
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23637
22782
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23640,9 +22785,7 @@ const generatedFocusOperations = [
|
|
|
23640
22785
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23641
22786
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23642
22787
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23643
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23644
22788
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23645
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23646
22789
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23647
22790
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23648
22791
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23651,6 +22794,8 @@ const generatedFocusOperations = [
|
|
|
23651
22794
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23652
22795
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23653
22796
|
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()),
|
|
23654
22799
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23655
22800
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23656
22801
|
}),
|
|
@@ -23778,10 +22923,8 @@ const generatedFocusOperations = [
|
|
|
23778
22923
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23779
22924
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23780
22925
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23781
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23782
22926
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23783
22927
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23784
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23785
22928
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23786
22929
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23787
22930
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23790,8 +22933,6 @@ const generatedFocusOperations = [
|
|
|
23790
22933
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23791
22934
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23792
22935
|
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()),
|
|
23795
22936
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23796
22937
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23797
22938
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23800,8 +22941,7 @@ const generatedFocusOperations = [
|
|
|
23800
22941
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23801
22942
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23802
22943
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23803
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23804
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22944
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23805
22945
|
}),
|
|
23806
22946
|
execute: (input, { client }) => {
|
|
23807
22947
|
const data = input;
|
|
@@ -23843,17 +22983,13 @@ const generatedFocusOperations = [
|
|
|
23843
22983
|
group_id: /* @__PURE__ */ number$2(),
|
|
23844
22984
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23845
22985
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23846
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23847
22986
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23848
22987
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23849
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23850
22988
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23851
22989
|
name: /* @__PURE__ */ unknown$1(),
|
|
23852
22990
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23853
22991
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23854
22992
|
project_id: /* @__PURE__ */ number$2(),
|
|
23855
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23856
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23857
22993
|
source: /* @__PURE__ */ unknown$1(),
|
|
23858
22994
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23859
22995
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23862,8 +22998,7 @@ const generatedFocusOperations = [
|
|
|
23862
22998
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23863
22999
|
team_id: /* @__PURE__ */ number$2(),
|
|
23864
23000
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23865
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23866
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23001
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23867
23002
|
}),
|
|
23868
23003
|
execute: (input, { client }) => {
|
|
23869
23004
|
const data = input;
|
|
@@ -23904,17 +23039,13 @@ const generatedFocusOperations = [
|
|
|
23904
23039
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23905
23040
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23906
23041
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23907
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23908
23042
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23909
23043
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23910
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23911
23044
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23912
23045
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23913
23046
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23914
23047
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23915
23048
|
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()),
|
|
23918
23049
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23919
23050
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23920
23051
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23923,8 +23054,7 @@ const generatedFocusOperations = [
|
|
|
23923
23054
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23924
23055
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23925
23056
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23926
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23927
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23057
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23928
23058
|
}),
|
|
23929
23059
|
execute: (input, { client }) => {
|
|
23930
23060
|
const data = input;
|
|
@@ -24168,45 +23298,508 @@ const generatedFocusOperations = [
|
|
|
24168
23298
|
}),
|
|
24169
23299
|
execute: (input, { client }) => {
|
|
24170
23300
|
const data = input;
|
|
24171
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
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()
|
|
23756
|
+
}),
|
|
23757
|
+
execute: (input, { client }) => {
|
|
23758
|
+
const data = input;
|
|
23759
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
24172
23760
|
client.httpClient,
|
|
24173
23761
|
client.organizationId,
|
|
24174
23762
|
client.workspaceIdNumber,
|
|
24175
23763
|
data.task_id,
|
|
24176
|
-
data.
|
|
23764
|
+
data.time_block_id,
|
|
24177
23765
|
void 0
|
|
24178
23766
|
]));
|
|
24179
23767
|
}
|
|
24180
23768
|
},
|
|
24181
23769
|
{
|
|
24182
|
-
id: "focus.
|
|
23770
|
+
id: "focus.time-blocks.update",
|
|
24183
23771
|
family: "focus",
|
|
24184
|
-
resource: "
|
|
24185
|
-
action: "update
|
|
24186
|
-
title: "Update
|
|
24187
|
-
description: "Update
|
|
23772
|
+
resource: "time-blocks",
|
|
23773
|
+
action: "update",
|
|
23774
|
+
title: "Update Time Blocks",
|
|
23775
|
+
description: "Update Time Blocks.",
|
|
24188
23776
|
safety: "update",
|
|
24189
23777
|
destructive: false,
|
|
24190
23778
|
cli: {
|
|
24191
|
-
group: ["
|
|
24192
|
-
command: "update
|
|
23779
|
+
group: ["time-blocks"],
|
|
23780
|
+
command: "update",
|
|
24193
23781
|
interactive: "default"
|
|
24194
23782
|
},
|
|
24195
|
-
mcp: { entityTool: "
|
|
23783
|
+
mcp: { entityTool: "time-blocks" },
|
|
24196
23784
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
23785
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23786
|
+
start: apiDateTimeString,
|
|
23787
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
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()
|
|
24200
23793
|
}),
|
|
24201
23794
|
execute: (input, { client }) => {
|
|
24202
23795
|
const data = input;
|
|
24203
|
-
return client.runGeneratedRequest("
|
|
23796
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
24204
23797
|
client.httpClient,
|
|
24205
23798
|
client.organizationId,
|
|
24206
23799
|
client.workspaceIdNumber,
|
|
24207
|
-
data.
|
|
24208
|
-
data.
|
|
24209
|
-
data.
|
|
23800
|
+
data.task_id,
|
|
23801
|
+
data.time_block_id,
|
|
23802
|
+
data.payload ?? data.data ?? data,
|
|
24210
23803
|
void 0
|
|
24211
23804
|
]));
|
|
24212
23805
|
}
|
|
@@ -24426,8 +24019,7 @@ const generatedFocusOperations = [
|
|
|
24426
24019
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24427
24020
|
"project",
|
|
24428
24021
|
"task",
|
|
24429
|
-
"description"
|
|
24430
|
-
"tags"
|
|
24022
|
+
"description"
|
|
24431
24023
|
]) })),
|
|
24432
24024
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24433
24025
|
}) }),
|
|
@@ -24457,7 +24049,6 @@ const generatedFocusOperations = [
|
|
|
24457
24049
|
},
|
|
24458
24050
|
mcp: { entityTool: "time-entries" },
|
|
24459
24051
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24460
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24461
24052
|
payload: /* @__PURE__ */ looseObject({
|
|
24462
24053
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24463
24054
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24468,12 +24059,11 @@ const generatedFocusOperations = [
|
|
|
24468
24059
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24469
24060
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24470
24061
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24471
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24472
24062
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24063
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24473
24064
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24474
24065
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24475
24066
|
}),
|
|
24476
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24477
24067
|
task_id: /* @__PURE__ */ number$2()
|
|
24478
24068
|
}),
|
|
24479
24069
|
execute: (input, { client }) => {
|
|
@@ -24484,8 +24074,6 @@ const generatedFocusOperations = [
|
|
|
24484
24074
|
client.workspaceIdNumber,
|
|
24485
24075
|
data.task_id,
|
|
24486
24076
|
data.payload ?? data.data ?? data,
|
|
24487
|
-
data.from_recurring_task_id,
|
|
24488
|
-
data.return_occurrence,
|
|
24489
24077
|
void 0
|
|
24490
24078
|
]));
|
|
24491
24079
|
}
|
|
@@ -24505,25 +24093,21 @@ const generatedFocusOperations = [
|
|
|
24505
24093
|
interactive: "default"
|
|
24506
24094
|
},
|
|
24507
24095
|
mcp: { entityTool: "time-entries" },
|
|
24508
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24514
|
-
|
|
24515
|
-
|
|
24516
|
-
|
|
24517
|
-
|
|
24518
|
-
|
|
24519
|
-
|
|
24520
|
-
|
|
24521
|
-
|
|
24522
|
-
|
|
24523
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24524
|
-
}),
|
|
24525
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24526
|
-
}),
|
|
24096
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24097
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24098
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24099
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24100
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24101
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24102
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24103
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24104
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24105
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24106
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24107
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24108
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24109
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24110
|
+
}) }),
|
|
24527
24111
|
execute: (input, { client }) => {
|
|
24528
24112
|
const data = input;
|
|
24529
24113
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24531,8 +24115,6 @@ const generatedFocusOperations = [
|
|
|
24531
24115
|
client.organizationId,
|
|
24532
24116
|
client.workspaceIdNumber,
|
|
24533
24117
|
data.payload ?? data.data ?? data,
|
|
24534
|
-
data.from_recurring_task_id,
|
|
24535
|
-
data.return_occurrence,
|
|
24536
24118
|
void 0
|
|
24537
24119
|
]));
|
|
24538
24120
|
}
|
|
@@ -24552,11 +24134,7 @@ const generatedFocusOperations = [
|
|
|
24552
24134
|
interactive: "default"
|
|
24553
24135
|
},
|
|
24554
24136
|
mcp: { entityTool: "time-entries" },
|
|
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
|
-
}),
|
|
24137
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24560
24138
|
execute: (input, { client }) => {
|
|
24561
24139
|
const data = input;
|
|
24562
24140
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24564,8 +24142,6 @@ const generatedFocusOperations = [
|
|
|
24564
24142
|
client.organizationId,
|
|
24565
24143
|
client.workspaceIdNumber,
|
|
24566
24144
|
data.time_entry_id,
|
|
24567
|
-
data.from_recurring_task_id,
|
|
24568
|
-
data.return_occurrence,
|
|
24569
24145
|
void 0
|
|
24570
24146
|
]));
|
|
24571
24147
|
}
|
|
@@ -24646,7 +24222,6 @@ const generatedFocusOperations = [
|
|
|
24646
24222
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24647
24223
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24648
24224
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24649
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24650
24225
|
status_id: /* @__PURE__ */ number$2(),
|
|
24651
24226
|
task_id: /* @__PURE__ */ number$2(),
|
|
24652
24227
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24662,6 +24237,33 @@ const generatedFocusOperations = [
|
|
|
24662
24237
|
]));
|
|
24663
24238
|
}
|
|
24664
24239
|
},
|
|
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
|
+
},
|
|
24665
24267
|
{
|
|
24666
24268
|
id: "focus.time-entries.get-task-time-entries",
|
|
24667
24269
|
family: "focus",
|
|
@@ -24683,6 +24285,7 @@ const generatedFocusOperations = [
|
|
|
24683
24285
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
24286
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24685
24287
|
task_id: /* @__PURE__ */ number$2(),
|
|
24288
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24686
24289
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24687
24290
|
}),
|
|
24688
24291
|
execute: (input, { client }) => {
|
|
@@ -24795,14 +24398,12 @@ const generatedFocusOperations = [
|
|
|
24795
24398
|
},
|
|
24796
24399
|
mcp: { entityTool: "time-entries" },
|
|
24797
24400
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24798
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24799
24401
|
payload: /* @__PURE__ */ looseObject({
|
|
24800
24402
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24801
24403
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24802
24404
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24803
24405
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24804
24406
|
}),
|
|
24805
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24806
24407
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24807
24408
|
}),
|
|
24808
24409
|
execute: (input, { client }) => {
|
|
@@ -24813,8 +24414,6 @@ const generatedFocusOperations = [
|
|
|
24813
24414
|
client.workspaceIdNumber,
|
|
24814
24415
|
data.time_entry_id,
|
|
24815
24416
|
data.payload ?? data.data ?? data,
|
|
24816
|
-
data.from_recurring_task_id,
|
|
24817
|
-
data.return_occurrence,
|
|
24818
24417
|
void 0
|
|
24819
24418
|
]));
|
|
24820
24419
|
}
|
|
@@ -25072,7 +24671,6 @@ const generatedFocusOperations = [
|
|
|
25072
24671
|
},
|
|
25073
24672
|
mcp: { entityTool: "time-entries" },
|
|
25074
24673
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25075
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25076
24674
|
payload: /* @__PURE__ */ looseObject({
|
|
25077
24675
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
25078
24676
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -25082,9 +24680,9 @@ const generatedFocusOperations = [
|
|
|
25082
24680
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25083
24681
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
25084
24682
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24683
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25085
24684
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
25086
24685
|
}),
|
|
25087
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25088
24686
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
25089
24687
|
}),
|
|
25090
24688
|
execute: (input, { client }) => {
|
|
@@ -25095,8 +24693,6 @@ const generatedFocusOperations = [
|
|
|
25095
24693
|
client.workspaceIdNumber,
|
|
25096
24694
|
data.time_entry_id,
|
|
25097
24695
|
data.payload ?? data.data ?? data,
|
|
25098
|
-
data.from_recurring_task_id,
|
|
25099
|
-
data.return_occurrence,
|
|
25100
24696
|
void 0
|
|
25101
24697
|
]));
|
|
25102
24698
|
}
|
|
@@ -25161,118 +24757,6 @@ const generatedFocusOperations = [
|
|
|
25161
24757
|
]));
|
|
25162
24758
|
}
|
|
25163
24759
|
},
|
|
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
|
-
},
|
|
25276
24760
|
{
|
|
25277
24761
|
id: "focus.time-off.get-timeoff-for-user",
|
|
25278
24762
|
family: "focus",
|
|
@@ -25724,40 +25208,6 @@ const generatedFocusOperations = [
|
|
|
25724
25208
|
]));
|
|
25725
25209
|
}
|
|
25726
25210
|
},
|
|
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
|
-
},
|
|
25761
25211
|
{
|
|
25762
25212
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25763
25213
|
family: "focus",
|
|
@@ -26307,33 +25757,6 @@ const generatedFocusOperations = [
|
|
|
26307
25757
|
]));
|
|
26308
25758
|
}
|
|
26309
25759
|
},
|
|
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
|
-
},
|
|
26337
25760
|
{
|
|
26338
25761
|
id: "focus.users.list",
|
|
26339
25762
|
family: "focus",
|
|
@@ -26355,56 +25778,6 @@ const generatedFocusOperations = [
|
|
|
26355
25778
|
return client.listOrgUsers(data);
|
|
26356
25779
|
}
|
|
26357
25780
|
},
|
|
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
|
-
},
|
|
26408
25781
|
{
|
|
26409
25782
|
id: "focus.users.settings-list",
|
|
26410
25783
|
family: "focus",
|
|
@@ -26466,9 +25839,6 @@ const generatedFocusOperations = [
|
|
|
26466
25839
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26467
25840
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26468
25841
|
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()),
|
|
26472
25842
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26473
25843
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26474
25844
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28524,4 +27894,4 @@ Common commands:
|
|
|
28524
27894
|
//#endregion
|
|
28525
27895
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28526
27896
|
|
|
28527
|
-
//# sourceMappingURL=program-
|
|
27897
|
+
//# sourceMappingURL=program-UlrkSWvT.js.map
|