@togglhq/cli 1.11.79 → 1.11.80
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-DJUDU50q.js → program-DZlKCm-L.js} +821 -1146
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -7274,7 +7274,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7274
7274
|
name: /* @__PURE__ */ string(),
|
|
7275
7275
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7276
7276
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7277
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7278
7277
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7279
7278
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7280
7279
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7361,7 +7360,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7361
7360
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7362
7361
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7363
7362
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7364
|
-
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."))),
|
|
7365
7363
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7366
7364
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7367
7365
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7423,7 +7421,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7423
7421
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7424
7422
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7425
7423
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7426
|
-
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."))),
|
|
7427
7424
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7428
7425
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7429
7426
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7584,8 +7581,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7584
7581
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7585
7582
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7586
7583
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7587
|
-
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."))),
|
|
7588
|
-
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."))),
|
|
7589
7584
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7590
7585
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7591
7586
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7671,10 +7666,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7671
7666
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7672
7667
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7673
7668
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7674
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7675
7669
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7676
7670
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7677
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7678
7671
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7679
7672
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7680
7673
|
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)."))),
|
|
@@ -7730,8 +7723,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7730
7723
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7731
7724
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7732
7725
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7733
|
-
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."))),
|
|
7734
|
-
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."))),
|
|
7735
7726
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7736
7727
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
7728
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7904,6 +7895,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7904
7895
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7905
7896
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7906
7897
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7898
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7899
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7907
7900
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7908
7901
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7909
7902
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7960,7 +7953,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7960
7953
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7961
7954
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7962
7955
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7963
|
-
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."))),
|
|
7964
7956
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7965
7957
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7966
7958
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7997,7 +7989,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7997
7989
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7998
7990
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7999
7991
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8000
|
-
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."))),
|
|
8001
7992
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8002
7993
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
8003
7994
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8018,6 +8009,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8018
8009
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8019
8010
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8020
8011
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8012
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8021
8013
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8022
8014
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8023
8015
|
});
|
|
@@ -8046,7 +8038,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8046
8038
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8047
8039
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8048
8040
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8049
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8041
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8042
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8050
8043
|
});
|
|
8051
8044
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8052
8045
|
//#endregion
|
|
@@ -9920,7 +9913,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9920
9913
|
})
|
|
9921
9914
|
}).json();
|
|
9922
9915
|
}
|
|
9923
|
-
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,
|
|
9916
|
+
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) {
|
|
9924
9917
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9925
9918
|
signal,
|
|
9926
9919
|
searchParams: buildSearchParams$2({
|
|
@@ -9941,7 +9934,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9941
9934
|
include_rates,
|
|
9942
9935
|
pinned_ids,
|
|
9943
9936
|
has_group,
|
|
9944
|
-
track_without_focus,
|
|
9945
9937
|
cf_filter,
|
|
9946
9938
|
include_custom_fields,
|
|
9947
9939
|
include_calendar_integration
|
|
@@ -10043,20 +10035,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10043
10035
|
}
|
|
10044
10036
|
//#endregion
|
|
10045
10037
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10046
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
10038
|
+
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) {
|
|
10047
10039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10048
10040
|
signal,
|
|
10049
10041
|
searchParams: buildSearchParams$2({
|
|
10050
|
-
include_task_counts,
|
|
10051
|
-
include_picker_parent_group_counts,
|
|
10052
|
-
task_archived,
|
|
10053
|
-
task_recurring,
|
|
10054
|
-
task_state,
|
|
10055
|
-
task_source,
|
|
10056
|
-
task_assignee_user_id,
|
|
10057
|
-
task_assignee_team_id,
|
|
10058
|
-
task_include_unassigned,
|
|
10059
|
-
task_name,
|
|
10060
10042
|
page,
|
|
10061
10043
|
per_page,
|
|
10062
10044
|
order_by,
|
|
@@ -10306,7 +10288,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10306
10288
|
}
|
|
10307
10289
|
//#endregion
|
|
10308
10290
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10309
|
-
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
|
|
10291
|
+
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) {
|
|
10310
10292
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10311
10293
|
signal,
|
|
10312
10294
|
searchParams: buildSearchParams$2({
|
|
@@ -10319,6 +10301,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10319
10301
|
toggl_user_id,
|
|
10320
10302
|
name,
|
|
10321
10303
|
has_time_entries,
|
|
10304
|
+
has_time_blocks,
|
|
10322
10305
|
has_dates,
|
|
10323
10306
|
private: private_,
|
|
10324
10307
|
archived,
|
|
@@ -10341,6 +10324,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10341
10324
|
priority,
|
|
10342
10325
|
is_priority,
|
|
10343
10326
|
state,
|
|
10327
|
+
timeblock_start_from,
|
|
10328
|
+
timeblock_start_until,
|
|
10329
|
+
time_block_id,
|
|
10330
|
+
time_block_completed,
|
|
10344
10331
|
team_id,
|
|
10345
10332
|
assignee_team_id,
|
|
10346
10333
|
assignee_user_id,
|
|
@@ -10352,11 +10339,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10352
10339
|
include_assignees,
|
|
10353
10340
|
include_parent_matches,
|
|
10354
10341
|
disable_aggregations,
|
|
10355
|
-
cf_filter
|
|
10356
|
-
recurring_occurrences_after,
|
|
10357
|
-
max_recurring_occurrences_after,
|
|
10358
|
-
recurring_task_read,
|
|
10359
|
-
include_projected_occurrences
|
|
10342
|
+
cf_filter
|
|
10360
10343
|
})
|
|
10361
10344
|
}).json();
|
|
10362
10345
|
}
|
|
@@ -10431,46 +10414,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10431
10414
|
})
|
|
10432
10415
|
}).json();
|
|
10433
10416
|
}
|
|
10434
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
10417
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10435
10418
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10436
10419
|
signal,
|
|
10437
10420
|
searchParams: buildSearchParams$2({
|
|
10438
10421
|
date_from,
|
|
10439
|
-
date_to
|
|
10440
|
-
skip_provider_refresh
|
|
10441
|
-
})
|
|
10442
|
-
}).json();
|
|
10443
|
-
}
|
|
10444
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10445
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10446
|
-
signal,
|
|
10447
|
-
searchParams: buildSearchParams$2({
|
|
10448
|
-
project_id,
|
|
10449
|
-
without_project,
|
|
10450
|
-
pinned_only,
|
|
10451
|
-
include_unassigned,
|
|
10452
|
-
search,
|
|
10453
|
-
only_me,
|
|
10454
|
-
page,
|
|
10455
|
-
per_page
|
|
10456
|
-
})
|
|
10457
|
-
}).json();
|
|
10458
|
-
}
|
|
10459
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10460
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10461
|
-
signal,
|
|
10462
|
-
searchParams: buildSearchParams$2({
|
|
10463
|
-
project_id,
|
|
10464
|
-
without_project,
|
|
10465
|
-
include_unassigned,
|
|
10466
|
-
search,
|
|
10467
|
-
only_me,
|
|
10468
|
-
page,
|
|
10469
|
-
per_page
|
|
10422
|
+
date_to
|
|
10470
10423
|
})
|
|
10471
10424
|
}).json();
|
|
10472
10425
|
}
|
|
10473
|
-
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
|
|
10426
|
+
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) {
|
|
10474
10427
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10475
10428
|
signal,
|
|
10476
10429
|
searchParams: buildSearchParams$2({
|
|
@@ -10486,15 +10439,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10486
10439
|
assignee_team_id,
|
|
10487
10440
|
assignee_user_id,
|
|
10488
10441
|
tag_id,
|
|
10489
|
-
include_assignees
|
|
10490
|
-
recurring_occurrences_after,
|
|
10491
|
-
max_recurring_occurrences_after,
|
|
10492
|
-
recurring_task_read,
|
|
10493
|
-
include_projected_occurrences
|
|
10442
|
+
include_assignees
|
|
10494
10443
|
})
|
|
10495
10444
|
}).json();
|
|
10496
10445
|
}
|
|
10497
|
-
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
|
|
10446
|
+
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) {
|
|
10498
10447
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10499
10448
|
signal,
|
|
10500
10449
|
searchParams: buildSearchParams$2({
|
|
@@ -10506,6 +10455,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10506
10455
|
name,
|
|
10507
10456
|
include_parent_matches,
|
|
10508
10457
|
has_time_entries,
|
|
10458
|
+
has_time_blocks,
|
|
10509
10459
|
has_dates,
|
|
10510
10460
|
private: private_,
|
|
10511
10461
|
archived,
|
|
@@ -10528,6 +10478,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10528
10478
|
priority,
|
|
10529
10479
|
is_priority,
|
|
10530
10480
|
state,
|
|
10481
|
+
time_block_id,
|
|
10482
|
+
time_block_completed,
|
|
10531
10483
|
team_id,
|
|
10532
10484
|
assignee_team_id,
|
|
10533
10485
|
assignee_user_id,
|
|
@@ -10536,11 +10488,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10536
10488
|
recurring_task_ids,
|
|
10537
10489
|
client_id,
|
|
10538
10490
|
include_assignees,
|
|
10539
|
-
cf_filter
|
|
10540
|
-
recurring_occurrences_after,
|
|
10541
|
-
max_recurring_occurrences_after,
|
|
10542
|
-
recurring_task_read,
|
|
10543
|
-
include_projected_occurrences
|
|
10491
|
+
cf_filter
|
|
10544
10492
|
})
|
|
10545
10493
|
}).json();
|
|
10546
10494
|
}
|
|
@@ -10595,12 +10543,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10595
10543
|
})
|
|
10596
10544
|
}).json();
|
|
10597
10545
|
}
|
|
10598
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10599
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10600
|
-
signal,
|
|
10601
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10602
|
-
}).json();
|
|
10603
|
-
}
|
|
10604
10546
|
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) {
|
|
10605
10547
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10606
10548
|
signal,
|
|
@@ -10626,7 +10568,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10626
10568
|
}
|
|
10627
10569
|
//#endregion
|
|
10628
10570
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10629
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10571
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
10630
10572
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10631
10573
|
signal,
|
|
10632
10574
|
searchParams: buildSearchParams$2({
|
|
@@ -10634,28 +10576,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10634
10576
|
per_page,
|
|
10635
10577
|
order_by,
|
|
10636
10578
|
type,
|
|
10637
|
-
archived
|
|
10579
|
+
archived,
|
|
10580
|
+
time_block_id
|
|
10638
10581
|
})
|
|
10639
10582
|
}).json();
|
|
10640
10583
|
}
|
|
10641
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
10584
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10642
10585
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10643
10586
|
signal,
|
|
10644
|
-
json: data
|
|
10645
|
-
searchParams: buildSearchParams$2({
|
|
10646
|
-
from_recurring_task_id,
|
|
10647
|
-
return_occurrence
|
|
10648
|
-
})
|
|
10587
|
+
json: data
|
|
10649
10588
|
}).json();
|
|
10650
10589
|
}
|
|
10651
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
10590
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10652
10591
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10653
10592
|
signal,
|
|
10654
|
-
json: data
|
|
10655
|
-
searchParams: buildSearchParams$2({
|
|
10656
|
-
from_recurring_task_id,
|
|
10657
|
-
return_occurrence
|
|
10658
|
-
})
|
|
10593
|
+
json: data
|
|
10659
10594
|
}).json();
|
|
10660
10595
|
}
|
|
10661
10596
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10706,7 +10641,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10706
10641
|
json: data
|
|
10707
10642
|
}).json();
|
|
10708
10643
|
}
|
|
10709
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
10644
|
+
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) {
|
|
10710
10645
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10711
10646
|
signal,
|
|
10712
10647
|
searchParams: buildSearchParams$2({
|
|
@@ -10714,7 +10649,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10714
10649
|
date_to,
|
|
10715
10650
|
task_id,
|
|
10716
10651
|
status_id,
|
|
10717
|
-
project_id,
|
|
10718
10652
|
type,
|
|
10719
10653
|
order_by,
|
|
10720
10654
|
archived,
|
|
@@ -10729,36 +10663,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10729
10663
|
json: data
|
|
10730
10664
|
}).json();
|
|
10731
10665
|
}
|
|
10666
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10667
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10668
|
+
signal,
|
|
10669
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
10670
|
+
}).json();
|
|
10671
|
+
}
|
|
10732
10672
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10733
10673
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10734
10674
|
}
|
|
10735
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10675
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10736
10676
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10737
10677
|
signal,
|
|
10738
|
-
json: data
|
|
10739
|
-
searchParams: buildSearchParams$2({
|
|
10740
|
-
from_recurring_task_id,
|
|
10741
|
-
return_occurrence
|
|
10742
|
-
})
|
|
10678
|
+
json: data
|
|
10743
10679
|
}).json();
|
|
10744
10680
|
}
|
|
10745
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
10746
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10747
|
-
signal,
|
|
10748
|
-
searchParams: buildSearchParams$2({
|
|
10749
|
-
from_recurring_task_id,
|
|
10750
|
-
return_occurrence
|
|
10751
|
-
})
|
|
10752
|
-
}).json();
|
|
10681
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10682
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10753
10683
|
}
|
|
10754
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
10684
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10755
10685
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10756
10686
|
signal,
|
|
10757
|
-
json: data
|
|
10758
|
-
searchParams: buildSearchParams$2({
|
|
10759
|
-
from_recurring_task_id,
|
|
10760
|
-
return_occurrence
|
|
10761
|
-
})
|
|
10687
|
+
json: data
|
|
10762
10688
|
}).json();
|
|
10763
10689
|
}
|
|
10764
10690
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10873,7 +10799,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10873
10799
|
]))
|
|
10874
10800
|
});
|
|
10875
10801
|
//#endregion
|
|
10876
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10802
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10877
10803
|
async function getInvitations(httpClient, signal) {
|
|
10878
10804
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10879
10805
|
}
|
|
@@ -10890,7 +10816,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10890
10816
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10891
10817
|
}
|
|
10892
10818
|
//#endregion
|
|
10893
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10819
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10894
10820
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10895
10821
|
const searchParams = new URLSearchParams();
|
|
10896
10822
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10902,7 +10828,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10902
10828
|
return searchParams;
|
|
10903
10829
|
}
|
|
10904
10830
|
//#endregion
|
|
10905
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10831
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10906
10832
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10907
10833
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10908
10834
|
}
|
|
@@ -10916,7 +10842,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10916
10842
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10917
10843
|
}
|
|
10918
10844
|
//#endregion
|
|
10919
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10845
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10920
10846
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10921
10847
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10922
10848
|
}
|
|
@@ -10936,7 +10862,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10936
10862
|
});
|
|
10937
10863
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10938
10864
|
//#endregion
|
|
10939
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10865
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10940
10866
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10941
10867
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10942
10868
|
signal,
|
|
@@ -10947,12 +10873,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10947
10873
|
})).json();
|
|
10948
10874
|
}
|
|
10949
10875
|
//#endregion
|
|
10950
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10876
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10951
10877
|
async function getStatus(httpClient, signal) {
|
|
10952
10878
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10953
10879
|
}
|
|
10954
10880
|
//#endregion
|
|
10955
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10956
10882
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10957
10883
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10958
10884
|
signal,
|
|
@@ -10980,7 +10906,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10980
10906
|
return response.json();
|
|
10981
10907
|
}
|
|
10982
10908
|
//#endregion
|
|
10983
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10909
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.79_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_56300fbe33d90fb3e87cf472df5e3bc8/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10984
10910
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10985
10911
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10986
10912
|
}
|
|
@@ -14443,15 +14369,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14443
14369
|
}
|
|
14444
14370
|
//#endregion
|
|
14445
14371
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14446
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
14372
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14447
14373
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14448
14374
|
signal,
|
|
14449
14375
|
searchParams: buildSearchParams$2({
|
|
14450
14376
|
workspace_id,
|
|
14451
14377
|
entity_type,
|
|
14452
14378
|
entity_id,
|
|
14453
|
-
project_id,
|
|
14454
|
-
custom_field_id,
|
|
14455
14379
|
action,
|
|
14456
14380
|
user_id,
|
|
14457
14381
|
page_size,
|
|
@@ -14460,14 +14384,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14460
14384
|
})
|
|
14461
14385
|
}).json();
|
|
14462
14386
|
}
|
|
14463
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
14387
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14464
14388
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14465
14389
|
signal,
|
|
14466
14390
|
searchParams: buildSearchParams$2({
|
|
14467
14391
|
entity_type,
|
|
14468
14392
|
entity_id,
|
|
14469
|
-
project_id,
|
|
14470
|
-
custom_field_id,
|
|
14471
14393
|
action,
|
|
14472
14394
|
user_id,
|
|
14473
14395
|
page_size,
|
|
@@ -14620,14 +14542,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14620
14542
|
}
|
|
14621
14543
|
//#endregion
|
|
14622
14544
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14623
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
14545
|
+
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) {
|
|
14624
14546
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14625
14547
|
signal,
|
|
14626
14548
|
searchParams: buildSearchParams$2({
|
|
14549
|
+
user_id,
|
|
14627
14550
|
start_date,
|
|
14628
14551
|
end_date,
|
|
14629
|
-
user_id,
|
|
14630
|
-
team_id,
|
|
14631
14552
|
private: private_,
|
|
14632
14553
|
task_source,
|
|
14633
14554
|
unit,
|
|
@@ -14687,15 +14608,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14687
14608
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14688
14609
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14689
14610
|
}
|
|
14690
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14691
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14692
|
-
}
|
|
14693
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14694
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14695
|
-
signal,
|
|
14696
|
-
json: data
|
|
14697
|
-
}).json();
|
|
14698
|
-
}
|
|
14699
14611
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14700
14612
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14701
14613
|
signal,
|
|
@@ -14959,7 +14871,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14959
14871
|
}
|
|
14960
14872
|
//#endregion
|
|
14961
14873
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14962
|
-
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,
|
|
14874
|
+
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) {
|
|
14963
14875
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14964
14876
|
signal,
|
|
14965
14877
|
searchParams: buildSearchParams$2({
|
|
@@ -14985,7 +14897,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14985
14897
|
user_id,
|
|
14986
14898
|
only_me,
|
|
14987
14899
|
include_drafts,
|
|
14988
|
-
include_recurring_series,
|
|
14989
14900
|
cf_filter
|
|
14990
14901
|
})
|
|
14991
14902
|
}).json();
|
|
@@ -15004,6 +14915,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15004
14915
|
json: data
|
|
15005
14916
|
}).json();
|
|
15006
14917
|
}
|
|
14918
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
14919
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
14920
|
+
}
|
|
15007
14921
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15008
14922
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15009
14923
|
}
|
|
@@ -15029,37 +14943,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15029
14943
|
}).json();
|
|
15030
14944
|
}
|
|
15031
14945
|
//#endregion
|
|
15032
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15033
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15034
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15035
|
-
}
|
|
15036
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15037
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15038
|
-
signal,
|
|
15039
|
-
json: data,
|
|
15040
|
-
searchParams: buildSearchParams$2({
|
|
15041
|
-
response_format,
|
|
15042
|
-
include_dicts
|
|
15043
|
-
})
|
|
15044
|
-
}).json();
|
|
15045
|
-
}
|
|
15046
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15047
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
15048
|
-
signal,
|
|
15049
|
-
json: data,
|
|
15050
|
-
searchParams: buildSearchParams$2({
|
|
15051
|
-
response_format,
|
|
15052
|
-
include_dicts
|
|
15053
|
-
})
|
|
15054
|
-
}).json();
|
|
15055
|
-
}
|
|
15056
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15057
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
15058
|
-
signal,
|
|
15059
|
-
json: data
|
|
15060
|
-
}).json();
|
|
15061
|
-
}
|
|
15062
|
-
//#endregion
|
|
15063
14946
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15064
14947
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15065
14948
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15221,7 +15104,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15221
15104
|
}
|
|
15222
15105
|
//#endregion
|
|
15223
15106
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15224
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
15107
|
+
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) {
|
|
15225
15108
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15226
15109
|
signal,
|
|
15227
15110
|
searchParams: buildSearchParams$2({
|
|
@@ -15229,7 +15112,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15229
15112
|
per_group,
|
|
15230
15113
|
assignee_user_id,
|
|
15231
15114
|
assignee_team_id,
|
|
15232
|
-
include_unassigned,
|
|
15233
15115
|
project_id,
|
|
15234
15116
|
task_id,
|
|
15235
15117
|
include_drafts,
|
|
@@ -15274,18 +15156,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15274
15156
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15275
15157
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15276
15158
|
}
|
|
15277
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15278
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15279
|
-
}
|
|
15280
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15281
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15282
|
-
}
|
|
15283
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15284
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15285
|
-
signal,
|
|
15286
|
-
json: data
|
|
15287
|
-
}).json();
|
|
15288
|
-
}
|
|
15289
15159
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15290
15160
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15291
15161
|
signal,
|
|
@@ -15295,21 +15165,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15295
15165
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15296
15166
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15297
15167
|
}
|
|
15298
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15299
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15300
|
-
signal,
|
|
15301
|
-
json: data
|
|
15302
|
-
}).json();
|
|
15303
|
-
}
|
|
15304
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15305
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15306
|
-
}
|
|
15307
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15308
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15309
|
-
signal,
|
|
15310
|
-
json: data
|
|
15311
|
-
}).json();
|
|
15312
|
-
}
|
|
15313
15168
|
//#endregion
|
|
15314
15169
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15315
15170
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15366,10 +15221,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15366
15221
|
}
|
|
15367
15222
|
//#endregion
|
|
15368
15223
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15369
|
-
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
|
|
15224
|
+
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) {
|
|
15370
15225
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15371
15226
|
signal,
|
|
15372
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15373
15227
|
searchParams: buildSearchParams$2({
|
|
15374
15228
|
project_id,
|
|
15375
15229
|
source,
|
|
@@ -15398,18 +15252,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15398
15252
|
min_days,
|
|
15399
15253
|
include_drafts,
|
|
15400
15254
|
cf_filter,
|
|
15401
|
-
user_cf_filter
|
|
15402
|
-
recurring_occurrences_after,
|
|
15403
|
-
max_recurring_occurrences_after,
|
|
15404
|
-
recurring_task_read,
|
|
15405
|
-
include_projected_occurrences
|
|
15255
|
+
user_cf_filter
|
|
15406
15256
|
})
|
|
15407
15257
|
}).json();
|
|
15408
15258
|
}
|
|
15409
|
-
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
|
|
15259
|
+
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) {
|
|
15410
15260
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15411
15261
|
signal,
|
|
15412
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15413
15262
|
searchParams: buildSearchParams$2({
|
|
15414
15263
|
team_id,
|
|
15415
15264
|
project_id,
|
|
@@ -15438,18 +15287,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15438
15287
|
min_days,
|
|
15439
15288
|
include_drafts,
|
|
15440
15289
|
cf_filter,
|
|
15441
|
-
user_cf_filter
|
|
15442
|
-
recurring_occurrences_after,
|
|
15443
|
-
max_recurring_occurrences_after,
|
|
15444
|
-
recurring_task_read,
|
|
15445
|
-
include_projected_occurrences
|
|
15290
|
+
user_cf_filter
|
|
15446
15291
|
})
|
|
15447
15292
|
}).json();
|
|
15448
15293
|
}
|
|
15449
|
-
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,
|
|
15294
|
+
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) {
|
|
15450
15295
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15451
15296
|
signal,
|
|
15452
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15453
15297
|
searchParams: buildSearchParams$2({
|
|
15454
15298
|
source,
|
|
15455
15299
|
priority,
|
|
@@ -15479,10 +15323,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15479
15323
|
include_drafts,
|
|
15480
15324
|
cf_filter,
|
|
15481
15325
|
user_cf_filter,
|
|
15482
|
-
recurring_occurrences_after,
|
|
15483
|
-
max_recurring_occurrences_after,
|
|
15484
|
-
recurring_task_read,
|
|
15485
|
-
include_projected_occurrences,
|
|
15486
15326
|
page,
|
|
15487
15327
|
per_page,
|
|
15488
15328
|
order_by
|
|
@@ -15510,6 +15350,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15510
15350
|
}).json();
|
|
15511
15351
|
}
|
|
15512
15352
|
//#endregion
|
|
15353
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15354
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15355
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15356
|
+
signal,
|
|
15357
|
+
searchParams: buildSearchParams$2({
|
|
15358
|
+
page,
|
|
15359
|
+
per_page,
|
|
15360
|
+
order_by,
|
|
15361
|
+
archived
|
|
15362
|
+
})
|
|
15363
|
+
}).json();
|
|
15364
|
+
}
|
|
15365
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15366
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15367
|
+
signal,
|
|
15368
|
+
json: data
|
|
15369
|
+
}).json();
|
|
15370
|
+
}
|
|
15371
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15372
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15373
|
+
}
|
|
15374
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15375
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15376
|
+
signal,
|
|
15377
|
+
json: data
|
|
15378
|
+
}).json();
|
|
15379
|
+
}
|
|
15380
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15381
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15382
|
+
signal,
|
|
15383
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15384
|
+
}).json();
|
|
15385
|
+
}
|
|
15386
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15387
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15388
|
+
signal,
|
|
15389
|
+
json: data
|
|
15390
|
+
}).json();
|
|
15391
|
+
}
|
|
15392
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15393
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15394
|
+
}
|
|
15395
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15396
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15397
|
+
}
|
|
15398
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15399
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15400
|
+
}
|
|
15401
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15402
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15403
|
+
signal,
|
|
15404
|
+
searchParams: buildSearchParams$2({
|
|
15405
|
+
date_from,
|
|
15406
|
+
date_to,
|
|
15407
|
+
task_id,
|
|
15408
|
+
status_id,
|
|
15409
|
+
page,
|
|
15410
|
+
per_page,
|
|
15411
|
+
archived,
|
|
15412
|
+
order_by
|
|
15413
|
+
})
|
|
15414
|
+
}).json();
|
|
15415
|
+
}
|
|
15416
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15417
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15418
|
+
signal,
|
|
15419
|
+
json: data
|
|
15420
|
+
}).json();
|
|
15421
|
+
}
|
|
15422
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15423
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15424
|
+
signal,
|
|
15425
|
+
searchParams: buildSearchParams$2({
|
|
15426
|
+
ids,
|
|
15427
|
+
outbound_sync
|
|
15428
|
+
})
|
|
15429
|
+
}).json();
|
|
15430
|
+
}
|
|
15431
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15432
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15433
|
+
signal,
|
|
15434
|
+
json: data
|
|
15435
|
+
}).json();
|
|
15436
|
+
}
|
|
15437
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15438
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15439
|
+
signal,
|
|
15440
|
+
searchParams: buildSearchParams$2({
|
|
15441
|
+
date_from,
|
|
15442
|
+
date_to,
|
|
15443
|
+
task_id,
|
|
15444
|
+
status_id,
|
|
15445
|
+
archived,
|
|
15446
|
+
order_by
|
|
15447
|
+
})
|
|
15448
|
+
}).json();
|
|
15449
|
+
}
|
|
15450
|
+
//#endregion
|
|
15513
15451
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15514
15452
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15515
15453
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15547,12 +15485,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15547
15485
|
})
|
|
15548
15486
|
}).json();
|
|
15549
15487
|
}
|
|
15550
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15551
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15552
|
-
}
|
|
15553
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15554
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15555
|
-
}
|
|
15556
15488
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15557
15489
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15558
15490
|
signal,
|
|
@@ -15580,26 +15512,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15580
15512
|
json: data
|
|
15581
15513
|
}).json();
|
|
15582
15514
|
}
|
|
15583
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15584
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15585
|
-
signal,
|
|
15586
|
-
searchParams: buildSearchParams$2({
|
|
15587
|
-
category_id,
|
|
15588
|
-
date
|
|
15589
|
-
})
|
|
15590
|
-
}).json();
|
|
15591
|
-
}
|
|
15592
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15593
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15594
|
-
signal,
|
|
15595
|
-
searchParams: buildSearchParams$2({
|
|
15596
|
-
category_id,
|
|
15597
|
-
year,
|
|
15598
|
-
page,
|
|
15599
|
-
rows
|
|
15600
|
-
})
|
|
15601
|
-
}).json();
|
|
15602
|
-
}
|
|
15603
15515
|
//#endregion
|
|
15604
15516
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15605
15517
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15700,19 +15612,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15700
15612
|
json: data
|
|
15701
15613
|
}).json();
|
|
15702
15614
|
}
|
|
15703
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15704
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15705
|
-
signal,
|
|
15706
|
-
searchParams: buildSearchParams$2({
|
|
15707
|
-
date_from,
|
|
15708
|
-
date_to,
|
|
15709
|
-
setup_id,
|
|
15710
|
-
user_account_ids,
|
|
15711
|
-
approver_user_account_ids,
|
|
15712
|
-
team_ids
|
|
15713
|
-
})
|
|
15714
|
-
}).json();
|
|
15715
|
-
}
|
|
15716
15615
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15717
15616
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15718
15617
|
}
|
|
@@ -15756,21 +15655,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15756
15655
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15757
15656
|
}
|
|
15758
15657
|
//#endregion
|
|
15759
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15760
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15761
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15762
|
-
signal,
|
|
15763
|
-
json: data
|
|
15764
|
-
}).json();
|
|
15765
|
-
}
|
|
15766
|
-
//#endregion
|
|
15767
15658
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15768
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15769
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15770
|
-
}
|
|
15771
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15772
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15773
|
-
}
|
|
15774
15659
|
async function getUserSettings(httpClient, signal) {
|
|
15775
15660
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15776
15661
|
}
|
|
@@ -16010,7 +15895,6 @@ const generatedFocusOperations = [
|
|
|
16010
15895
|
mcp: { entityTool: "audit-log" },
|
|
16011
15896
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16012
15897
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16013
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16014
15898
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16015
15899
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16016
15900
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16018,7 +15902,6 @@ const generatedFocusOperations = [
|
|
|
16018
15902
|
from: /* @__PURE__ */ string$1(),
|
|
16019
15903
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16020
15904
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16021
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16022
15905
|
to: /* @__PURE__ */ string$1(),
|
|
16023
15906
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16024
15907
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16052,7 +15935,6 @@ const generatedFocusOperations = [
|
|
|
16052
15935
|
mcp: { entityTool: "audit-log" },
|
|
16053
15936
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16054
15937
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16055
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16056
15938
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16057
15939
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16058
15940
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16060,7 +15942,6 @@ const generatedFocusOperations = [
|
|
|
16060
15942
|
from: /* @__PURE__ */ string$1(),
|
|
16061
15943
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16062
15944
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16063
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16064
15945
|
to: /* @__PURE__ */ string$1(),
|
|
16065
15946
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16066
15947
|
}),
|
|
@@ -16100,7 +15981,6 @@ const generatedFocusOperations = [
|
|
|
16100
15981
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16101
15982
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16102
15983
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16103
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
16104
15984
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16105
15985
|
user_id: /* @__PURE__ */ number$2()
|
|
16106
15986
|
}),
|
|
@@ -16350,6 +16230,8 @@ const generatedFocusOperations = [
|
|
|
16350
16230
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16351
16231
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16352
16232
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16233
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16234
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16353
16235
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16354
16236
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16355
16237
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16383,6 +16265,8 @@ const generatedFocusOperations = [
|
|
|
16383
16265
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16384
16266
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16385
16267
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16268
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16269
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16386
16270
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16387
16271
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16388
16272
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16398,6 +16282,12 @@ const generatedFocusOperations = [
|
|
|
16398
16282
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16399
16283
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16400
16284
|
}))),
|
|
16285
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16286
|
+
start: apiDateTimeString,
|
|
16287
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16288
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16289
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16290
|
+
}))),
|
|
16401
16291
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16402
16292
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16403
16293
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16407,6 +16297,13 @@ const generatedFocusOperations = [
|
|
|
16407
16297
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16408
16298
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16409
16299
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16300
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16301
|
+
start: apiDateTimeString,
|
|
16302
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16303
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16304
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16305
|
+
})),
|
|
16306
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16410
16307
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16411
16308
|
}))
|
|
16412
16309
|
}) }),
|
|
@@ -16524,33 +16421,6 @@ const generatedFocusOperations = [
|
|
|
16524
16421
|
]));
|
|
16525
16422
|
}
|
|
16526
16423
|
},
|
|
16527
|
-
{
|
|
16528
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
16529
|
-
family: "focus",
|
|
16530
|
-
resource: "custom-fields",
|
|
16531
|
-
action: "get-allowed-users",
|
|
16532
|
-
title: "Get Allowed Users Custom Fields",
|
|
16533
|
-
description: "Get Allowed Users Custom Fields.",
|
|
16534
|
-
safety: "read",
|
|
16535
|
-
destructive: false,
|
|
16536
|
-
cli: {
|
|
16537
|
-
group: ["custom-fields"],
|
|
16538
|
-
command: "get-allowed-users",
|
|
16539
|
-
interactive: "available"
|
|
16540
|
-
},
|
|
16541
|
-
mcp: { entityTool: "custom-fields" },
|
|
16542
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16543
|
-
execute: (input, { client }) => {
|
|
16544
|
-
const data = input;
|
|
16545
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16546
|
-
client.httpClient,
|
|
16547
|
-
client.organizationId,
|
|
16548
|
-
client.workspaceIdNumber,
|
|
16549
|
-
data.custom_field_id,
|
|
16550
|
-
void 0
|
|
16551
|
-
]));
|
|
16552
|
-
}
|
|
16553
|
-
},
|
|
16554
16424
|
{
|
|
16555
16425
|
id: "focus.custom-fields.list",
|
|
16556
16426
|
family: "focus",
|
|
@@ -16721,61 +16591,30 @@ const generatedFocusOperations = [
|
|
|
16721
16591
|
}
|
|
16722
16592
|
},
|
|
16723
16593
|
{
|
|
16724
|
-
id: "focus.custom-fields.
|
|
16594
|
+
id: "focus.custom-fields.update",
|
|
16725
16595
|
family: "focus",
|
|
16726
16596
|
resource: "custom-fields",
|
|
16727
|
-
action: "
|
|
16728
|
-
title: "
|
|
16729
|
-
description: "
|
|
16597
|
+
action: "update",
|
|
16598
|
+
title: "Update Custom Fields",
|
|
16599
|
+
description: "Update Custom Fields.",
|
|
16730
16600
|
safety: "update",
|
|
16731
16601
|
destructive: false,
|
|
16732
16602
|
cli: {
|
|
16733
16603
|
group: ["custom-fields"],
|
|
16734
|
-
command: "
|
|
16604
|
+
command: "update",
|
|
16735
16605
|
interactive: "default"
|
|
16736
16606
|
},
|
|
16737
16607
|
mcp: { entityTool: "custom-fields" },
|
|
16738
16608
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16739
16609
|
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16740
|
-
payload: /* @__PURE__ */ looseObject({
|
|
16610
|
+
payload: /* @__PURE__ */ looseObject({
|
|
16611
|
+
name: /* @__PURE__ */ string$1(),
|
|
16612
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16613
|
+
})
|
|
16741
16614
|
}),
|
|
16742
16615
|
execute: (input, { client }) => {
|
|
16743
16616
|
const data = input;
|
|
16744
|
-
return client.runGeneratedRequest("
|
|
16745
|
-
client.httpClient,
|
|
16746
|
-
client.organizationId,
|
|
16747
|
-
client.workspaceIdNumber,
|
|
16748
|
-
data.custom_field_id,
|
|
16749
|
-
data.payload ?? data.data ?? data,
|
|
16750
|
-
void 0
|
|
16751
|
-
]));
|
|
16752
|
-
}
|
|
16753
|
-
},
|
|
16754
|
-
{
|
|
16755
|
-
id: "focus.custom-fields.update",
|
|
16756
|
-
family: "focus",
|
|
16757
|
-
resource: "custom-fields",
|
|
16758
|
-
action: "update",
|
|
16759
|
-
title: "Update Custom Fields",
|
|
16760
|
-
description: "Update Custom Fields.",
|
|
16761
|
-
safety: "update",
|
|
16762
|
-
destructive: false,
|
|
16763
|
-
cli: {
|
|
16764
|
-
group: ["custom-fields"],
|
|
16765
|
-
command: "update",
|
|
16766
|
-
interactive: "default"
|
|
16767
|
-
},
|
|
16768
|
-
mcp: { entityTool: "custom-fields" },
|
|
16769
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
16770
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16771
|
-
payload: /* @__PURE__ */ looseObject({
|
|
16772
|
-
name: /* @__PURE__ */ string$1(),
|
|
16773
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16774
|
-
})
|
|
16775
|
-
}),
|
|
16776
|
-
execute: (input, { client }) => {
|
|
16777
|
-
const data = input;
|
|
16778
|
-
return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
|
|
16617
|
+
return client.runGeneratedRequest("updateCustomField", () => callGeneratedRequest(updateCustomField, [
|
|
16779
16618
|
client.httpClient,
|
|
16780
16619
|
client.organizationId,
|
|
16781
16620
|
client.workspaceIdNumber,
|
|
@@ -16897,7 +16736,13 @@ const generatedFocusOperations = [
|
|
|
16897
16736
|
},
|
|
16898
16737
|
mcp: { entityTool: "goals" },
|
|
16899
16738
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16739
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16900
16740
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16741
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16742
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16743
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16744
|
+
name: /* @__PURE__ */ string$1(),
|
|
16745
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16901
16746
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16902
16747
|
"daily",
|
|
16903
16748
|
"weekly",
|
|
@@ -16905,18 +16750,12 @@ const generatedFocusOperations = [
|
|
|
16905
16750
|
"monthly"
|
|
16906
16751
|
]),
|
|
16907
16752
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16753
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16908
16754
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16909
|
-
|
|
16755
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16756
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16910
16757
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16911
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16912
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16913
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16914
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
16915
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16916
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16917
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16918
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16919
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16758
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
16920
16759
|
}) }),
|
|
16921
16760
|
execute: (input, { client }) => {
|
|
16922
16761
|
const data = input;
|
|
@@ -17022,6 +16861,13 @@ const generatedFocusOperations = [
|
|
|
17022
16861
|
},
|
|
17023
16862
|
mcp: { entityTool: "goals" },
|
|
17024
16863
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16864
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
16865
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16866
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
+
icon: /* @__PURE__ */ string$1(),
|
|
16868
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16869
|
+
name: /* @__PURE__ */ string$1(),
|
|
16870
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17025
16871
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17026
16872
|
"daily",
|
|
17027
16873
|
"weekly",
|
|
@@ -17029,19 +16875,12 @@ const generatedFocusOperations = [
|
|
|
17029
16875
|
"monthly"
|
|
17030
16876
|
]),
|
|
17031
16877
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17032
|
-
|
|
16878
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16879
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
16880
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16881
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17033
16882
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17034
|
-
|
|
17035
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17036
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17037
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17038
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17039
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17040
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17041
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17042
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17043
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17044
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16883
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17045
16884
|
}) }),
|
|
17046
16885
|
execute: (input, { client }) => {
|
|
17047
16886
|
const data = input;
|
|
@@ -18008,17 +17847,9 @@ const generatedFocusOperations = [
|
|
|
18008
17847
|
mcp: { entityTool: "projects" },
|
|
18009
17848
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18010
17849
|
payload: /* @__PURE__ */ looseObject({
|
|
18011
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18012
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18013
17850
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18014
17851
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18015
17852
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18016
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18017
|
-
"expire",
|
|
18018
|
-
"carry_all",
|
|
18019
|
-
"carry_over"
|
|
18020
|
-
])),
|
|
18021
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18022
17853
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18023
17854
|
}),
|
|
18024
17855
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18462,7 +18293,6 @@ const generatedFocusOperations = [
|
|
|
18462
18293
|
group: /* @__PURE__ */ string$1(),
|
|
18463
18294
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18464
18295
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18465
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18466
18296
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18467
18297
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18468
18298
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18565,6 +18395,29 @@ const generatedFocusOperations = [
|
|
|
18565
18395
|
]));
|
|
18566
18396
|
}
|
|
18567
18397
|
},
|
|
18398
|
+
{
|
|
18399
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
18400
|
+
family: "focus",
|
|
18401
|
+
resource: "projects",
|
|
18402
|
+
action: "margin-targets-clear-workspace",
|
|
18403
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
18404
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
18405
|
+
safety: "delete",
|
|
18406
|
+
destructive: true,
|
|
18407
|
+
cli: {
|
|
18408
|
+
group: ["projects", "margin-targets"],
|
|
18409
|
+
command: "clear-workspace",
|
|
18410
|
+
interactive: "default"
|
|
18411
|
+
},
|
|
18412
|
+
mcp: { entityTool: "projects" },
|
|
18413
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18414
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18415
|
+
client.httpClient,
|
|
18416
|
+
client.organizationId,
|
|
18417
|
+
client.workspaceIdNumber,
|
|
18418
|
+
void 0
|
|
18419
|
+
]))
|
|
18420
|
+
},
|
|
18568
18421
|
{
|
|
18569
18422
|
id: "focus.projects.margin-targets-get",
|
|
18570
18423
|
family: "focus",
|
|
@@ -19009,130 +18862,6 @@ const generatedFocusOperations = [
|
|
|
19009
18862
|
]));
|
|
19010
18863
|
}
|
|
19011
18864
|
},
|
|
19012
|
-
{
|
|
19013
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19014
|
-
family: "focus",
|
|
19015
|
-
resource: "publicsharedreports",
|
|
19016
|
-
action: "open-public-shared-report",
|
|
19017
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
19018
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
19019
|
-
safety: "read",
|
|
19020
|
-
destructive: false,
|
|
19021
|
-
cli: {
|
|
19022
|
-
group: ["publicsharedreports"],
|
|
19023
|
-
command: "open-public-shared-report",
|
|
19024
|
-
interactive: "available"
|
|
19025
|
-
},
|
|
19026
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19027
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19028
|
-
execute: (input, { client }) => {
|
|
19029
|
-
const data = input;
|
|
19030
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19031
|
-
client.httpClient,
|
|
19032
|
-
data.token,
|
|
19033
|
-
void 0
|
|
19034
|
-
]));
|
|
19035
|
-
}
|
|
19036
|
-
},
|
|
19037
|
-
{
|
|
19038
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19039
|
-
family: "focus",
|
|
19040
|
-
resource: "publicsharedreports",
|
|
19041
|
-
action: "profitability-public-shared-report",
|
|
19042
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19043
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19044
|
-
safety: "update",
|
|
19045
|
-
destructive: false,
|
|
19046
|
-
cli: {
|
|
19047
|
-
group: ["publicsharedreports"],
|
|
19048
|
-
command: "profitability-public-shared-report",
|
|
19049
|
-
interactive: "default"
|
|
19050
|
-
},
|
|
19051
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19052
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19053
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19054
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19055
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19056
|
-
token: /* @__PURE__ */ string$1()
|
|
19057
|
-
}),
|
|
19058
|
-
execute: (input, { client }) => {
|
|
19059
|
-
const data = input;
|
|
19060
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19061
|
-
client.httpClient,
|
|
19062
|
-
data.token,
|
|
19063
|
-
data.payload ?? data.data ?? data,
|
|
19064
|
-
data.response_format,
|
|
19065
|
-
data.include_dicts,
|
|
19066
|
-
void 0
|
|
19067
|
-
]));
|
|
19068
|
-
}
|
|
19069
|
-
},
|
|
19070
|
-
{
|
|
19071
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19072
|
-
family: "focus",
|
|
19073
|
-
resource: "publicsharedreports",
|
|
19074
|
-
action: "query-public-shared-report",
|
|
19075
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
19076
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
19077
|
-
safety: "update",
|
|
19078
|
-
destructive: false,
|
|
19079
|
-
cli: {
|
|
19080
|
-
group: ["publicsharedreports"],
|
|
19081
|
-
command: "query-public-shared-report",
|
|
19082
|
-
interactive: "default"
|
|
19083
|
-
},
|
|
19084
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19085
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19086
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19087
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19088
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19089
|
-
"json_row",
|
|
19090
|
-
"table",
|
|
19091
|
-
"hierarchical"
|
|
19092
|
-
])),
|
|
19093
|
-
token: /* @__PURE__ */ string$1()
|
|
19094
|
-
}),
|
|
19095
|
-
execute: (input, { client }) => {
|
|
19096
|
-
const data = input;
|
|
19097
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19098
|
-
client.httpClient,
|
|
19099
|
-
data.token,
|
|
19100
|
-
data.payload ?? data.data ?? data,
|
|
19101
|
-
data.response_format,
|
|
19102
|
-
data.include_dicts,
|
|
19103
|
-
void 0
|
|
19104
|
-
]));
|
|
19105
|
-
}
|
|
19106
|
-
},
|
|
19107
|
-
{
|
|
19108
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19109
|
-
family: "focus",
|
|
19110
|
-
resource: "publicsharedreports",
|
|
19111
|
-
action: "workload-public-shared-report",
|
|
19112
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
19113
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19114
|
-
safety: "update",
|
|
19115
|
-
destructive: false,
|
|
19116
|
-
cli: {
|
|
19117
|
-
group: ["publicsharedreports"],
|
|
19118
|
-
command: "workload-public-shared-report",
|
|
19119
|
-
interactive: "default"
|
|
19120
|
-
},
|
|
19121
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
19122
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
19123
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19124
|
-
token: /* @__PURE__ */ string$1()
|
|
19125
|
-
}),
|
|
19126
|
-
execute: (input, { client }) => {
|
|
19127
|
-
const data = input;
|
|
19128
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19129
|
-
client.httpClient,
|
|
19130
|
-
data.token,
|
|
19131
|
-
data.payload ?? data.data ?? data,
|
|
19132
|
-
void 0
|
|
19133
|
-
]));
|
|
19134
|
-
}
|
|
19135
|
-
},
|
|
19136
18865
|
{
|
|
19137
18866
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
19138
18867
|
family: "focus",
|
|
@@ -21091,7 +20820,7 @@ const generatedFocusOperations = [
|
|
|
21091
20820
|
cli: {
|
|
21092
20821
|
group: ["reportschedules"],
|
|
21093
20822
|
command: "upsert-saved-view-schedule",
|
|
21094
|
-
interactive: "
|
|
20823
|
+
interactive: "default"
|
|
21095
20824
|
},
|
|
21096
20825
|
mcp: { entityTool: "reportschedules" },
|
|
21097
20826
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -21102,10 +20831,8 @@ const generatedFocusOperations = [
|
|
|
21102
20831
|
"weekly",
|
|
21103
20832
|
"monthly"
|
|
21104
20833
|
]),
|
|
21105
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21106
20834
|
time: /* @__PURE__ */ string$1(),
|
|
21107
20835
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21108
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21109
20836
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21110
20837
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21111
20838
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21438,32 +21165,6 @@ const generatedFocusOperations = [
|
|
|
21438
21165
|
]));
|
|
21439
21166
|
}
|
|
21440
21167
|
},
|
|
21441
|
-
{
|
|
21442
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
21443
|
-
family: "focus",
|
|
21444
|
-
resource: "sharedreports",
|
|
21445
|
-
action: "get-shared-report-dates",
|
|
21446
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
21447
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
21448
|
-
safety: "read",
|
|
21449
|
-
destructive: false,
|
|
21450
|
-
cli: {
|
|
21451
|
-
group: ["sharedreports"],
|
|
21452
|
-
command: "get-shared-report-dates",
|
|
21453
|
-
interactive: "available"
|
|
21454
|
-
},
|
|
21455
|
-
mcp: { entityTool: "sharedreports" },
|
|
21456
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21457
|
-
execute: (input, { client }) => {
|
|
21458
|
-
const data = input;
|
|
21459
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21460
|
-
client.httpClient,
|
|
21461
|
-
client.workspaceIdNumber,
|
|
21462
|
-
data.id,
|
|
21463
|
-
void 0
|
|
21464
|
-
]));
|
|
21465
|
-
}
|
|
21466
|
-
},
|
|
21467
21168
|
{
|
|
21468
21169
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21469
21170
|
family: "focus",
|
|
@@ -21534,36 +21235,6 @@ const generatedFocusOperations = [
|
|
|
21534
21235
|
void 0
|
|
21535
21236
|
]))
|
|
21536
21237
|
},
|
|
21537
|
-
{
|
|
21538
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
21539
|
-
family: "focus",
|
|
21540
|
-
resource: "sharedreports",
|
|
21541
|
-
action: "mint-shared-report-link",
|
|
21542
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
21543
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
21544
|
-
safety: "update",
|
|
21545
|
-
destructive: false,
|
|
21546
|
-
cli: {
|
|
21547
|
-
group: ["sharedreports"],
|
|
21548
|
-
command: "mint-shared-report-link",
|
|
21549
|
-
interactive: "default"
|
|
21550
|
-
},
|
|
21551
|
-
mcp: { entityTool: "sharedreports" },
|
|
21552
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21553
|
-
id: /* @__PURE__ */ number$2(),
|
|
21554
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21555
|
-
}),
|
|
21556
|
-
execute: (input, { client }) => {
|
|
21557
|
-
const data = input;
|
|
21558
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21559
|
-
client.httpClient,
|
|
21560
|
-
client.workspaceIdNumber,
|
|
21561
|
-
data.id,
|
|
21562
|
-
data.payload ?? data.data ?? data,
|
|
21563
|
-
void 0
|
|
21564
|
-
]));
|
|
21565
|
-
}
|
|
21566
|
-
},
|
|
21567
21238
|
{
|
|
21568
21239
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21569
21240
|
family: "focus",
|
|
@@ -21595,53 +21266,71 @@ const generatedFocusOperations = [
|
|
|
21595
21266
|
}
|
|
21596
21267
|
},
|
|
21597
21268
|
{
|
|
21598
|
-
id: "focus.sharedreports.
|
|
21269
|
+
id: "focus.sharedreports.share-saved-view",
|
|
21599
21270
|
family: "focus",
|
|
21600
21271
|
resource: "sharedreports",
|
|
21601
|
-
action: "
|
|
21602
|
-
title: "
|
|
21603
|
-
description: "
|
|
21604
|
-
safety: "
|
|
21605
|
-
destructive:
|
|
21272
|
+
action: "share-saved-view",
|
|
21273
|
+
title: "Share Saved View Sharedreports",
|
|
21274
|
+
description: "Share Saved View Sharedreports.",
|
|
21275
|
+
safety: "update",
|
|
21276
|
+
destructive: false,
|
|
21606
21277
|
cli: {
|
|
21607
21278
|
group: ["sharedreports"],
|
|
21608
|
-
command: "
|
|
21609
|
-
interactive: "
|
|
21279
|
+
command: "share-saved-view",
|
|
21280
|
+
interactive: "hidden"
|
|
21610
21281
|
},
|
|
21611
21282
|
mcp: { entityTool: "sharedreports" },
|
|
21612
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21283
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21284
|
+
id: /* @__PURE__ */ number$2(),
|
|
21285
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21286
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21287
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21288
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21289
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21290
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21291
|
+
})
|
|
21292
|
+
}),
|
|
21613
21293
|
execute: (input, { client }) => {
|
|
21614
21294
|
const data = input;
|
|
21615
|
-
return client.runGeneratedRequest("
|
|
21295
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21616
21296
|
client.httpClient,
|
|
21617
21297
|
client.workspaceIdNumber,
|
|
21618
21298
|
data.id,
|
|
21299
|
+
data.payload ?? data.data ?? data,
|
|
21619
21300
|
void 0
|
|
21620
21301
|
]));
|
|
21621
21302
|
}
|
|
21622
21303
|
},
|
|
21623
21304
|
{
|
|
21624
|
-
id: "focus.sharedreports.
|
|
21305
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
21625
21306
|
family: "focus",
|
|
21626
21307
|
resource: "sharedreports",
|
|
21627
|
-
action: "
|
|
21628
|
-
title: "
|
|
21629
|
-
description: "
|
|
21308
|
+
action: "share-saved-view-many",
|
|
21309
|
+
title: "Share Saved View Many Sharedreports",
|
|
21310
|
+
description: "Share Saved View Many Sharedreports.",
|
|
21630
21311
|
safety: "update",
|
|
21631
21312
|
destructive: false,
|
|
21632
21313
|
cli: {
|
|
21633
21314
|
group: ["sharedreports"],
|
|
21634
|
-
command: "
|
|
21635
|
-
interactive: "
|
|
21315
|
+
command: "share-saved-view-many",
|
|
21316
|
+
interactive: "hidden"
|
|
21636
21317
|
},
|
|
21637
21318
|
mcp: { entityTool: "sharedreports" },
|
|
21638
21319
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21639
21320
|
id: /* @__PURE__ */ number$2(),
|
|
21640
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21321
|
+
payload: /* @__PURE__ */ looseObject({
|
|
21322
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21323
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21324
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21325
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21326
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21327
|
+
})),
|
|
21328
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21329
|
+
})
|
|
21641
21330
|
}),
|
|
21642
21331
|
execute: (input, { client }) => {
|
|
21643
21332
|
const data = input;
|
|
21644
|
-
return client.runGeneratedRequest("
|
|
21333
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21645
21334
|
client.httpClient,
|
|
21646
21335
|
client.workspaceIdNumber,
|
|
21647
21336
|
data.id,
|
|
@@ -21651,158 +21340,28 @@ const generatedFocusOperations = [
|
|
|
21651
21340
|
}
|
|
21652
21341
|
},
|
|
21653
21342
|
{
|
|
21654
|
-
id: "focus.
|
|
21343
|
+
id: "focus.statuses.create-status",
|
|
21655
21344
|
family: "focus",
|
|
21656
|
-
resource: "
|
|
21657
|
-
action: "
|
|
21658
|
-
title: "
|
|
21659
|
-
description: "
|
|
21660
|
-
safety: "
|
|
21345
|
+
resource: "statuses",
|
|
21346
|
+
action: "create-status",
|
|
21347
|
+
title: "Create Status Statuses",
|
|
21348
|
+
description: "Create Status Statuses.",
|
|
21349
|
+
safety: "create",
|
|
21661
21350
|
destructive: false,
|
|
21662
21351
|
cli: {
|
|
21663
|
-
group: ["
|
|
21664
|
-
command: "
|
|
21352
|
+
group: ["statuses"],
|
|
21353
|
+
command: "create-status",
|
|
21665
21354
|
interactive: "default"
|
|
21666
21355
|
},
|
|
21667
|
-
mcp: { entityTool: "
|
|
21668
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21669
|
-
|
|
21670
|
-
|
|
21671
|
-
|
|
21356
|
+
mcp: { entityTool: "statuses" },
|
|
21357
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21358
|
+
emoji: /* @__PURE__ */ string$1(),
|
|
21359
|
+
name: /* @__PURE__ */ string$1(),
|
|
21360
|
+
position: /* @__PURE__ */ number$2()
|
|
21361
|
+
}) }),
|
|
21672
21362
|
execute: (input, { client }) => {
|
|
21673
21363
|
const data = input;
|
|
21674
|
-
return client.runGeneratedRequest("
|
|
21675
|
-
client.httpClient,
|
|
21676
|
-
client.workspaceIdNumber,
|
|
21677
|
-
data.id,
|
|
21678
|
-
data.payload ?? data.data ?? data,
|
|
21679
|
-
void 0
|
|
21680
|
-
]));
|
|
21681
|
-
}
|
|
21682
|
-
},
|
|
21683
|
-
{
|
|
21684
|
-
id: "focus.sharedreports.share-saved-view",
|
|
21685
|
-
family: "focus",
|
|
21686
|
-
resource: "sharedreports",
|
|
21687
|
-
action: "share-saved-view",
|
|
21688
|
-
title: "Share Saved View Sharedreports",
|
|
21689
|
-
description: "Share Saved View Sharedreports.",
|
|
21690
|
-
safety: "update",
|
|
21691
|
-
destructive: false,
|
|
21692
|
-
cli: {
|
|
21693
|
-
group: ["sharedreports"],
|
|
21694
|
-
command: "share-saved-view",
|
|
21695
|
-
interactive: "hidden"
|
|
21696
|
-
},
|
|
21697
|
-
mcp: { entityTool: "sharedreports" },
|
|
21698
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21699
|
-
id: /* @__PURE__ */ number$2(),
|
|
21700
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21701
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21702
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21703
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21704
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21705
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21706
|
-
})
|
|
21707
|
-
}),
|
|
21708
|
-
execute: (input, { client }) => {
|
|
21709
|
-
const data = input;
|
|
21710
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
21711
|
-
client.httpClient,
|
|
21712
|
-
client.workspaceIdNumber,
|
|
21713
|
-
data.id,
|
|
21714
|
-
data.payload ?? data.data ?? data,
|
|
21715
|
-
void 0
|
|
21716
|
-
]));
|
|
21717
|
-
}
|
|
21718
|
-
},
|
|
21719
|
-
{
|
|
21720
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
21721
|
-
family: "focus",
|
|
21722
|
-
resource: "sharedreports",
|
|
21723
|
-
action: "share-saved-view-many",
|
|
21724
|
-
title: "Share Saved View Many Sharedreports",
|
|
21725
|
-
description: "Share Saved View Many Sharedreports.",
|
|
21726
|
-
safety: "update",
|
|
21727
|
-
destructive: false,
|
|
21728
|
-
cli: {
|
|
21729
|
-
group: ["sharedreports"],
|
|
21730
|
-
command: "share-saved-view-many",
|
|
21731
|
-
interactive: "hidden"
|
|
21732
|
-
},
|
|
21733
|
-
mcp: { entityTool: "sharedreports" },
|
|
21734
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21735
|
-
id: /* @__PURE__ */ number$2(),
|
|
21736
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21737
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21738
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21739
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21740
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21741
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21742
|
-
})),
|
|
21743
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21744
|
-
})
|
|
21745
|
-
}),
|
|
21746
|
-
execute: (input, { client }) => {
|
|
21747
|
-
const data = input;
|
|
21748
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
21749
|
-
client.httpClient,
|
|
21750
|
-
client.workspaceIdNumber,
|
|
21751
|
-
data.id,
|
|
21752
|
-
data.payload ?? data.data ?? data,
|
|
21753
|
-
void 0
|
|
21754
|
-
]));
|
|
21755
|
-
}
|
|
21756
|
-
},
|
|
21757
|
-
{
|
|
21758
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
21759
|
-
family: "focus",
|
|
21760
|
-
resource: "sharedreports",
|
|
21761
|
-
action: "unshare-shared-report",
|
|
21762
|
-
title: "Unshare Shared Report Sharedreports",
|
|
21763
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
21764
|
-
safety: "delete",
|
|
21765
|
-
destructive: true,
|
|
21766
|
-
cli: {
|
|
21767
|
-
group: ["sharedreports"],
|
|
21768
|
-
command: "unshare-shared-report",
|
|
21769
|
-
interactive: "default"
|
|
21770
|
-
},
|
|
21771
|
-
mcp: { entityTool: "sharedreports" },
|
|
21772
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21773
|
-
execute: (input, { client }) => {
|
|
21774
|
-
const data = input;
|
|
21775
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
21776
|
-
client.httpClient,
|
|
21777
|
-
client.workspaceIdNumber,
|
|
21778
|
-
data.id,
|
|
21779
|
-
void 0
|
|
21780
|
-
]));
|
|
21781
|
-
}
|
|
21782
|
-
},
|
|
21783
|
-
{
|
|
21784
|
-
id: "focus.statuses.create-status",
|
|
21785
|
-
family: "focus",
|
|
21786
|
-
resource: "statuses",
|
|
21787
|
-
action: "create-status",
|
|
21788
|
-
title: "Create Status Statuses",
|
|
21789
|
-
description: "Create Status Statuses.",
|
|
21790
|
-
safety: "create",
|
|
21791
|
-
destructive: false,
|
|
21792
|
-
cli: {
|
|
21793
|
-
group: ["statuses"],
|
|
21794
|
-
command: "create-status",
|
|
21795
|
-
interactive: "default"
|
|
21796
|
-
},
|
|
21797
|
-
mcp: { entityTool: "statuses" },
|
|
21798
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
21799
|
-
emoji: /* @__PURE__ */ string$1(),
|
|
21800
|
-
name: /* @__PURE__ */ string$1(),
|
|
21801
|
-
position: /* @__PURE__ */ number$2()
|
|
21802
|
-
}) }),
|
|
21803
|
-
execute: (input, { client }) => {
|
|
21804
|
-
const data = input;
|
|
21805
|
-
return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
|
|
21364
|
+
return client.runGeneratedRequest("createStatus", () => callGeneratedRequest(createStatus, [
|
|
21806
21365
|
client.httpClient,
|
|
21807
21366
|
client.workspaceIdNumber,
|
|
21808
21367
|
data.payload ?? data.data ?? data,
|
|
@@ -22822,37 +22381,6 @@ const generatedFocusOperations = [
|
|
|
22822
22381
|
return client.createTask(data);
|
|
22823
22382
|
}
|
|
22824
22383
|
},
|
|
22825
|
-
{
|
|
22826
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
22827
|
-
family: "focus",
|
|
22828
|
-
resource: "tasks",
|
|
22829
|
-
action: "create-recurring-occurrence",
|
|
22830
|
-
title: "Create Recurring Occurrence Tasks",
|
|
22831
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
22832
|
-
safety: "create",
|
|
22833
|
-
destructive: false,
|
|
22834
|
-
cli: {
|
|
22835
|
-
group: ["tasks"],
|
|
22836
|
-
command: "create-recurring-occurrence",
|
|
22837
|
-
interactive: "default"
|
|
22838
|
-
},
|
|
22839
|
-
mcp: { entityTool: "tasks" },
|
|
22840
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
22841
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22842
|
-
task_id: /* @__PURE__ */ number$2()
|
|
22843
|
-
}),
|
|
22844
|
-
execute: (input, { client }) => {
|
|
22845
|
-
const data = input;
|
|
22846
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22847
|
-
client.httpClient,
|
|
22848
|
-
client.organizationId,
|
|
22849
|
-
client.workspaceIdNumber,
|
|
22850
|
-
data.task_id,
|
|
22851
|
-
data.return_occurrence,
|
|
22852
|
-
void 0
|
|
22853
|
-
]));
|
|
22854
|
-
}
|
|
22855
|
-
},
|
|
22856
22384
|
{
|
|
22857
22385
|
id: "focus.tasks.delete",
|
|
22858
22386
|
family: "focus",
|
|
@@ -23077,79 +22605,6 @@ const generatedFocusOperations = [
|
|
|
23077
22605
|
]));
|
|
23078
22606
|
}
|
|
23079
22607
|
},
|
|
23080
|
-
{
|
|
23081
|
-
id: "focus.tasks.get-picker-task-children",
|
|
23082
|
-
family: "focus",
|
|
23083
|
-
resource: "tasks",
|
|
23084
|
-
action: "get-picker-task-children",
|
|
23085
|
-
title: "Get Picker Task Children Tasks",
|
|
23086
|
-
description: "Get Picker Task Children Tasks.",
|
|
23087
|
-
safety: "read",
|
|
23088
|
-
destructive: false,
|
|
23089
|
-
cli: {
|
|
23090
|
-
group: ["tasks"],
|
|
23091
|
-
command: "get-picker-task-children",
|
|
23092
|
-
interactive: "hidden"
|
|
23093
|
-
},
|
|
23094
|
-
mcp: { entityTool: "tasks" },
|
|
23095
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23096
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23097
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23098
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23099
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23100
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23101
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23102
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23103
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23104
|
-
}),
|
|
23105
|
-
execute: (input, { client }) => {
|
|
23106
|
-
const data = input;
|
|
23107
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23108
|
-
client.httpClient,
|
|
23109
|
-
client.organizationId,
|
|
23110
|
-
client.workspaceIdNumber,
|
|
23111
|
-
data.parent_task_id,
|
|
23112
|
-
data,
|
|
23113
|
-
void 0
|
|
23114
|
-
]));
|
|
23115
|
-
}
|
|
23116
|
-
},
|
|
23117
|
-
{
|
|
23118
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
23119
|
-
family: "focus",
|
|
23120
|
-
resource: "tasks",
|
|
23121
|
-
action: "get-picker-task-groups",
|
|
23122
|
-
title: "Get Picker Task Groups Tasks",
|
|
23123
|
-
description: "Get Picker Task Groups Tasks.",
|
|
23124
|
-
safety: "read",
|
|
23125
|
-
destructive: false,
|
|
23126
|
-
cli: {
|
|
23127
|
-
group: ["tasks"],
|
|
23128
|
-
command: "get-picker-task-groups",
|
|
23129
|
-
interactive: "hidden"
|
|
23130
|
-
},
|
|
23131
|
-
mcp: { entityTool: "tasks" },
|
|
23132
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23133
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23134
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23135
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23136
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23137
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23138
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23139
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23140
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23141
|
-
}),
|
|
23142
|
-
execute: (input, { client }) => {
|
|
23143
|
-
const data = input;
|
|
23144
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23145
|
-
client.httpClient,
|
|
23146
|
-
client.organizationId,
|
|
23147
|
-
client.workspaceIdNumber,
|
|
23148
|
-
data,
|
|
23149
|
-
void 0
|
|
23150
|
-
]));
|
|
23151
|
-
}
|
|
23152
|
-
},
|
|
23153
22608
|
{
|
|
23154
22609
|
id: "focus.tasks.get-recurring-instances",
|
|
23155
22610
|
family: "focus",
|
|
@@ -23173,13 +22628,9 @@ const generatedFocusOperations = [
|
|
|
23173
22628
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
22629
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23175
22630
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
22631
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23179
22632
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
22633
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23182
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
22634
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
22635
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23185
22636
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -23225,14 +22676,13 @@ const generatedFocusOperations = [
|
|
|
23225
22676
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23226
22677
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23227
22678
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22679
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23228
22680
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23229
22681
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23230
22682
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23231
22683
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23232
22684
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23233
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23234
22685
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23235
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23236
22686
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23237
22687
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23238
22688
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -23241,9 +22691,7 @@ const generatedFocusOperations = [
|
|
|
23241
22691
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23242
22692
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23243
22693
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23244
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23245
22694
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23246
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23247
22695
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23248
22696
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23249
22697
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23252,6 +22700,8 @@ const generatedFocusOperations = [
|
|
|
23252
22700
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23253
22701
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23254
22702
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22703
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22704
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23255
22705
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23256
22706
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23257
22707
|
}),
|
|
@@ -23379,10 +22829,8 @@ const generatedFocusOperations = [
|
|
|
23379
22829
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23380
22830
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23381
22831
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23382
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23383
22832
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23384
22833
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23385
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23386
22834
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23387
22835
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23388
22836
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23391,8 +22839,6 @@ const generatedFocusOperations = [
|
|
|
23391
22839
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23392
22840
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23393
22841
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23394
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23395
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23396
22842
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23397
22843
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23398
22844
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23401,8 +22847,7 @@ const generatedFocusOperations = [
|
|
|
23401
22847
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23402
22848
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23403
22849
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23404
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23405
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22850
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23406
22851
|
}),
|
|
23407
22852
|
execute: (input, { client }) => {
|
|
23408
22853
|
const data = input;
|
|
@@ -23444,17 +22889,13 @@ const generatedFocusOperations = [
|
|
|
23444
22889
|
group_id: /* @__PURE__ */ number$2(),
|
|
23445
22890
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23446
22891
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23447
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23448
22892
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23449
22893
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23450
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23451
22894
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23452
22895
|
name: /* @__PURE__ */ unknown$1(),
|
|
23453
22896
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23454
22897
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23455
22898
|
project_id: /* @__PURE__ */ number$2(),
|
|
23456
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23457
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23458
22899
|
source: /* @__PURE__ */ unknown$1(),
|
|
23459
22900
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23460
22901
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23463,8 +22904,7 @@ const generatedFocusOperations = [
|
|
|
23463
22904
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23464
22905
|
team_id: /* @__PURE__ */ number$2(),
|
|
23465
22906
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23466
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23467
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
22907
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
23468
22908
|
}),
|
|
23469
22909
|
execute: (input, { client }) => {
|
|
23470
22910
|
const data = input;
|
|
@@ -23505,17 +22945,13 @@ const generatedFocusOperations = [
|
|
|
23505
22945
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23506
22946
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23507
22947
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23508
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23509
22948
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23510
22949
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23511
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23512
22950
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23513
22951
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23514
22952
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23515
22953
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23516
22954
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23517
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23518
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23519
22955
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23520
22956
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23521
22957
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23524,8 +22960,7 @@ const generatedFocusOperations = [
|
|
|
23524
22960
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23525
22961
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23526
22962
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23527
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23528
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22963
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23529
22964
|
}),
|
|
23530
22965
|
execute: (input, { client }) => {
|
|
23531
22966
|
const data = input;
|
|
@@ -23769,45 +23204,508 @@ const generatedFocusOperations = [
|
|
|
23769
23204
|
}),
|
|
23770
23205
|
execute: (input, { client }) => {
|
|
23771
23206
|
const data = input;
|
|
23772
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23207
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
23208
|
+
client.httpClient,
|
|
23209
|
+
client.organizationId,
|
|
23210
|
+
client.workspaceIdNumber,
|
|
23211
|
+
data.task_id,
|
|
23212
|
+
data.payload ?? data.data ?? data,
|
|
23213
|
+
void 0
|
|
23214
|
+
]));
|
|
23215
|
+
}
|
|
23216
|
+
},
|
|
23217
|
+
{
|
|
23218
|
+
id: "focus.tasks.update-calendar-range",
|
|
23219
|
+
family: "focus",
|
|
23220
|
+
resource: "tasks",
|
|
23221
|
+
action: "update-calendar-range",
|
|
23222
|
+
title: "Update Calendar Range Tasks",
|
|
23223
|
+
description: "Update Calendar Range Tasks.",
|
|
23224
|
+
safety: "update",
|
|
23225
|
+
destructive: false,
|
|
23226
|
+
cli: {
|
|
23227
|
+
group: ["tasks"],
|
|
23228
|
+
command: "update-calendar-range",
|
|
23229
|
+
interactive: "default"
|
|
23230
|
+
},
|
|
23231
|
+
mcp: { entityTool: "tasks" },
|
|
23232
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23233
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23234
|
+
date_to: /* @__PURE__ */ string$1()
|
|
23235
|
+
}),
|
|
23236
|
+
execute: (input, { client }) => {
|
|
23237
|
+
const data = input;
|
|
23238
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23239
|
+
client.httpClient,
|
|
23240
|
+
client.organizationId,
|
|
23241
|
+
client.workspaceIdNumber,
|
|
23242
|
+
data.date_from,
|
|
23243
|
+
data.date_to,
|
|
23244
|
+
void 0
|
|
23245
|
+
]));
|
|
23246
|
+
}
|
|
23247
|
+
},
|
|
23248
|
+
{
|
|
23249
|
+
id: "focus.time-blocks.archive",
|
|
23250
|
+
family: "focus",
|
|
23251
|
+
resource: "time-blocks",
|
|
23252
|
+
action: "archive",
|
|
23253
|
+
title: "Archive Time Blocks",
|
|
23254
|
+
description: "Archive Time Blocks.",
|
|
23255
|
+
safety: "update",
|
|
23256
|
+
destructive: false,
|
|
23257
|
+
cli: {
|
|
23258
|
+
group: ["time-blocks"],
|
|
23259
|
+
command: "archive",
|
|
23260
|
+
interactive: "default"
|
|
23261
|
+
},
|
|
23262
|
+
mcp: { entityTool: "time-blocks" },
|
|
23263
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23264
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23265
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23266
|
+
}),
|
|
23267
|
+
execute: (input, { client }) => {
|
|
23268
|
+
const data = input;
|
|
23269
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23270
|
+
client.httpClient,
|
|
23271
|
+
client.organizationId,
|
|
23272
|
+
client.workspaceIdNumber,
|
|
23273
|
+
data.task_id,
|
|
23274
|
+
data.time_block_id,
|
|
23275
|
+
void 0
|
|
23276
|
+
]));
|
|
23277
|
+
}
|
|
23278
|
+
},
|
|
23279
|
+
{
|
|
23280
|
+
id: "focus.time-blocks.bulk-create",
|
|
23281
|
+
family: "focus",
|
|
23282
|
+
resource: "time-blocks",
|
|
23283
|
+
action: "bulk-create",
|
|
23284
|
+
title: "Bulk Create Time Blocks",
|
|
23285
|
+
description: "Bulk Create Time Blocks.",
|
|
23286
|
+
safety: "create",
|
|
23287
|
+
destructive: false,
|
|
23288
|
+
cli: {
|
|
23289
|
+
group: ["time-blocks", "bulk"],
|
|
23290
|
+
command: "create",
|
|
23291
|
+
interactive: "default"
|
|
23292
|
+
},
|
|
23293
|
+
mcp: { entityTool: "time-blocks" },
|
|
23294
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23295
|
+
start: apiDateTimeString,
|
|
23296
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23297
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23298
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23299
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23300
|
+
})) }) }),
|
|
23301
|
+
execute: (input, { client }) => {
|
|
23302
|
+
const data = input;
|
|
23303
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23304
|
+
client.httpClient,
|
|
23305
|
+
client.organizationId,
|
|
23306
|
+
client.workspaceIdNumber,
|
|
23307
|
+
data.payload ?? data.data ?? data,
|
|
23308
|
+
void 0
|
|
23309
|
+
]));
|
|
23310
|
+
}
|
|
23311
|
+
},
|
|
23312
|
+
{
|
|
23313
|
+
id: "focus.time-blocks.bulk-delete",
|
|
23314
|
+
family: "focus",
|
|
23315
|
+
resource: "time-blocks",
|
|
23316
|
+
action: "bulk-delete",
|
|
23317
|
+
title: "Bulk Delete Time Blocks",
|
|
23318
|
+
description: "Bulk Delete Time Blocks.",
|
|
23319
|
+
safety: "delete",
|
|
23320
|
+
destructive: true,
|
|
23321
|
+
cli: {
|
|
23322
|
+
group: ["time-blocks", "bulk"],
|
|
23323
|
+
command: "delete",
|
|
23324
|
+
interactive: "default"
|
|
23325
|
+
},
|
|
23326
|
+
mcp: { entityTool: "time-blocks" },
|
|
23327
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23328
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23329
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23330
|
+
}),
|
|
23331
|
+
execute: (input, { client }) => {
|
|
23332
|
+
const data = input;
|
|
23333
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23334
|
+
client.httpClient,
|
|
23335
|
+
client.organizationId,
|
|
23336
|
+
client.workspaceIdNumber,
|
|
23337
|
+
data.ids,
|
|
23338
|
+
data.outbound_sync,
|
|
23339
|
+
void 0
|
|
23340
|
+
]));
|
|
23341
|
+
}
|
|
23342
|
+
},
|
|
23343
|
+
{
|
|
23344
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
23345
|
+
family: "focus",
|
|
23346
|
+
resource: "time-blocks",
|
|
23347
|
+
action: "bulk-partial-update",
|
|
23348
|
+
title: "Bulk Partial Update Time Blocks",
|
|
23349
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
23350
|
+
safety: "update",
|
|
23351
|
+
destructive: false,
|
|
23352
|
+
cli: {
|
|
23353
|
+
group: ["time-blocks", "bulk"],
|
|
23354
|
+
command: "partial-update",
|
|
23355
|
+
interactive: "hidden"
|
|
23356
|
+
},
|
|
23357
|
+
mcp: { entityTool: "time-blocks" },
|
|
23358
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23359
|
+
execute: (input, { client }) => {
|
|
23360
|
+
const data = input;
|
|
23361
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23362
|
+
client.httpClient,
|
|
23363
|
+
client.organizationId,
|
|
23364
|
+
client.workspaceIdNumber,
|
|
23365
|
+
data.payload ?? data.data ?? data,
|
|
23366
|
+
void 0
|
|
23367
|
+
]));
|
|
23368
|
+
}
|
|
23369
|
+
},
|
|
23370
|
+
{
|
|
23371
|
+
id: "focus.time-blocks.create",
|
|
23372
|
+
family: "focus",
|
|
23373
|
+
resource: "time-blocks",
|
|
23374
|
+
action: "create",
|
|
23375
|
+
title: "Create Time Blocks",
|
|
23376
|
+
description: "Create Time Blocks.",
|
|
23377
|
+
safety: "create",
|
|
23378
|
+
destructive: false,
|
|
23379
|
+
cli: {
|
|
23380
|
+
group: ["time-blocks"],
|
|
23381
|
+
command: "create",
|
|
23382
|
+
interactive: "default"
|
|
23383
|
+
},
|
|
23384
|
+
mcp: { entityTool: "time-blocks" },
|
|
23385
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23386
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23387
|
+
start: apiDateTimeString,
|
|
23388
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23389
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23390
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23391
|
+
}),
|
|
23392
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23393
|
+
}),
|
|
23394
|
+
execute: (input, { client }) => {
|
|
23395
|
+
const data = input;
|
|
23396
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23397
|
+
client.httpClient,
|
|
23398
|
+
client.organizationId,
|
|
23399
|
+
client.workspaceIdNumber,
|
|
23400
|
+
data.task_id,
|
|
23401
|
+
data.payload ?? data.data ?? data,
|
|
23402
|
+
void 0
|
|
23403
|
+
]));
|
|
23404
|
+
}
|
|
23405
|
+
},
|
|
23406
|
+
{
|
|
23407
|
+
id: "focus.time-blocks.delete",
|
|
23408
|
+
family: "focus",
|
|
23409
|
+
resource: "time-blocks",
|
|
23410
|
+
action: "delete",
|
|
23411
|
+
title: "Delete Time Blocks",
|
|
23412
|
+
description: "Delete Time Blocks.",
|
|
23413
|
+
safety: "delete",
|
|
23414
|
+
destructive: true,
|
|
23415
|
+
cli: {
|
|
23416
|
+
group: ["time-blocks"],
|
|
23417
|
+
command: "delete",
|
|
23418
|
+
interactive: "default"
|
|
23419
|
+
},
|
|
23420
|
+
mcp: { entityTool: "time-blocks" },
|
|
23421
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23422
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23423
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23424
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23425
|
+
}),
|
|
23426
|
+
execute: (input, { client }) => {
|
|
23427
|
+
const data = input;
|
|
23428
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23429
|
+
client.httpClient,
|
|
23430
|
+
client.organizationId,
|
|
23431
|
+
client.workspaceIdNumber,
|
|
23432
|
+
data.task_id,
|
|
23433
|
+
data.time_block_id,
|
|
23434
|
+
data.outbound_sync,
|
|
23435
|
+
void 0
|
|
23436
|
+
]));
|
|
23437
|
+
}
|
|
23438
|
+
},
|
|
23439
|
+
{
|
|
23440
|
+
id: "focus.time-blocks.get",
|
|
23441
|
+
family: "focus",
|
|
23442
|
+
resource: "time-blocks",
|
|
23443
|
+
action: "get",
|
|
23444
|
+
title: "Get Time Blocks",
|
|
23445
|
+
description: "Get Time Blocks.",
|
|
23446
|
+
safety: "read",
|
|
23447
|
+
destructive: false,
|
|
23448
|
+
cli: {
|
|
23449
|
+
group: ["time-blocks"],
|
|
23450
|
+
command: "get",
|
|
23451
|
+
interactive: "available"
|
|
23452
|
+
},
|
|
23453
|
+
mcp: { entityTool: "time-blocks" },
|
|
23454
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23455
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23456
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23457
|
+
}),
|
|
23458
|
+
execute: (input, { client }) => {
|
|
23459
|
+
const data = input;
|
|
23460
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23461
|
+
client.httpClient,
|
|
23462
|
+
client.organizationId,
|
|
23463
|
+
client.workspaceIdNumber,
|
|
23464
|
+
data.task_id,
|
|
23465
|
+
data.time_block_id,
|
|
23466
|
+
void 0
|
|
23467
|
+
]));
|
|
23468
|
+
}
|
|
23469
|
+
},
|
|
23470
|
+
{
|
|
23471
|
+
id: "focus.time-blocks.get-range",
|
|
23472
|
+
family: "focus",
|
|
23473
|
+
resource: "time-blocks",
|
|
23474
|
+
action: "get-range",
|
|
23475
|
+
title: "Get Range Time Blocks",
|
|
23476
|
+
description: "Get Range Time Blocks.",
|
|
23477
|
+
safety: "read",
|
|
23478
|
+
destructive: false,
|
|
23479
|
+
cli: {
|
|
23480
|
+
group: ["time-blocks"],
|
|
23481
|
+
command: "get-range",
|
|
23482
|
+
interactive: "hidden"
|
|
23483
|
+
},
|
|
23484
|
+
mcp: { entityTool: "time-blocks" },
|
|
23485
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23486
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23487
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23488
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23489
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23490
|
+
page: /* @__PURE__ */ number$2(),
|
|
23491
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
23492
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23493
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23494
|
+
}),
|
|
23495
|
+
execute: (input, { client }) => {
|
|
23496
|
+
const data = input;
|
|
23497
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23498
|
+
client.httpClient,
|
|
23499
|
+
client.organizationId,
|
|
23500
|
+
client.workspaceIdNumber,
|
|
23501
|
+
data,
|
|
23502
|
+
void 0
|
|
23503
|
+
]));
|
|
23504
|
+
}
|
|
23505
|
+
},
|
|
23506
|
+
{
|
|
23507
|
+
id: "focus.time-blocks.get-range-stream",
|
|
23508
|
+
family: "focus",
|
|
23509
|
+
resource: "time-blocks",
|
|
23510
|
+
action: "get-range-stream",
|
|
23511
|
+
title: "Get Range Stream Time Blocks",
|
|
23512
|
+
description: "Get Range Stream Time Blocks.",
|
|
23513
|
+
safety: "read",
|
|
23514
|
+
destructive: false,
|
|
23515
|
+
cli: {
|
|
23516
|
+
group: ["time-blocks"],
|
|
23517
|
+
command: "get-range-stream",
|
|
23518
|
+
interactive: "hidden"
|
|
23519
|
+
},
|
|
23520
|
+
mcp: { entityTool: "time-blocks" },
|
|
23521
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23522
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
23523
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
23524
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
23525
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
23526
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
23527
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23528
|
+
}),
|
|
23529
|
+
execute: (input, { client }) => {
|
|
23530
|
+
const data = input;
|
|
23531
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23532
|
+
client.httpClient,
|
|
23533
|
+
client.organizationId,
|
|
23534
|
+
client.workspaceIdNumber,
|
|
23535
|
+
data,
|
|
23536
|
+
void 0
|
|
23537
|
+
]));
|
|
23538
|
+
}
|
|
23539
|
+
},
|
|
23540
|
+
{
|
|
23541
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
23542
|
+
family: "focus",
|
|
23543
|
+
resource: "time-blocks",
|
|
23544
|
+
action: "get-task-time-blocks",
|
|
23545
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
23546
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
23547
|
+
safety: "read",
|
|
23548
|
+
destructive: false,
|
|
23549
|
+
cli: {
|
|
23550
|
+
group: ["time-blocks"],
|
|
23551
|
+
command: "get-task-time-blocks",
|
|
23552
|
+
interactive: "hidden"
|
|
23553
|
+
},
|
|
23554
|
+
mcp: { entityTool: "time-blocks" },
|
|
23555
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23556
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23557
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23558
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23559
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23560
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23561
|
+
}),
|
|
23562
|
+
execute: (input, { client }) => {
|
|
23563
|
+
const data = input;
|
|
23564
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23565
|
+
client.httpClient,
|
|
23566
|
+
client.organizationId,
|
|
23567
|
+
client.workspaceIdNumber,
|
|
23568
|
+
data.task_id,
|
|
23569
|
+
data,
|
|
23570
|
+
void 0
|
|
23571
|
+
]));
|
|
23572
|
+
}
|
|
23573
|
+
},
|
|
23574
|
+
{
|
|
23575
|
+
id: "focus.time-blocks.partial-update",
|
|
23576
|
+
family: "focus",
|
|
23577
|
+
resource: "time-blocks",
|
|
23578
|
+
action: "partial-update",
|
|
23579
|
+
title: "Partial Update Time Blocks",
|
|
23580
|
+
description: "Partial Update Time Blocks.",
|
|
23581
|
+
safety: "update",
|
|
23582
|
+
destructive: false,
|
|
23583
|
+
cli: {
|
|
23584
|
+
group: ["time-blocks"],
|
|
23585
|
+
command: "partial-update",
|
|
23586
|
+
interactive: "default"
|
|
23587
|
+
},
|
|
23588
|
+
mcp: { entityTool: "time-blocks" },
|
|
23589
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23590
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23591
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23592
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23593
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23594
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23595
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23596
|
+
}),
|
|
23597
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23598
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23599
|
+
}),
|
|
23600
|
+
execute: (input, { client }) => {
|
|
23601
|
+
const data = input;
|
|
23602
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23603
|
+
client.httpClient,
|
|
23604
|
+
client.organizationId,
|
|
23605
|
+
client.workspaceIdNumber,
|
|
23606
|
+
data.task_id,
|
|
23607
|
+
data.time_block_id,
|
|
23608
|
+
data.payload ?? data.data ?? data,
|
|
23609
|
+
void 0
|
|
23610
|
+
]));
|
|
23611
|
+
}
|
|
23612
|
+
},
|
|
23613
|
+
{
|
|
23614
|
+
id: "focus.time-blocks.restore",
|
|
23615
|
+
family: "focus",
|
|
23616
|
+
resource: "time-blocks",
|
|
23617
|
+
action: "restore",
|
|
23618
|
+
title: "Restore Time Blocks",
|
|
23619
|
+
description: "Restore Time Blocks.",
|
|
23620
|
+
safety: "update",
|
|
23621
|
+
destructive: false,
|
|
23622
|
+
cli: {
|
|
23623
|
+
group: ["time-blocks"],
|
|
23624
|
+
command: "restore",
|
|
23625
|
+
interactive: "default"
|
|
23626
|
+
},
|
|
23627
|
+
mcp: { entityTool: "time-blocks" },
|
|
23628
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23629
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23630
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23631
|
+
}),
|
|
23632
|
+
execute: (input, { client }) => {
|
|
23633
|
+
const data = input;
|
|
23634
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23635
|
+
client.httpClient,
|
|
23636
|
+
client.organizationId,
|
|
23637
|
+
client.workspaceIdNumber,
|
|
23638
|
+
data.task_id,
|
|
23639
|
+
data.time_block_id,
|
|
23640
|
+
void 0
|
|
23641
|
+
]));
|
|
23642
|
+
}
|
|
23643
|
+
},
|
|
23644
|
+
{
|
|
23645
|
+
id: "focus.time-blocks.unarchive",
|
|
23646
|
+
family: "focus",
|
|
23647
|
+
resource: "time-blocks",
|
|
23648
|
+
action: "unarchive",
|
|
23649
|
+
title: "Unarchive Time Blocks",
|
|
23650
|
+
description: "Unarchive Time Blocks.",
|
|
23651
|
+
safety: "update",
|
|
23652
|
+
destructive: false,
|
|
23653
|
+
cli: {
|
|
23654
|
+
group: ["time-blocks"],
|
|
23655
|
+
command: "unarchive",
|
|
23656
|
+
interactive: "default"
|
|
23657
|
+
},
|
|
23658
|
+
mcp: { entityTool: "time-blocks" },
|
|
23659
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23660
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23661
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23662
|
+
}),
|
|
23663
|
+
execute: (input, { client }) => {
|
|
23664
|
+
const data = input;
|
|
23665
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23773
23666
|
client.httpClient,
|
|
23774
23667
|
client.organizationId,
|
|
23775
23668
|
client.workspaceIdNumber,
|
|
23776
23669
|
data.task_id,
|
|
23777
|
-
data.
|
|
23670
|
+
data.time_block_id,
|
|
23778
23671
|
void 0
|
|
23779
23672
|
]));
|
|
23780
23673
|
}
|
|
23781
23674
|
},
|
|
23782
23675
|
{
|
|
23783
|
-
id: "focus.
|
|
23676
|
+
id: "focus.time-blocks.update",
|
|
23784
23677
|
family: "focus",
|
|
23785
|
-
resource: "
|
|
23786
|
-
action: "update
|
|
23787
|
-
title: "Update
|
|
23788
|
-
description: "Update
|
|
23678
|
+
resource: "time-blocks",
|
|
23679
|
+
action: "update",
|
|
23680
|
+
title: "Update Time Blocks",
|
|
23681
|
+
description: "Update Time Blocks.",
|
|
23789
23682
|
safety: "update",
|
|
23790
23683
|
destructive: false,
|
|
23791
23684
|
cli: {
|
|
23792
|
-
group: ["
|
|
23793
|
-
command: "update
|
|
23685
|
+
group: ["time-blocks"],
|
|
23686
|
+
command: "update",
|
|
23794
23687
|
interactive: "default"
|
|
23795
23688
|
},
|
|
23796
|
-
mcp: { entityTool: "
|
|
23689
|
+
mcp: { entityTool: "time-blocks" },
|
|
23797
23690
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23798
|
-
|
|
23799
|
-
|
|
23800
|
-
|
|
23691
|
+
payload: /* @__PURE__ */ looseObject({
|
|
23692
|
+
start: apiDateTimeString,
|
|
23693
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23694
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23695
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23696
|
+
}),
|
|
23697
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
23698
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
23801
23699
|
}),
|
|
23802
23700
|
execute: (input, { client }) => {
|
|
23803
23701
|
const data = input;
|
|
23804
|
-
return client.runGeneratedRequest("
|
|
23702
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
23805
23703
|
client.httpClient,
|
|
23806
23704
|
client.organizationId,
|
|
23807
23705
|
client.workspaceIdNumber,
|
|
23808
|
-
data.
|
|
23809
|
-
data.
|
|
23810
|
-
data.
|
|
23706
|
+
data.task_id,
|
|
23707
|
+
data.time_block_id,
|
|
23708
|
+
data.payload ?? data.data ?? data,
|
|
23811
23709
|
void 0
|
|
23812
23710
|
]));
|
|
23813
23711
|
}
|
|
@@ -24027,8 +23925,7 @@ const generatedFocusOperations = [
|
|
|
24027
23925
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24028
23926
|
"project",
|
|
24029
23927
|
"task",
|
|
24030
|
-
"description"
|
|
24031
|
-
"tags"
|
|
23928
|
+
"description"
|
|
24032
23929
|
]) })),
|
|
24033
23930
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24034
23931
|
}) }),
|
|
@@ -24058,7 +23955,6 @@ const generatedFocusOperations = [
|
|
|
24058
23955
|
},
|
|
24059
23956
|
mcp: { entityTool: "time-entries" },
|
|
24060
23957
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24061
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24062
23958
|
payload: /* @__PURE__ */ looseObject({
|
|
24063
23959
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24064
23960
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24069,12 +23965,11 @@ const generatedFocusOperations = [
|
|
|
24069
23965
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24070
23966
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24071
23967
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24072
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24073
23968
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23969
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24074
23970
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24075
23971
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24076
23972
|
}),
|
|
24077
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24078
23973
|
task_id: /* @__PURE__ */ number$2()
|
|
24079
23974
|
}),
|
|
24080
23975
|
execute: (input, { client }) => {
|
|
@@ -24085,8 +23980,6 @@ const generatedFocusOperations = [
|
|
|
24085
23980
|
client.workspaceIdNumber,
|
|
24086
23981
|
data.task_id,
|
|
24087
23982
|
data.payload ?? data.data ?? data,
|
|
24088
|
-
data.from_recurring_task_id,
|
|
24089
|
-
data.return_occurrence,
|
|
24090
23983
|
void 0
|
|
24091
23984
|
]));
|
|
24092
23985
|
}
|
|
@@ -24106,25 +23999,21 @@ const generatedFocusOperations = [
|
|
|
24106
23999
|
interactive: "default"
|
|
24107
24000
|
},
|
|
24108
24001
|
mcp: { entityTool: "time-entries" },
|
|
24109
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24110
|
-
|
|
24111
|
-
|
|
24112
|
-
|
|
24113
|
-
|
|
24114
|
-
|
|
24115
|
-
|
|
24116
|
-
|
|
24117
|
-
|
|
24118
|
-
|
|
24119
|
-
|
|
24120
|
-
|
|
24121
|
-
|
|
24122
|
-
|
|
24123
|
-
|
|
24124
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24125
|
-
}),
|
|
24126
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24127
|
-
}),
|
|
24002
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
24003
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24004
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24005
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24006
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24007
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24008
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24009
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24010
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24011
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24012
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24013
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24014
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24015
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24016
|
+
}) }),
|
|
24128
24017
|
execute: (input, { client }) => {
|
|
24129
24018
|
const data = input;
|
|
24130
24019
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24132,8 +24021,6 @@ const generatedFocusOperations = [
|
|
|
24132
24021
|
client.organizationId,
|
|
24133
24022
|
client.workspaceIdNumber,
|
|
24134
24023
|
data.payload ?? data.data ?? data,
|
|
24135
|
-
data.from_recurring_task_id,
|
|
24136
|
-
data.return_occurrence,
|
|
24137
24024
|
void 0
|
|
24138
24025
|
]));
|
|
24139
24026
|
}
|
|
@@ -24153,11 +24040,7 @@ const generatedFocusOperations = [
|
|
|
24153
24040
|
interactive: "default"
|
|
24154
24041
|
},
|
|
24155
24042
|
mcp: { entityTool: "time-entries" },
|
|
24156
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24157
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24158
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24159
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
24160
|
-
}),
|
|
24043
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
24161
24044
|
execute: (input, { client }) => {
|
|
24162
24045
|
const data = input;
|
|
24163
24046
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24165,8 +24048,6 @@ const generatedFocusOperations = [
|
|
|
24165
24048
|
client.organizationId,
|
|
24166
24049
|
client.workspaceIdNumber,
|
|
24167
24050
|
data.time_entry_id,
|
|
24168
|
-
data.from_recurring_task_id,
|
|
24169
|
-
data.return_occurrence,
|
|
24170
24051
|
void 0
|
|
24171
24052
|
]));
|
|
24172
24053
|
}
|
|
@@ -24247,7 +24128,6 @@ const generatedFocusOperations = [
|
|
|
24247
24128
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24248
24129
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24249
24130
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24250
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
24251
24131
|
status_id: /* @__PURE__ */ number$2(),
|
|
24252
24132
|
task_id: /* @__PURE__ */ number$2(),
|
|
24253
24133
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24263,6 +24143,33 @@ const generatedFocusOperations = [
|
|
|
24263
24143
|
]));
|
|
24264
24144
|
}
|
|
24265
24145
|
},
|
|
24146
|
+
{
|
|
24147
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24148
|
+
family: "focus",
|
|
24149
|
+
resource: "time-entries",
|
|
24150
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
24151
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24152
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24153
|
+
safety: "read",
|
|
24154
|
+
destructive: false,
|
|
24155
|
+
cli: {
|
|
24156
|
+
group: ["time-entries"],
|
|
24157
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
24158
|
+
interactive: "available"
|
|
24159
|
+
},
|
|
24160
|
+
mcp: { entityTool: "time-entries" },
|
|
24161
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24162
|
+
execute: (input, { client }) => {
|
|
24163
|
+
const data = input;
|
|
24164
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24165
|
+
client.httpClient,
|
|
24166
|
+
client.organizationId,
|
|
24167
|
+
client.workspaceIdNumber,
|
|
24168
|
+
data,
|
|
24169
|
+
void 0
|
|
24170
|
+
]));
|
|
24171
|
+
}
|
|
24172
|
+
},
|
|
24266
24173
|
{
|
|
24267
24174
|
id: "focus.time-entries.get-task-time-entries",
|
|
24268
24175
|
family: "focus",
|
|
@@ -24284,6 +24191,7 @@ const generatedFocusOperations = [
|
|
|
24284
24191
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24285
24192
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24286
24193
|
task_id: /* @__PURE__ */ number$2(),
|
|
24194
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24287
24195
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24288
24196
|
}),
|
|
24289
24197
|
execute: (input, { client }) => {
|
|
@@ -24396,14 +24304,12 @@ const generatedFocusOperations = [
|
|
|
24396
24304
|
},
|
|
24397
24305
|
mcp: { entityTool: "time-entries" },
|
|
24398
24306
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24399
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24400
24307
|
payload: /* @__PURE__ */ looseObject({
|
|
24401
24308
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24402
24309
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24403
24310
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24404
24311
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24405
24312
|
}),
|
|
24406
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24407
24313
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24408
24314
|
}),
|
|
24409
24315
|
execute: (input, { client }) => {
|
|
@@ -24414,8 +24320,6 @@ const generatedFocusOperations = [
|
|
|
24414
24320
|
client.workspaceIdNumber,
|
|
24415
24321
|
data.time_entry_id,
|
|
24416
24322
|
data.payload ?? data.data ?? data,
|
|
24417
|
-
data.from_recurring_task_id,
|
|
24418
|
-
data.return_occurrence,
|
|
24419
24323
|
void 0
|
|
24420
24324
|
]));
|
|
24421
24325
|
}
|
|
@@ -24673,7 +24577,6 @@ const generatedFocusOperations = [
|
|
|
24673
24577
|
},
|
|
24674
24578
|
mcp: { entityTool: "time-entries" },
|
|
24675
24579
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24676
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24677
24580
|
payload: /* @__PURE__ */ looseObject({
|
|
24678
24581
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24679
24582
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24683,9 +24586,9 @@ const generatedFocusOperations = [
|
|
|
24683
24586
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
24587
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24685
24588
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24589
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24686
24590
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24687
24591
|
}),
|
|
24688
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24689
24592
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24690
24593
|
}),
|
|
24691
24594
|
execute: (input, { client }) => {
|
|
@@ -24696,8 +24599,6 @@ const generatedFocusOperations = [
|
|
|
24696
24599
|
client.workspaceIdNumber,
|
|
24697
24600
|
data.time_entry_id,
|
|
24698
24601
|
data.payload ?? data.data ?? data,
|
|
24699
|
-
data.from_recurring_task_id,
|
|
24700
|
-
data.return_occurrence,
|
|
24701
24602
|
void 0
|
|
24702
24603
|
]));
|
|
24703
24604
|
}
|
|
@@ -24762,118 +24663,6 @@ const generatedFocusOperations = [
|
|
|
24762
24663
|
]));
|
|
24763
24664
|
}
|
|
24764
24665
|
},
|
|
24765
|
-
{
|
|
24766
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
24767
|
-
family: "focus",
|
|
24768
|
-
resource: "time-off",
|
|
24769
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
24770
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
24771
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
24772
|
-
safety: "read",
|
|
24773
|
-
destructive: false,
|
|
24774
|
-
cli: {
|
|
24775
|
-
group: ["time-off"],
|
|
24776
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
24777
|
-
interactive: "hidden"
|
|
24778
|
-
},
|
|
24779
|
-
mcp: { entityTool: "time-off" },
|
|
24780
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24781
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
24782
|
-
page: /* @__PURE__ */ number$2(),
|
|
24783
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
24784
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
24785
|
-
year: /* @__PURE__ */ unknown$1()
|
|
24786
|
-
}),
|
|
24787
|
-
execute: (input, { client }) => {
|
|
24788
|
-
const data = input;
|
|
24789
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
24790
|
-
client.httpClient,
|
|
24791
|
-
client.organizationId,
|
|
24792
|
-
data.user_id,
|
|
24793
|
-
data,
|
|
24794
|
-
void 0
|
|
24795
|
-
]));
|
|
24796
|
-
}
|
|
24797
|
-
},
|
|
24798
|
-
{
|
|
24799
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
24800
|
-
family: "focus",
|
|
24801
|
-
resource: "time-off",
|
|
24802
|
-
action: "get-timeoff-balances-for-user",
|
|
24803
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
24804
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
24805
|
-
safety: "read",
|
|
24806
|
-
destructive: false,
|
|
24807
|
-
cli: {
|
|
24808
|
-
group: ["time-off"],
|
|
24809
|
-
command: "get-timeoff-balances-for-user",
|
|
24810
|
-
interactive: "available"
|
|
24811
|
-
},
|
|
24812
|
-
mcp: { entityTool: "time-off" },
|
|
24813
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24814
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24815
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
24816
|
-
user_id: /* @__PURE__ */ number$2()
|
|
24817
|
-
}),
|
|
24818
|
-
execute: (input, { client }) => {
|
|
24819
|
-
const data = input;
|
|
24820
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
24821
|
-
client.httpClient,
|
|
24822
|
-
client.organizationId,
|
|
24823
|
-
data.user_id,
|
|
24824
|
-
data,
|
|
24825
|
-
void 0
|
|
24826
|
-
]));
|
|
24827
|
-
}
|
|
24828
|
-
},
|
|
24829
|
-
{
|
|
24830
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
24831
|
-
family: "focus",
|
|
24832
|
-
resource: "time-off",
|
|
24833
|
-
action: "get-timeoff-categories",
|
|
24834
|
-
title: "Get Timeoff Categories Time Off",
|
|
24835
|
-
description: "Get Timeoff Categories Time Off.",
|
|
24836
|
-
safety: "read",
|
|
24837
|
-
destructive: false,
|
|
24838
|
-
cli: {
|
|
24839
|
-
group: ["time-off"],
|
|
24840
|
-
command: "get-timeoff-categories",
|
|
24841
|
-
interactive: "hidden"
|
|
24842
|
-
},
|
|
24843
|
-
mcp: { entityTool: "time-off" },
|
|
24844
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
24845
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
24846
|
-
client.httpClient,
|
|
24847
|
-
client.organizationId,
|
|
24848
|
-
void 0
|
|
24849
|
-
]))
|
|
24850
|
-
},
|
|
24851
|
-
{
|
|
24852
|
-
id: "focus.time-off.get-timeoff-category",
|
|
24853
|
-
family: "focus",
|
|
24854
|
-
resource: "time-off",
|
|
24855
|
-
action: "get-timeoff-category",
|
|
24856
|
-
title: "Get Timeoff Category Time Off",
|
|
24857
|
-
description: "Get Timeoff Category Time Off.",
|
|
24858
|
-
safety: "read",
|
|
24859
|
-
destructive: false,
|
|
24860
|
-
cli: {
|
|
24861
|
-
group: ["time-off"],
|
|
24862
|
-
command: "get-timeoff-category",
|
|
24863
|
-
interactive: "available"
|
|
24864
|
-
},
|
|
24865
|
-
mcp: { entityTool: "time-off" },
|
|
24866
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
24867
|
-
execute: (input, { client }) => {
|
|
24868
|
-
const data = input;
|
|
24869
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
24870
|
-
client.httpClient,
|
|
24871
|
-
client.organizationId,
|
|
24872
|
-
data.category_id,
|
|
24873
|
-
void 0
|
|
24874
|
-
]));
|
|
24875
|
-
}
|
|
24876
|
-
},
|
|
24877
24666
|
{
|
|
24878
24667
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24879
24668
|
family: "focus",
|
|
@@ -25325,40 +25114,6 @@ const generatedFocusOperations = [
|
|
|
25325
25114
|
]));
|
|
25326
25115
|
}
|
|
25327
25116
|
},
|
|
25328
|
-
{
|
|
25329
|
-
id: "focus.timesheets.get-status-counts",
|
|
25330
|
-
family: "focus",
|
|
25331
|
-
resource: "timesheets",
|
|
25332
|
-
action: "get-status-counts",
|
|
25333
|
-
title: "Get Status Counts Timesheets",
|
|
25334
|
-
description: "Get Status Counts Timesheets.",
|
|
25335
|
-
safety: "read",
|
|
25336
|
-
destructive: false,
|
|
25337
|
-
cli: {
|
|
25338
|
-
group: ["timesheets"],
|
|
25339
|
-
command: "get-status-counts",
|
|
25340
|
-
interactive: "hidden"
|
|
25341
|
-
},
|
|
25342
|
-
mcp: { entityTool: "timesheets" },
|
|
25343
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
25344
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25345
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
25346
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
25347
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
25348
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25349
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25350
|
-
}),
|
|
25351
|
-
execute: (input, { client }) => {
|
|
25352
|
-
const data = input;
|
|
25353
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25354
|
-
client.httpClient,
|
|
25355
|
-
client.organizationId,
|
|
25356
|
-
client.workspaceIdNumber,
|
|
25357
|
-
data,
|
|
25358
|
-
void 0
|
|
25359
|
-
]));
|
|
25360
|
-
}
|
|
25361
|
-
},
|
|
25362
25117
|
{
|
|
25363
25118
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25364
25119
|
family: "focus",
|
|
@@ -25908,33 +25663,6 @@ const generatedFocusOperations = [
|
|
|
25908
25663
|
]));
|
|
25909
25664
|
}
|
|
25910
25665
|
},
|
|
25911
|
-
{
|
|
25912
|
-
id: "focus.track-team-invites.post",
|
|
25913
|
-
family: "focus",
|
|
25914
|
-
resource: "track-team-invites",
|
|
25915
|
-
action: "post",
|
|
25916
|
-
title: "Post Track Team Invites",
|
|
25917
|
-
description: "Post Track Team Invites.",
|
|
25918
|
-
safety: "create",
|
|
25919
|
-
destructive: false,
|
|
25920
|
-
cli: {
|
|
25921
|
-
group: ["track-team-invites"],
|
|
25922
|
-
command: "post",
|
|
25923
|
-
interactive: "default"
|
|
25924
|
-
},
|
|
25925
|
-
mcp: { entityTool: "track-team-invites" },
|
|
25926
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
25927
|
-
execute: (input, { client }) => {
|
|
25928
|
-
const data = input;
|
|
25929
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
25930
|
-
client.httpClient,
|
|
25931
|
-
client.organizationId,
|
|
25932
|
-
client.workspaceIdNumber,
|
|
25933
|
-
data.payload ?? data.data ?? data,
|
|
25934
|
-
void 0
|
|
25935
|
-
]));
|
|
25936
|
-
}
|
|
25937
|
-
},
|
|
25938
25666
|
{
|
|
25939
25667
|
id: "focus.users.list",
|
|
25940
25668
|
family: "focus",
|
|
@@ -25956,56 +25684,6 @@ const generatedFocusOperations = [
|
|
|
25956
25684
|
return client.listOrgUsers(data);
|
|
25957
25685
|
}
|
|
25958
25686
|
},
|
|
25959
|
-
{
|
|
25960
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
25961
|
-
family: "focus",
|
|
25962
|
-
resource: "users",
|
|
25963
|
-
action: "settings-email-unsubscribe",
|
|
25964
|
-
title: "Settings Email Unsubscribe Users",
|
|
25965
|
-
description: "Settings Email Unsubscribe Users.",
|
|
25966
|
-
safety: "update",
|
|
25967
|
-
destructive: false,
|
|
25968
|
-
cli: {
|
|
25969
|
-
group: ["users", "settings"],
|
|
25970
|
-
command: "email-unsubscribe",
|
|
25971
|
-
interactive: "default"
|
|
25972
|
-
},
|
|
25973
|
-
mcp: { entityTool: "users" },
|
|
25974
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
25975
|
-
execute: (input, { client }) => {
|
|
25976
|
-
const data = input;
|
|
25977
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
25978
|
-
client.httpClient,
|
|
25979
|
-
data.token,
|
|
25980
|
-
void 0
|
|
25981
|
-
]));
|
|
25982
|
-
}
|
|
25983
|
-
},
|
|
25984
|
-
{
|
|
25985
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
25986
|
-
family: "focus",
|
|
25987
|
-
resource: "users",
|
|
25988
|
-
action: "settings-email-unsubscribe-page",
|
|
25989
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
25990
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
25991
|
-
safety: "read",
|
|
25992
|
-
destructive: false,
|
|
25993
|
-
cli: {
|
|
25994
|
-
group: ["users", "settings"],
|
|
25995
|
-
command: "email-unsubscribe-page",
|
|
25996
|
-
interactive: "available"
|
|
25997
|
-
},
|
|
25998
|
-
mcp: { entityTool: "users" },
|
|
25999
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26000
|
-
execute: (input, { client }) => {
|
|
26001
|
-
const data = input;
|
|
26002
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26003
|
-
client.httpClient,
|
|
26004
|
-
data.token,
|
|
26005
|
-
void 0
|
|
26006
|
-
]));
|
|
26007
|
-
}
|
|
26008
|
-
},
|
|
26009
25687
|
{
|
|
26010
25688
|
id: "focus.users.settings-list",
|
|
26011
25689
|
family: "focus",
|
|
@@ -26067,9 +25745,6 @@ const generatedFocusOperations = [
|
|
|
26067
25745
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26068
25746
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26069
25747
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26070
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26071
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26072
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26073
25748
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26074
25749
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26075
25750
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -28129,4 +27804,4 @@ Common commands:
|
|
|
28129
27804
|
//#endregion
|
|
28130
27805
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
28131
27806
|
|
|
28132
|
-
//# sourceMappingURL=program-
|
|
27807
|
+
//# sourceMappingURL=program-DZlKCm-L.js.map
|