@togglhq/cli 1.11.94 → 1.11.95
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-DvYstJ4t.js → program-C_81aiOa.js} +1616 -948
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7274,6 +7274,7 @@ 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()),
|
|
7277
7278
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7278
7279
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7279
7280
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7360,6 +7361,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7360
7361
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7361
7362
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7362
7363
|
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."))),
|
|
7363
7365
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7364
7366
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7365
7367
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7421,6 +7423,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7421
7423
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7422
7424
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7423
7425
|
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."))),
|
|
7424
7427
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7425
7428
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7426
7429
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7581,6 +7584,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7581
7584
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7582
7585
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7583
7586
|
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."))),
|
|
7584
7589
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7585
7590
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7586
7591
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7595,21 +7600,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7595
7600
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7596
7601
|
});
|
|
7597
7602
|
const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
|
|
7598
|
-
aggregation: /* @__PURE__ */ object({
|
|
7603
|
+
aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7599
7604
|
function: /* @__PURE__ */ string(),
|
|
7600
7605
|
property: /* @__PURE__ */ string()
|
|
7601
|
-
}),
|
|
7602
|
-
conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
|
|
7603
|
-
operator: /* @__PURE__ */ string(),
|
|
7604
|
-
property: /* @__PURE__ */ string(),
|
|
7605
|
-
value: /* @__PURE__ */ unknown()
|
|
7606
|
+
})),
|
|
7607
|
+
conditions: /* @__PURE__ */ optional(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema)),
|
|
7608
|
+
operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7609
|
+
property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7610
|
+
value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
|
|
7606
7611
|
});
|
|
7607
7612
|
const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
|
|
7608
7613
|
const DtoFilterRequestSchema = /* @__PURE__ */ object({
|
|
7609
|
-
conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
|
|
7610
|
-
operator: /* @__PURE__ */ string(),
|
|
7611
|
-
property: /* @__PURE__ */ string(),
|
|
7612
|
-
value: /* @__PURE__ */ unknown()
|
|
7614
|
+
conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
|
|
7615
|
+
operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7616
|
+
property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7617
|
+
value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
|
|
7613
7618
|
});
|
|
7614
7619
|
const ClientSchema = /* @__PURE__ */ object({
|
|
7615
7620
|
active: /* @__PURE__ */ boolean(),
|
|
@@ -7666,8 +7671,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7666
7671
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7667
7672
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7668
7673
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7674
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7669
7675
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7670
7676
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7677
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7671
7678
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7672
7679
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7673
7680
|
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)."))),
|
|
@@ -7723,6 +7730,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7723
7730
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7724
7731
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7725
7732
|
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."))),
|
|
7726
7735
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7727
7736
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7728
7737
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7895,8 +7904,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7895
7904
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7896
7905
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7897
7906
|
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()),
|
|
7900
7907
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7901
7908
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7902
7909
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7953,6 +7960,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7953
7960
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7954
7961
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7955
7962
|
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."))),
|
|
7956
7964
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7957
7965
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7958
7966
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7989,6 +7997,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7989
7997
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7990
7998
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7991
7999
|
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."))),
|
|
7992
8001
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7993
8002
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7994
8003
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -8009,7 +8018,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8009
8018
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8010
8019
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8011
8020
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8012
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8013
8021
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8014
8022
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8015
8023
|
});
|
|
@@ -8038,8 +8046,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8038
8046
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8039
8047
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8040
8048
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8041
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8042
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8049
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8043
8050
|
});
|
|
8044
8051
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8045
8052
|
//#endregion
|
|
@@ -9913,7 +9920,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9913
9920
|
})
|
|
9914
9921
|
}).json();
|
|
9915
9922
|
}
|
|
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) {
|
|
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, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9917
9924
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9918
9925
|
signal,
|
|
9919
9926
|
searchParams: buildSearchParams$2({
|
|
@@ -9934,6 +9941,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9934
9941
|
include_rates,
|
|
9935
9942
|
pinned_ids,
|
|
9936
9943
|
has_group,
|
|
9944
|
+
track_without_focus,
|
|
9937
9945
|
cf_filter,
|
|
9938
9946
|
include_custom_fields,
|
|
9939
9947
|
include_calendar_integration
|
|
@@ -10035,10 +10043,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10035
10043
|
}
|
|
10036
10044
|
//#endregion
|
|
10037
10045
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
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) {
|
|
10046
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10039
10047
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10040
10048
|
signal,
|
|
10041
10049
|
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,
|
|
10042
10060
|
page,
|
|
10043
10061
|
per_page,
|
|
10044
10062
|
order_by,
|
|
@@ -10288,7 +10306,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10288
10306
|
}
|
|
10289
10307
|
//#endregion
|
|
10290
10308
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
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,
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10292
10310
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10293
10311
|
signal,
|
|
10294
10312
|
searchParams: buildSearchParams$2({
|
|
@@ -10301,7 +10319,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10301
10319
|
toggl_user_id,
|
|
10302
10320
|
name,
|
|
10303
10321
|
has_time_entries,
|
|
10304
|
-
has_time_blocks,
|
|
10305
10322
|
has_dates,
|
|
10306
10323
|
private: private_,
|
|
10307
10324
|
archived,
|
|
@@ -10324,10 +10341,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10324
10341
|
priority,
|
|
10325
10342
|
is_priority,
|
|
10326
10343
|
state,
|
|
10327
|
-
timeblock_start_from,
|
|
10328
|
-
timeblock_start_until,
|
|
10329
|
-
time_block_id,
|
|
10330
|
-
time_block_completed,
|
|
10331
10344
|
team_id,
|
|
10332
10345
|
assignee_team_id,
|
|
10333
10346
|
assignee_user_id,
|
|
@@ -10339,7 +10352,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10339
10352
|
include_assignees,
|
|
10340
10353
|
include_parent_matches,
|
|
10341
10354
|
disable_aggregations,
|
|
10342
|
-
cf_filter
|
|
10355
|
+
cf_filter,
|
|
10356
|
+
recurring_occurrences_after,
|
|
10357
|
+
max_recurring_occurrences_after,
|
|
10358
|
+
recurring_task_read,
|
|
10359
|
+
include_projected_occurrences
|
|
10343
10360
|
})
|
|
10344
10361
|
}).json();
|
|
10345
10362
|
}
|
|
@@ -10414,16 +10431,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10414
10431
|
})
|
|
10415
10432
|
}).json();
|
|
10416
10433
|
}
|
|
10417
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10434
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10418
10435
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10419
10436
|
signal,
|
|
10420
10437
|
searchParams: buildSearchParams$2({
|
|
10421
10438
|
date_from,
|
|
10422
|
-
date_to
|
|
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
|
|
10423
10470
|
})
|
|
10424
10471
|
}).json();
|
|
10425
10472
|
}
|
|
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) {
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10427
10474
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10428
10475
|
signal,
|
|
10429
10476
|
searchParams: buildSearchParams$2({
|
|
@@ -10439,11 +10486,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10439
10486
|
assignee_team_id,
|
|
10440
10487
|
assignee_user_id,
|
|
10441
10488
|
tag_id,
|
|
10442
|
-
include_assignees
|
|
10489
|
+
include_assignees,
|
|
10490
|
+
recurring_occurrences_after,
|
|
10491
|
+
max_recurring_occurrences_after,
|
|
10492
|
+
recurring_task_read,
|
|
10493
|
+
include_projected_occurrences
|
|
10443
10494
|
})
|
|
10444
10495
|
}).json();
|
|
10445
10496
|
}
|
|
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,
|
|
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10447
10498
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10448
10499
|
signal,
|
|
10449
10500
|
searchParams: buildSearchParams$2({
|
|
@@ -10455,7 +10506,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10455
10506
|
name,
|
|
10456
10507
|
include_parent_matches,
|
|
10457
10508
|
has_time_entries,
|
|
10458
|
-
has_time_blocks,
|
|
10459
10509
|
has_dates,
|
|
10460
10510
|
private: private_,
|
|
10461
10511
|
archived,
|
|
@@ -10478,8 +10528,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10478
10528
|
priority,
|
|
10479
10529
|
is_priority,
|
|
10480
10530
|
state,
|
|
10481
|
-
time_block_id,
|
|
10482
|
-
time_block_completed,
|
|
10483
10531
|
team_id,
|
|
10484
10532
|
assignee_team_id,
|
|
10485
10533
|
assignee_user_id,
|
|
@@ -10488,7 +10536,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10488
10536
|
recurring_task_ids,
|
|
10489
10537
|
client_id,
|
|
10490
10538
|
include_assignees,
|
|
10491
|
-
cf_filter
|
|
10539
|
+
cf_filter,
|
|
10540
|
+
recurring_occurrences_after,
|
|
10541
|
+
max_recurring_occurrences_after,
|
|
10542
|
+
recurring_task_read,
|
|
10543
|
+
include_projected_occurrences
|
|
10492
10544
|
})
|
|
10493
10545
|
}).json();
|
|
10494
10546
|
}
|
|
@@ -10543,6 +10595,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10543
10595
|
})
|
|
10544
10596
|
}).json();
|
|
10545
10597
|
}
|
|
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
|
+
}
|
|
10546
10604
|
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) {
|
|
10547
10605
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10548
10606
|
signal,
|
|
@@ -10568,7 +10626,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10568
10626
|
}
|
|
10569
10627
|
//#endregion
|
|
10570
10628
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10571
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
10629
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10572
10630
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10573
10631
|
signal,
|
|
10574
10632
|
searchParams: buildSearchParams$2({
|
|
@@ -10576,21 +10634,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10576
10634
|
per_page,
|
|
10577
10635
|
order_by,
|
|
10578
10636
|
type,
|
|
10579
|
-
archived
|
|
10580
|
-
time_block_id
|
|
10637
|
+
archived
|
|
10581
10638
|
})
|
|
10582
10639
|
}).json();
|
|
10583
10640
|
}
|
|
10584
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10641
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10585
10642
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10586
10643
|
signal,
|
|
10587
|
-
json: data
|
|
10644
|
+
json: data,
|
|
10645
|
+
searchParams: buildSearchParams$2({
|
|
10646
|
+
from_recurring_task_id,
|
|
10647
|
+
return_occurrence
|
|
10648
|
+
})
|
|
10588
10649
|
}).json();
|
|
10589
10650
|
}
|
|
10590
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10651
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10591
10652
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10592
10653
|
signal,
|
|
10593
|
-
json: data
|
|
10654
|
+
json: data,
|
|
10655
|
+
searchParams: buildSearchParams$2({
|
|
10656
|
+
from_recurring_task_id,
|
|
10657
|
+
return_occurrence
|
|
10658
|
+
})
|
|
10594
10659
|
}).json();
|
|
10595
10660
|
}
|
|
10596
10661
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10641,7 +10706,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10641
10706
|
json: data
|
|
10642
10707
|
}).json();
|
|
10643
10708
|
}
|
|
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) {
|
|
10709
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10645
10710
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10646
10711
|
signal,
|
|
10647
10712
|
searchParams: buildSearchParams$2({
|
|
@@ -10649,6 +10714,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10649
10714
|
date_to,
|
|
10650
10715
|
task_id,
|
|
10651
10716
|
status_id,
|
|
10717
|
+
project_id,
|
|
10652
10718
|
type,
|
|
10653
10719
|
order_by,
|
|
10654
10720
|
archived,
|
|
@@ -10663,28 +10729,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10663
10729
|
json: data
|
|
10664
10730
|
}).json();
|
|
10665
10731
|
}
|
|
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
|
-
}
|
|
10672
10732
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10673
10733
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10674
10734
|
}
|
|
10675
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10735
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10676
10736
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10677
10737
|
signal,
|
|
10678
|
-
json: data
|
|
10738
|
+
json: data,
|
|
10739
|
+
searchParams: buildSearchParams$2({
|
|
10740
|
+
from_recurring_task_id,
|
|
10741
|
+
return_occurrence
|
|
10742
|
+
})
|
|
10679
10743
|
}).json();
|
|
10680
10744
|
}
|
|
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}`, {
|
|
10745
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
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();
|
|
10683
10753
|
}
|
|
10684
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10754
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10685
10755
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10686
10756
|
signal,
|
|
10687
|
-
json: data
|
|
10757
|
+
json: data,
|
|
10758
|
+
searchParams: buildSearchParams$2({
|
|
10759
|
+
from_recurring_task_id,
|
|
10760
|
+
return_occurrence
|
|
10761
|
+
})
|
|
10688
10762
|
}).json();
|
|
10689
10763
|
}
|
|
10690
10764
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14483,13 +14557,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14483
14557
|
}
|
|
14484
14558
|
//#endregion
|
|
14485
14559
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14486
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14560
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14487
14561
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14488
14562
|
signal,
|
|
14489
14563
|
searchParams: buildSearchParams$2({
|
|
14490
14564
|
workspace_id,
|
|
14491
14565
|
entity_type,
|
|
14492
14566
|
entity_id,
|
|
14567
|
+
project_id,
|
|
14568
|
+
custom_field_id,
|
|
14493
14569
|
action,
|
|
14494
14570
|
user_id,
|
|
14495
14571
|
page_size,
|
|
@@ -14498,12 +14574,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14498
14574
|
})
|
|
14499
14575
|
}).json();
|
|
14500
14576
|
}
|
|
14501
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14577
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14502
14578
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14503
14579
|
signal,
|
|
14504
14580
|
searchParams: buildSearchParams$2({
|
|
14505
14581
|
entity_type,
|
|
14506
14582
|
entity_id,
|
|
14583
|
+
project_id,
|
|
14584
|
+
custom_field_id,
|
|
14507
14585
|
action,
|
|
14508
14586
|
user_id,
|
|
14509
14587
|
page_size,
|
|
@@ -14656,13 +14734,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14656
14734
|
}
|
|
14657
14735
|
//#endregion
|
|
14658
14736
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14659
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14737
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14660
14738
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14661
14739
|
signal,
|
|
14662
14740
|
searchParams: buildSearchParams$2({
|
|
14663
|
-
user_id,
|
|
14664
14741
|
start_date,
|
|
14665
14742
|
end_date,
|
|
14743
|
+
user_id,
|
|
14744
|
+
team_id,
|
|
14666
14745
|
private: private_,
|
|
14667
14746
|
task_source,
|
|
14668
14747
|
unit,
|
|
@@ -14722,6 +14801,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14722
14801
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14723
14802
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14724
14803
|
}
|
|
14804
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14805
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14806
|
+
}
|
|
14807
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14808
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14809
|
+
signal,
|
|
14810
|
+
json: data
|
|
14811
|
+
}).json();
|
|
14812
|
+
}
|
|
14725
14813
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14726
14814
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14727
14815
|
signal,
|
|
@@ -14761,6 +14849,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14761
14849
|
}).json();
|
|
14762
14850
|
}
|
|
14763
14851
|
//#endregion
|
|
14852
|
+
//#region ../focus-queries/dist/designations/requests.ts
|
|
14853
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14854
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14855
|
+
signal,
|
|
14856
|
+
searchParams: buildSearchParams$2({
|
|
14857
|
+
name,
|
|
14858
|
+
page,
|
|
14859
|
+
per_page,
|
|
14860
|
+
order_by
|
|
14861
|
+
})
|
|
14862
|
+
}).json();
|
|
14863
|
+
}
|
|
14864
|
+
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
14865
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14866
|
+
signal,
|
|
14867
|
+
json: data
|
|
14868
|
+
}).json();
|
|
14869
|
+
}
|
|
14870
|
+
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14871
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14872
|
+
signal,
|
|
14873
|
+
json: data
|
|
14874
|
+
}).json();
|
|
14875
|
+
}
|
|
14876
|
+
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
14877
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14878
|
+
signal,
|
|
14879
|
+
searchParams: buildSearchParams$2({
|
|
14880
|
+
ids,
|
|
14881
|
+
all_or_none
|
|
14882
|
+
})
|
|
14883
|
+
}).json();
|
|
14884
|
+
}
|
|
14885
|
+
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14886
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14887
|
+
signal,
|
|
14888
|
+
json: data
|
|
14889
|
+
}).json();
|
|
14890
|
+
}
|
|
14891
|
+
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
14892
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
14893
|
+
signal,
|
|
14894
|
+
json: data
|
|
14895
|
+
}).json();
|
|
14896
|
+
}
|
|
14897
|
+
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
14898
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
14899
|
+
}
|
|
14900
|
+
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
14901
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
14902
|
+
signal,
|
|
14903
|
+
json: data
|
|
14904
|
+
}).json();
|
|
14905
|
+
}
|
|
14906
|
+
//#endregion
|
|
14764
14907
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14765
14908
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14766
14909
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -14985,7 +15128,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14985
15128
|
}
|
|
14986
15129
|
//#endregion
|
|
14987
15130
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14988
|
-
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) {
|
|
15131
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
14989
15132
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14990
15133
|
signal,
|
|
14991
15134
|
searchParams: buildSearchParams$2({
|
|
@@ -15011,6 +15154,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15011
15154
|
user_id,
|
|
15012
15155
|
only_me,
|
|
15013
15156
|
include_drafts,
|
|
15157
|
+
include_recurring_series,
|
|
15014
15158
|
cf_filter
|
|
15015
15159
|
})
|
|
15016
15160
|
}).json();
|
|
@@ -15029,9 +15173,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15029
15173
|
json: data
|
|
15030
15174
|
}).json();
|
|
15031
15175
|
}
|
|
15032
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15033
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15034
|
-
}
|
|
15035
15176
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15036
15177
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15037
15178
|
}
|
|
@@ -15057,6 +15198,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15057
15198
|
}).json();
|
|
15058
15199
|
}
|
|
15059
15200
|
//#endregion
|
|
15201
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15202
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15203
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15204
|
+
}
|
|
15205
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15206
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15207
|
+
signal,
|
|
15208
|
+
json: data,
|
|
15209
|
+
searchParams: buildSearchParams$2({
|
|
15210
|
+
response_format,
|
|
15211
|
+
include_dicts
|
|
15212
|
+
})
|
|
15213
|
+
}).json();
|
|
15214
|
+
}
|
|
15215
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15216
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
15217
|
+
signal,
|
|
15218
|
+
json: data,
|
|
15219
|
+
searchParams: buildSearchParams$2({
|
|
15220
|
+
response_format,
|
|
15221
|
+
include_dicts
|
|
15222
|
+
})
|
|
15223
|
+
}).json();
|
|
15224
|
+
}
|
|
15225
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15226
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
15227
|
+
signal,
|
|
15228
|
+
json: data
|
|
15229
|
+
}).json();
|
|
15230
|
+
}
|
|
15231
|
+
//#endregion
|
|
15060
15232
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15061
15233
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15062
15234
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15218,7 +15390,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15218
15390
|
}
|
|
15219
15391
|
//#endregion
|
|
15220
15392
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15221
|
-
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) {
|
|
15393
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15222
15394
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15223
15395
|
signal,
|
|
15224
15396
|
searchParams: buildSearchParams$2({
|
|
@@ -15226,6 +15398,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15226
15398
|
per_group,
|
|
15227
15399
|
assignee_user_id,
|
|
15228
15400
|
assignee_team_id,
|
|
15401
|
+
include_unassigned,
|
|
15229
15402
|
project_id,
|
|
15230
15403
|
task_id,
|
|
15231
15404
|
include_drafts,
|
|
@@ -15270,6 +15443,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15270
15443
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15271
15444
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15272
15445
|
}
|
|
15446
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15447
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15448
|
+
}
|
|
15449
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15450
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15451
|
+
}
|
|
15452
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15453
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15454
|
+
signal,
|
|
15455
|
+
json: data
|
|
15456
|
+
}).json();
|
|
15457
|
+
}
|
|
15273
15458
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15274
15459
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15275
15460
|
signal,
|
|
@@ -15279,6 +15464,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15279
15464
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15280
15465
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15281
15466
|
}
|
|
15467
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15468
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15469
|
+
signal,
|
|
15470
|
+
json: data
|
|
15471
|
+
}).json();
|
|
15472
|
+
}
|
|
15473
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15474
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15475
|
+
}
|
|
15476
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15477
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15478
|
+
signal,
|
|
15479
|
+
json: data
|
|
15480
|
+
}).json();
|
|
15481
|
+
}
|
|
15282
15482
|
//#endregion
|
|
15283
15483
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15284
15484
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15335,9 +15535,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15335
15535
|
}
|
|
15336
15536
|
//#endregion
|
|
15337
15537
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15338
|
-
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) {
|
|
15538
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15339
15539
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15340
15540
|
signal,
|
|
15541
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15341
15542
|
searchParams: buildSearchParams$2({
|
|
15342
15543
|
project_id,
|
|
15343
15544
|
source,
|
|
@@ -15366,13 +15567,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15366
15567
|
min_days,
|
|
15367
15568
|
include_drafts,
|
|
15368
15569
|
cf_filter,
|
|
15369
|
-
user_cf_filter
|
|
15570
|
+
user_cf_filter,
|
|
15571
|
+
recurring_occurrences_after,
|
|
15572
|
+
max_recurring_occurrences_after,
|
|
15573
|
+
recurring_task_read,
|
|
15574
|
+
include_projected_occurrences
|
|
15370
15575
|
})
|
|
15371
15576
|
}).json();
|
|
15372
15577
|
}
|
|
15373
|
-
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) {
|
|
15578
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
15374
15579
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15375
15580
|
signal,
|
|
15581
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15376
15582
|
searchParams: buildSearchParams$2({
|
|
15377
15583
|
team_id,
|
|
15378
15584
|
project_id,
|
|
@@ -15401,13 +15607,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15401
15607
|
min_days,
|
|
15402
15608
|
include_drafts,
|
|
15403
15609
|
cf_filter,
|
|
15404
|
-
user_cf_filter
|
|
15610
|
+
user_cf_filter,
|
|
15611
|
+
recurring_occurrences_after,
|
|
15612
|
+
max_recurring_occurrences_after,
|
|
15613
|
+
recurring_task_read,
|
|
15614
|
+
include_projected_occurrences
|
|
15405
15615
|
})
|
|
15406
15616
|
}).json();
|
|
15407
15617
|
}
|
|
15408
|
-
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) {
|
|
15618
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15409
15619
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15410
15620
|
signal,
|
|
15621
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15411
15622
|
searchParams: buildSearchParams$2({
|
|
15412
15623
|
source,
|
|
15413
15624
|
priority,
|
|
@@ -15437,6 +15648,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15437
15648
|
include_drafts,
|
|
15438
15649
|
cf_filter,
|
|
15439
15650
|
user_cf_filter,
|
|
15651
|
+
recurring_occurrences_after,
|
|
15652
|
+
max_recurring_occurrences_after,
|
|
15653
|
+
recurring_task_read,
|
|
15654
|
+
include_projected_occurrences,
|
|
15440
15655
|
page,
|
|
15441
15656
|
per_page,
|
|
15442
15657
|
order_by
|
|
@@ -15464,104 +15679,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15464
15679
|
}).json();
|
|
15465
15680
|
}
|
|
15466
15681
|
//#endregion
|
|
15467
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15468
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15469
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15470
|
-
signal,
|
|
15471
|
-
searchParams: buildSearchParams$2({
|
|
15472
|
-
page,
|
|
15473
|
-
per_page,
|
|
15474
|
-
order_by,
|
|
15475
|
-
archived
|
|
15476
|
-
})
|
|
15477
|
-
}).json();
|
|
15478
|
-
}
|
|
15479
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15480
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15481
|
-
signal,
|
|
15482
|
-
json: data
|
|
15483
|
-
}).json();
|
|
15484
|
-
}
|
|
15485
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15486
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15487
|
-
}
|
|
15488
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15489
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15490
|
-
signal,
|
|
15491
|
-
json: data
|
|
15492
|
-
}).json();
|
|
15493
|
-
}
|
|
15494
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15495
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15496
|
-
signal,
|
|
15497
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15498
|
-
}).json();
|
|
15499
|
-
}
|
|
15500
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15501
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15502
|
-
signal,
|
|
15503
|
-
json: data
|
|
15504
|
-
}).json();
|
|
15505
|
-
}
|
|
15506
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15507
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15508
|
-
}
|
|
15509
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15510
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15511
|
-
}
|
|
15512
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15513
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15514
|
-
}
|
|
15515
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15516
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15517
|
-
signal,
|
|
15518
|
-
searchParams: buildSearchParams$2({
|
|
15519
|
-
date_from,
|
|
15520
|
-
date_to,
|
|
15521
|
-
task_id,
|
|
15522
|
-
status_id,
|
|
15523
|
-
page,
|
|
15524
|
-
per_page,
|
|
15525
|
-
archived,
|
|
15526
|
-
order_by
|
|
15527
|
-
})
|
|
15528
|
-
}).json();
|
|
15529
|
-
}
|
|
15530
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15531
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15532
|
-
signal,
|
|
15533
|
-
json: data
|
|
15534
|
-
}).json();
|
|
15535
|
-
}
|
|
15536
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15537
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15538
|
-
signal,
|
|
15539
|
-
searchParams: buildSearchParams$2({
|
|
15540
|
-
ids,
|
|
15541
|
-
outbound_sync
|
|
15542
|
-
})
|
|
15543
|
-
}).json();
|
|
15544
|
-
}
|
|
15545
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15546
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15547
|
-
signal,
|
|
15548
|
-
json: data
|
|
15549
|
-
}).json();
|
|
15550
|
-
}
|
|
15551
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15552
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15553
|
-
signal,
|
|
15554
|
-
searchParams: buildSearchParams$2({
|
|
15555
|
-
date_from,
|
|
15556
|
-
date_to,
|
|
15557
|
-
task_id,
|
|
15558
|
-
status_id,
|
|
15559
|
-
archived,
|
|
15560
|
-
order_by
|
|
15561
|
-
})
|
|
15562
|
-
}).json();
|
|
15563
|
-
}
|
|
15564
|
-
//#endregion
|
|
15565
15682
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15566
15683
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15567
15684
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15599,6 +15716,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15599
15716
|
})
|
|
15600
15717
|
}).json();
|
|
15601
15718
|
}
|
|
15719
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15720
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15721
|
+
}
|
|
15722
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15723
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15724
|
+
}
|
|
15602
15725
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15603
15726
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15604
15727
|
signal,
|
|
@@ -15626,6 +15749,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15626
15749
|
json: data
|
|
15627
15750
|
}).json();
|
|
15628
15751
|
}
|
|
15752
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15753
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15754
|
+
signal,
|
|
15755
|
+
searchParams: buildSearchParams$2({
|
|
15756
|
+
category_id,
|
|
15757
|
+
date
|
|
15758
|
+
})
|
|
15759
|
+
}).json();
|
|
15760
|
+
}
|
|
15761
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15762
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15763
|
+
signal,
|
|
15764
|
+
searchParams: buildSearchParams$2({
|
|
15765
|
+
category_id,
|
|
15766
|
+
year,
|
|
15767
|
+
page,
|
|
15768
|
+
rows
|
|
15769
|
+
})
|
|
15770
|
+
}).json();
|
|
15771
|
+
}
|
|
15629
15772
|
//#endregion
|
|
15630
15773
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15631
15774
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15726,6 +15869,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15726
15869
|
json: data
|
|
15727
15870
|
}).json();
|
|
15728
15871
|
}
|
|
15872
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15873
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15874
|
+
signal,
|
|
15875
|
+
searchParams: buildSearchParams$2({
|
|
15876
|
+
date_from,
|
|
15877
|
+
date_to,
|
|
15878
|
+
setup_id,
|
|
15879
|
+
user_account_ids,
|
|
15880
|
+
approver_user_account_ids,
|
|
15881
|
+
team_ids
|
|
15882
|
+
})
|
|
15883
|
+
}).json();
|
|
15884
|
+
}
|
|
15729
15885
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15730
15886
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15731
15887
|
}
|
|
@@ -15769,10 +15925,24 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15769
15925
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15770
15926
|
}
|
|
15771
15927
|
//#endregion
|
|
15772
|
-
//#region ../focus-queries/dist/
|
|
15773
|
-
async function
|
|
15774
|
-
return await httpClient.
|
|
15775
|
-
|
|
15928
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15929
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15930
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15931
|
+
signal,
|
|
15932
|
+
json: data
|
|
15933
|
+
}).json();
|
|
15934
|
+
}
|
|
15935
|
+
//#endregion
|
|
15936
|
+
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15937
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15938
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15939
|
+
}
|
|
15940
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15941
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15942
|
+
}
|
|
15943
|
+
async function getUserSettings(httpClient, signal) {
|
|
15944
|
+
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15945
|
+
}
|
|
15776
15946
|
async function partialUpdateUserSettings(httpClient, data, signal) {
|
|
15777
15947
|
return await httpClient.patch(`users/me/settings`, {
|
|
15778
15948
|
signal,
|
|
@@ -15797,6 +15967,12 @@ async function serviceVersion(httpClient, signal) {
|
|
|
15797
15967
|
}
|
|
15798
15968
|
//#endregion
|
|
15799
15969
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
15970
|
+
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
15971
|
+
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
15972
|
+
signal,
|
|
15973
|
+
json: data
|
|
15974
|
+
}).json();
|
|
15975
|
+
}
|
|
15800
15976
|
async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
|
|
15801
15977
|
return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
|
|
15802
15978
|
}
|
|
@@ -16009,6 +16185,7 @@ const generatedFocusOperations = [
|
|
|
16009
16185
|
mcp: { entityTool: "audit-log" },
|
|
16010
16186
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16011
16187
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16188
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16012
16189
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16013
16190
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16014
16191
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16016,6 +16193,7 @@ const generatedFocusOperations = [
|
|
|
16016
16193
|
from: /* @__PURE__ */ string$1(),
|
|
16017
16194
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16018
16195
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16196
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16019
16197
|
to: /* @__PURE__ */ string$1(),
|
|
16020
16198
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16021
16199
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16049,6 +16227,7 @@ const generatedFocusOperations = [
|
|
|
16049
16227
|
mcp: { entityTool: "audit-log" },
|
|
16050
16228
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16051
16229
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16230
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16052
16231
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16053
16232
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16054
16233
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16056,6 +16235,7 @@ const generatedFocusOperations = [
|
|
|
16056
16235
|
from: /* @__PURE__ */ string$1(),
|
|
16057
16236
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16058
16237
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16238
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16059
16239
|
to: /* @__PURE__ */ string$1(),
|
|
16060
16240
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16061
16241
|
}),
|
|
@@ -16095,6 +16275,7 @@ const generatedFocusOperations = [
|
|
|
16095
16275
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16096
16276
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16097
16277
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16278
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16098
16279
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16099
16280
|
user_id: /* @__PURE__ */ number$2()
|
|
16100
16281
|
}),
|
|
@@ -16344,8 +16525,6 @@ const generatedFocusOperations = [
|
|
|
16344
16525
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16345
16526
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16346
16527
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16347
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16348
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16349
16528
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16350
16529
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16351
16530
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16379,8 +16558,6 @@ const generatedFocusOperations = [
|
|
|
16379
16558
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16380
16559
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16381
16560
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16382
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16383
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16384
16561
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16385
16562
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16386
16563
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16396,12 +16573,6 @@ const generatedFocusOperations = [
|
|
|
16396
16573
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16397
16574
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16398
16575
|
}))),
|
|
16399
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16400
|
-
start: apiDateTimeString,
|
|
16401
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16402
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16403
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16404
|
-
}))),
|
|
16405
16576
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16406
16577
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16407
16578
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16411,13 +16582,6 @@ const generatedFocusOperations = [
|
|
|
16411
16582
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16412
16583
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16413
16584
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16414
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16415
|
-
start: apiDateTimeString,
|
|
16416
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16417
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16418
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16419
|
-
})),
|
|
16420
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16421
16585
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16422
16586
|
}))
|
|
16423
16587
|
}) }),
|
|
@@ -16535,6 +16699,33 @@ const generatedFocusOperations = [
|
|
|
16535
16699
|
]));
|
|
16536
16700
|
}
|
|
16537
16701
|
},
|
|
16702
|
+
{
|
|
16703
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16704
|
+
family: "focus",
|
|
16705
|
+
resource: "custom-fields",
|
|
16706
|
+
action: "get-allowed-users",
|
|
16707
|
+
title: "Get Allowed Users Custom Fields",
|
|
16708
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16709
|
+
safety: "read",
|
|
16710
|
+
destructive: false,
|
|
16711
|
+
cli: {
|
|
16712
|
+
group: ["custom-fields"],
|
|
16713
|
+
command: "get-allowed-users",
|
|
16714
|
+
interactive: "available"
|
|
16715
|
+
},
|
|
16716
|
+
mcp: { entityTool: "custom-fields" },
|
|
16717
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16718
|
+
execute: (input, { client }) => {
|
|
16719
|
+
const data = input;
|
|
16720
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16721
|
+
client.httpClient,
|
|
16722
|
+
client.organizationId,
|
|
16723
|
+
client.workspaceIdNumber,
|
|
16724
|
+
data.custom_field_id,
|
|
16725
|
+
void 0
|
|
16726
|
+
]));
|
|
16727
|
+
}
|
|
16728
|
+
},
|
|
16538
16729
|
{
|
|
16539
16730
|
id: "focus.custom-fields.list",
|
|
16540
16731
|
family: "focus",
|
|
@@ -16704,6 +16895,37 @@ const generatedFocusOperations = [
|
|
|
16704
16895
|
]));
|
|
16705
16896
|
}
|
|
16706
16897
|
},
|
|
16898
|
+
{
|
|
16899
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16900
|
+
family: "focus",
|
|
16901
|
+
resource: "custom-fields",
|
|
16902
|
+
action: "replace-custom-field-allowed-users",
|
|
16903
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16904
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16905
|
+
safety: "update",
|
|
16906
|
+
destructive: false,
|
|
16907
|
+
cli: {
|
|
16908
|
+
group: ["custom-fields"],
|
|
16909
|
+
command: "replace-custom-field-allowed-users",
|
|
16910
|
+
interactive: "default"
|
|
16911
|
+
},
|
|
16912
|
+
mcp: { entityTool: "custom-fields" },
|
|
16913
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16914
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16915
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16916
|
+
}),
|
|
16917
|
+
execute: (input, { client }) => {
|
|
16918
|
+
const data = input;
|
|
16919
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16920
|
+
client.httpClient,
|
|
16921
|
+
client.organizationId,
|
|
16922
|
+
client.workspaceIdNumber,
|
|
16923
|
+
data.custom_field_id,
|
|
16924
|
+
data.payload ?? data.data ?? data,
|
|
16925
|
+
void 0
|
|
16926
|
+
]));
|
|
16927
|
+
}
|
|
16928
|
+
},
|
|
16707
16929
|
{
|
|
16708
16930
|
id: "focus.custom-fields.update",
|
|
16709
16931
|
family: "focus",
|
|
@@ -16834,6 +17056,256 @@ const generatedFocusOperations = [
|
|
|
16834
17056
|
]));
|
|
16835
17057
|
}
|
|
16836
17058
|
},
|
|
17059
|
+
{
|
|
17060
|
+
id: "focus.designations.bulk-create-workspace",
|
|
17061
|
+
family: "focus",
|
|
17062
|
+
resource: "designations",
|
|
17063
|
+
action: "bulk-create-workspace",
|
|
17064
|
+
title: "Bulk Create Workspace Designations",
|
|
17065
|
+
description: "Bulk Create Workspace Designations.",
|
|
17066
|
+
safety: "create",
|
|
17067
|
+
destructive: false,
|
|
17068
|
+
cli: {
|
|
17069
|
+
group: ["designations", "bulk"],
|
|
17070
|
+
command: "create-workspace",
|
|
17071
|
+
interactive: "default"
|
|
17072
|
+
},
|
|
17073
|
+
mcp: { entityTool: "designations" },
|
|
17074
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17075
|
+
name: /* @__PURE__ */ string$1(),
|
|
17076
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17077
|
+
})) }) }),
|
|
17078
|
+
execute: (input, { client }) => {
|
|
17079
|
+
const data = input;
|
|
17080
|
+
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
17081
|
+
client.httpClient,
|
|
17082
|
+
client.organizationId,
|
|
17083
|
+
client.workspaceIdNumber,
|
|
17084
|
+
data.payload ?? data.data ?? data,
|
|
17085
|
+
void 0
|
|
17086
|
+
]));
|
|
17087
|
+
}
|
|
17088
|
+
},
|
|
17089
|
+
{
|
|
17090
|
+
id: "focus.designations.bulk-delete-workspace",
|
|
17091
|
+
family: "focus",
|
|
17092
|
+
resource: "designations",
|
|
17093
|
+
action: "bulk-delete-workspace",
|
|
17094
|
+
title: "Bulk Delete Workspace Designations",
|
|
17095
|
+
description: "Bulk Delete Workspace Designations.",
|
|
17096
|
+
safety: "delete",
|
|
17097
|
+
destructive: true,
|
|
17098
|
+
cli: {
|
|
17099
|
+
group: ["designations", "bulk"],
|
|
17100
|
+
command: "delete-workspace",
|
|
17101
|
+
interactive: "default"
|
|
17102
|
+
},
|
|
17103
|
+
mcp: { entityTool: "designations" },
|
|
17104
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17105
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17106
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17107
|
+
}),
|
|
17108
|
+
execute: (input, { client }) => {
|
|
17109
|
+
const data = input;
|
|
17110
|
+
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
17111
|
+
client.httpClient,
|
|
17112
|
+
client.organizationId,
|
|
17113
|
+
client.workspaceIdNumber,
|
|
17114
|
+
data.ids,
|
|
17115
|
+
data.all_or_none,
|
|
17116
|
+
void 0
|
|
17117
|
+
]));
|
|
17118
|
+
}
|
|
17119
|
+
},
|
|
17120
|
+
{
|
|
17121
|
+
id: "focus.designations.bulk-update-workspace",
|
|
17122
|
+
family: "focus",
|
|
17123
|
+
resource: "designations",
|
|
17124
|
+
action: "bulk-update-workspace",
|
|
17125
|
+
title: "Bulk Update Workspace Designations",
|
|
17126
|
+
description: "Bulk Update Workspace Designations.",
|
|
17127
|
+
safety: "update",
|
|
17128
|
+
destructive: false,
|
|
17129
|
+
cli: {
|
|
17130
|
+
group: ["designations", "bulk"],
|
|
17131
|
+
command: "update-workspace",
|
|
17132
|
+
interactive: "default"
|
|
17133
|
+
},
|
|
17134
|
+
mcp: { entityTool: "designations" },
|
|
17135
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17136
|
+
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17137
|
+
id: /* @__PURE__ */ number$2(),
|
|
17138
|
+
name: /* @__PURE__ */ string$1()
|
|
17139
|
+
})),
|
|
17140
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17141
|
+
}) }),
|
|
17142
|
+
execute: (input, { client }) => {
|
|
17143
|
+
const data = input;
|
|
17144
|
+
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
17145
|
+
client.httpClient,
|
|
17146
|
+
client.organizationId,
|
|
17147
|
+
client.workspaceIdNumber,
|
|
17148
|
+
data.payload ?? data.data ?? data,
|
|
17149
|
+
void 0
|
|
17150
|
+
]));
|
|
17151
|
+
}
|
|
17152
|
+
},
|
|
17153
|
+
{
|
|
17154
|
+
id: "focus.designations.create-workspace",
|
|
17155
|
+
family: "focus",
|
|
17156
|
+
resource: "designations",
|
|
17157
|
+
action: "create-workspace",
|
|
17158
|
+
title: "Create Workspace Designations",
|
|
17159
|
+
description: "Create Workspace Designations.",
|
|
17160
|
+
safety: "create",
|
|
17161
|
+
destructive: false,
|
|
17162
|
+
cli: {
|
|
17163
|
+
group: ["designations"],
|
|
17164
|
+
command: "create-workspace",
|
|
17165
|
+
interactive: "default"
|
|
17166
|
+
},
|
|
17167
|
+
mcp: { entityTool: "designations" },
|
|
17168
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17169
|
+
name: /* @__PURE__ */ string$1(),
|
|
17170
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17171
|
+
}) }),
|
|
17172
|
+
execute: (input, { client }) => {
|
|
17173
|
+
const data = input;
|
|
17174
|
+
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
17175
|
+
client.httpClient,
|
|
17176
|
+
client.organizationId,
|
|
17177
|
+
client.workspaceIdNumber,
|
|
17178
|
+
data.payload ?? data.data ?? data,
|
|
17179
|
+
void 0
|
|
17180
|
+
]));
|
|
17181
|
+
}
|
|
17182
|
+
},
|
|
17183
|
+
{
|
|
17184
|
+
id: "focus.designations.delete-workspace",
|
|
17185
|
+
family: "focus",
|
|
17186
|
+
resource: "designations",
|
|
17187
|
+
action: "delete-workspace",
|
|
17188
|
+
title: "Delete Workspace Designations",
|
|
17189
|
+
description: "Delete Workspace Designations.",
|
|
17190
|
+
safety: "delete",
|
|
17191
|
+
destructive: true,
|
|
17192
|
+
cli: {
|
|
17193
|
+
group: ["designations"],
|
|
17194
|
+
command: "delete-workspace",
|
|
17195
|
+
interactive: "default"
|
|
17196
|
+
},
|
|
17197
|
+
mcp: { entityTool: "designations" },
|
|
17198
|
+
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
17199
|
+
execute: (input, { client }) => {
|
|
17200
|
+
const data = input;
|
|
17201
|
+
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
17202
|
+
client.httpClient,
|
|
17203
|
+
client.organizationId,
|
|
17204
|
+
client.workspaceIdNumber,
|
|
17205
|
+
data.designation_id,
|
|
17206
|
+
void 0
|
|
17207
|
+
]));
|
|
17208
|
+
}
|
|
17209
|
+
},
|
|
17210
|
+
{
|
|
17211
|
+
id: "focus.designations.get-workspace-designations",
|
|
17212
|
+
family: "focus",
|
|
17213
|
+
resource: "designations",
|
|
17214
|
+
action: "get-workspace-designations",
|
|
17215
|
+
title: "Get Workspace Designations Designations",
|
|
17216
|
+
description: "Get Workspace Designations Designations.",
|
|
17217
|
+
safety: "read",
|
|
17218
|
+
destructive: false,
|
|
17219
|
+
cli: {
|
|
17220
|
+
group: ["designations"],
|
|
17221
|
+
command: "get-workspace-designations",
|
|
17222
|
+
interactive: "hidden"
|
|
17223
|
+
},
|
|
17224
|
+
mcp: { entityTool: "designations" },
|
|
17225
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17226
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17227
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17228
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17229
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17230
|
+
}),
|
|
17231
|
+
execute: (input, { client }) => {
|
|
17232
|
+
const data = input;
|
|
17233
|
+
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
17234
|
+
client.httpClient,
|
|
17235
|
+
client.organizationId,
|
|
17236
|
+
client.workspaceIdNumber,
|
|
17237
|
+
data,
|
|
17238
|
+
void 0
|
|
17239
|
+
]));
|
|
17240
|
+
}
|
|
17241
|
+
},
|
|
17242
|
+
{
|
|
17243
|
+
id: "focus.designations.update-workspace",
|
|
17244
|
+
family: "focus",
|
|
17245
|
+
resource: "designations",
|
|
17246
|
+
action: "update-workspace",
|
|
17247
|
+
title: "Update Workspace Designations",
|
|
17248
|
+
description: "Update Workspace Designations.",
|
|
17249
|
+
safety: "update",
|
|
17250
|
+
destructive: false,
|
|
17251
|
+
cli: {
|
|
17252
|
+
group: ["designations"],
|
|
17253
|
+
command: "update-workspace",
|
|
17254
|
+
interactive: "default"
|
|
17255
|
+
},
|
|
17256
|
+
mcp: { entityTool: "designations" },
|
|
17257
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17258
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17259
|
+
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
17260
|
+
}),
|
|
17261
|
+
execute: (input, { client }) => {
|
|
17262
|
+
const data = input;
|
|
17263
|
+
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
17264
|
+
client.httpClient,
|
|
17265
|
+
client.organizationId,
|
|
17266
|
+
client.workspaceIdNumber,
|
|
17267
|
+
data.designation_id,
|
|
17268
|
+
data.payload ?? data.data ?? data,
|
|
17269
|
+
void 0
|
|
17270
|
+
]));
|
|
17271
|
+
}
|
|
17272
|
+
},
|
|
17273
|
+
{
|
|
17274
|
+
id: "focus.designations.update-workspace-designation-members",
|
|
17275
|
+
family: "focus",
|
|
17276
|
+
resource: "designations",
|
|
17277
|
+
action: "update-workspace-designation-members",
|
|
17278
|
+
title: "Update Workspace Designation Members Designations",
|
|
17279
|
+
description: "Update Workspace Designation Members Designations.",
|
|
17280
|
+
safety: "update",
|
|
17281
|
+
destructive: false,
|
|
17282
|
+
cli: {
|
|
17283
|
+
group: ["designations"],
|
|
17284
|
+
command: "update-workspace-designation-members",
|
|
17285
|
+
interactive: "default"
|
|
17286
|
+
},
|
|
17287
|
+
mcp: { entityTool: "designations" },
|
|
17288
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17289
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17290
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17291
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17292
|
+
}))),
|
|
17293
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17294
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17295
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17296
|
+
})))
|
|
17297
|
+
}) }),
|
|
17298
|
+
execute: (input, { client }) => {
|
|
17299
|
+
const data = input;
|
|
17300
|
+
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
17301
|
+
client.httpClient,
|
|
17302
|
+
client.organizationId,
|
|
17303
|
+
client.workspaceIdNumber,
|
|
17304
|
+
data.payload ?? data.data ?? data,
|
|
17305
|
+
void 0
|
|
17306
|
+
]));
|
|
17307
|
+
}
|
|
17308
|
+
},
|
|
16837
17309
|
{
|
|
16838
17310
|
id: "focus.goals.create",
|
|
16839
17311
|
family: "focus",
|
|
@@ -16850,13 +17322,7 @@ const generatedFocusOperations = [
|
|
|
16850
17322
|
},
|
|
16851
17323
|
mcp: { entityTool: "goals" },
|
|
16852
17324
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16853
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16854
17325
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16855
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16856
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16857
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16858
|
-
name: /* @__PURE__ */ string$1(),
|
|
16859
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16860
17326
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16861
17327
|
"daily",
|
|
16862
17328
|
"weekly",
|
|
@@ -16864,12 +17330,18 @@ const generatedFocusOperations = [
|
|
|
16864
17330
|
"monthly"
|
|
16865
17331
|
]),
|
|
16866
17332
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16867
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16868
17333
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16869
|
-
|
|
16870
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17334
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16871
17335
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16872
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17336
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17337
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17338
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17339
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17340
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17341
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17342
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17343
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17344
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16873
17345
|
}) }),
|
|
16874
17346
|
execute: (input, { client }) => {
|
|
16875
17347
|
const data = input;
|
|
@@ -16975,13 +17447,6 @@ const generatedFocusOperations = [
|
|
|
16975
17447
|
},
|
|
16976
17448
|
mcp: { entityTool: "goals" },
|
|
16977
17449
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
-
name: /* @__PURE__ */ string$1(),
|
|
16984
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16985
17450
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16986
17451
|
"daily",
|
|
16987
17452
|
"weekly",
|
|
@@ -16989,12 +17454,19 @@ const generatedFocusOperations = [
|
|
|
16989
17454
|
"monthly"
|
|
16990
17455
|
]),
|
|
16991
17456
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16992
|
-
|
|
16993
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16995
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17457
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16996
17458
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16997
|
-
|
|
17459
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17460
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17461
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17462
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17463
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17464
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17465
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17466
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17467
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17468
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17469
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16998
17470
|
}) }),
|
|
16999
17471
|
execute: (input, { client }) => {
|
|
17000
17472
|
const data = input;
|
|
@@ -17961,9 +18433,17 @@ const generatedFocusOperations = [
|
|
|
17961
18433
|
mcp: { entityTool: "projects" },
|
|
17962
18434
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17963
18435
|
payload: /* @__PURE__ */ looseObject({
|
|
18436
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18437
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
17964
18438
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17965
18439
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17966
18440
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18441
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18442
|
+
"expire",
|
|
18443
|
+
"carry_all",
|
|
18444
|
+
"carry_over"
|
|
18445
|
+
])),
|
|
18446
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17967
18447
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
17968
18448
|
}),
|
|
17969
18449
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18407,6 +18887,7 @@ const generatedFocusOperations = [
|
|
|
18407
18887
|
group: /* @__PURE__ */ string$1(),
|
|
18408
18888
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18409
18889
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18890
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18410
18891
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18411
18892
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18412
18893
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18510,37 +18991,14 @@ const generatedFocusOperations = [
|
|
|
18510
18991
|
}
|
|
18511
18992
|
},
|
|
18512
18993
|
{
|
|
18513
|
-
id: "focus.projects.margin-targets-
|
|
18994
|
+
id: "focus.projects.margin-targets-get",
|
|
18514
18995
|
family: "focus",
|
|
18515
18996
|
resource: "projects",
|
|
18516
|
-
action: "margin-targets-
|
|
18517
|
-
title: "Margin Targets
|
|
18518
|
-
description: "Margin Targets
|
|
18519
|
-
safety: "
|
|
18520
|
-
destructive:
|
|
18521
|
-
cli: {
|
|
18522
|
-
group: ["projects", "margin-targets"],
|
|
18523
|
-
command: "clear-workspace",
|
|
18524
|
-
interactive: "default"
|
|
18525
|
-
},
|
|
18526
|
-
mcp: { entityTool: "projects" },
|
|
18527
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18528
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18529
|
-
client.httpClient,
|
|
18530
|
-
client.organizationId,
|
|
18531
|
-
client.workspaceIdNumber,
|
|
18532
|
-
void 0
|
|
18533
|
-
]))
|
|
18534
|
-
},
|
|
18535
|
-
{
|
|
18536
|
-
id: "focus.projects.margin-targets-get",
|
|
18537
|
-
family: "focus",
|
|
18538
|
-
resource: "projects",
|
|
18539
|
-
action: "margin-targets-get",
|
|
18540
|
-
title: "Margin Targets Get Projects",
|
|
18541
|
-
description: "Margin Targets Get Projects.",
|
|
18542
|
-
safety: "read",
|
|
18543
|
-
destructive: false,
|
|
18997
|
+
action: "margin-targets-get",
|
|
18998
|
+
title: "Margin Targets Get Projects",
|
|
18999
|
+
description: "Margin Targets Get Projects.",
|
|
19000
|
+
safety: "read",
|
|
19001
|
+
destructive: false,
|
|
18544
19002
|
cli: {
|
|
18545
19003
|
group: ["projects", "margin-targets"],
|
|
18546
19004
|
command: "get",
|
|
@@ -18976,6 +19434,130 @@ const generatedFocusOperations = [
|
|
|
18976
19434
|
]));
|
|
18977
19435
|
}
|
|
18978
19436
|
},
|
|
19437
|
+
{
|
|
19438
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19439
|
+
family: "focus",
|
|
19440
|
+
resource: "publicsharedreports",
|
|
19441
|
+
action: "open-public-shared-report",
|
|
19442
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
19443
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
19444
|
+
safety: "read",
|
|
19445
|
+
destructive: false,
|
|
19446
|
+
cli: {
|
|
19447
|
+
group: ["publicsharedreports"],
|
|
19448
|
+
command: "open-public-shared-report",
|
|
19449
|
+
interactive: "available"
|
|
19450
|
+
},
|
|
19451
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19452
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19453
|
+
execute: (input, { client }) => {
|
|
19454
|
+
const data = input;
|
|
19455
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19456
|
+
client.httpClient,
|
|
19457
|
+
data.token,
|
|
19458
|
+
void 0
|
|
19459
|
+
]));
|
|
19460
|
+
}
|
|
19461
|
+
},
|
|
19462
|
+
{
|
|
19463
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19464
|
+
family: "focus",
|
|
19465
|
+
resource: "publicsharedreports",
|
|
19466
|
+
action: "profitability-public-shared-report",
|
|
19467
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19468
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19469
|
+
safety: "update",
|
|
19470
|
+
destructive: false,
|
|
19471
|
+
cli: {
|
|
19472
|
+
group: ["publicsharedreports"],
|
|
19473
|
+
command: "profitability-public-shared-report",
|
|
19474
|
+
interactive: "default"
|
|
19475
|
+
},
|
|
19476
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19477
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19478
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19479
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19480
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19481
|
+
token: /* @__PURE__ */ string$1()
|
|
19482
|
+
}),
|
|
19483
|
+
execute: (input, { client }) => {
|
|
19484
|
+
const data = input;
|
|
19485
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19486
|
+
client.httpClient,
|
|
19487
|
+
data.token,
|
|
19488
|
+
data.payload ?? data.data ?? data,
|
|
19489
|
+
data.response_format,
|
|
19490
|
+
data.include_dicts,
|
|
19491
|
+
void 0
|
|
19492
|
+
]));
|
|
19493
|
+
}
|
|
19494
|
+
},
|
|
19495
|
+
{
|
|
19496
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19497
|
+
family: "focus",
|
|
19498
|
+
resource: "publicsharedreports",
|
|
19499
|
+
action: "query-public-shared-report",
|
|
19500
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
19501
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
19502
|
+
safety: "update",
|
|
19503
|
+
destructive: false,
|
|
19504
|
+
cli: {
|
|
19505
|
+
group: ["publicsharedreports"],
|
|
19506
|
+
command: "query-public-shared-report",
|
|
19507
|
+
interactive: "default"
|
|
19508
|
+
},
|
|
19509
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19510
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19511
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19512
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19513
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19514
|
+
"json_row",
|
|
19515
|
+
"table",
|
|
19516
|
+
"hierarchical"
|
|
19517
|
+
])),
|
|
19518
|
+
token: /* @__PURE__ */ string$1()
|
|
19519
|
+
}),
|
|
19520
|
+
execute: (input, { client }) => {
|
|
19521
|
+
const data = input;
|
|
19522
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19523
|
+
client.httpClient,
|
|
19524
|
+
data.token,
|
|
19525
|
+
data.payload ?? data.data ?? data,
|
|
19526
|
+
data.response_format,
|
|
19527
|
+
data.include_dicts,
|
|
19528
|
+
void 0
|
|
19529
|
+
]));
|
|
19530
|
+
}
|
|
19531
|
+
},
|
|
19532
|
+
{
|
|
19533
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19534
|
+
family: "focus",
|
|
19535
|
+
resource: "publicsharedreports",
|
|
19536
|
+
action: "workload-public-shared-report",
|
|
19537
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
19538
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19539
|
+
safety: "update",
|
|
19540
|
+
destructive: false,
|
|
19541
|
+
cli: {
|
|
19542
|
+
group: ["publicsharedreports"],
|
|
19543
|
+
command: "workload-public-shared-report",
|
|
19544
|
+
interactive: "default"
|
|
19545
|
+
},
|
|
19546
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19547
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19548
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19549
|
+
token: /* @__PURE__ */ string$1()
|
|
19550
|
+
}),
|
|
19551
|
+
execute: (input, { client }) => {
|
|
19552
|
+
const data = input;
|
|
19553
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19554
|
+
client.httpClient,
|
|
19555
|
+
data.token,
|
|
19556
|
+
data.payload ?? data.data ?? data,
|
|
19557
|
+
void 0
|
|
19558
|
+
]));
|
|
19559
|
+
}
|
|
19560
|
+
},
|
|
18979
19561
|
{
|
|
18980
19562
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
18981
19563
|
family: "focus",
|
|
@@ -20553,51 +21135,51 @@ const generatedFocusOperations = [
|
|
|
20553
21135
|
mcp: { entityTool: "reports" },
|
|
20554
21136
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20555
21137
|
payload: /* @__PURE__ */ looseObject({
|
|
20556
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20557
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21138
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21139
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20558
21140
|
function: /* @__PURE__ */ string$1(),
|
|
20559
21141
|
property: /* @__PURE__ */ string$1()
|
|
20560
|
-
}),
|
|
20561
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20562
|
-
property: /* @__PURE__ */ string$1()
|
|
20563
|
-
})),
|
|
20564
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21142
|
+
})),
|
|
21143
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21144
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21145
|
+
}))),
|
|
21146
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20565
21147
|
function: /* @__PURE__ */ string$1(),
|
|
20566
21148
|
property: /* @__PURE__ */ string$1()
|
|
20567
|
-
})),
|
|
20568
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20575
|
-
|
|
21149
|
+
}))),
|
|
21150
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21151
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21152
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21153
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21154
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21155
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21156
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21157
|
+
}))),
|
|
21158
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21159
|
+
property: /* @__PURE__ */ string$1(),
|
|
21160
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21161
|
+
}))),
|
|
21162
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21163
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20576
21164
|
property: /* @__PURE__ */ string$1(),
|
|
20577
|
-
|
|
21165
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21166
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21167
|
+
}))),
|
|
21168
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21169
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21170
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20578
21171
|
})),
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
property: /* @__PURE__ */ string$1()
|
|
21172
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21173
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21174
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21175
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20584
21176
|
})),
|
|
20585
|
-
|
|
20586
|
-
|
|
20587
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20588
|
-
}),
|
|
20589
|
-
period: /* @__PURE__ */ looseObject({
|
|
20590
|
-
from: /* @__PURE__ */ string$1(),
|
|
20591
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20592
|
-
to: /* @__PURE__ */ string$1()
|
|
20593
|
-
}),
|
|
20594
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21177
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21178
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20595
21179
|
name: /* @__PURE__ */ string$1(),
|
|
20596
21180
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20597
|
-
})),
|
|
20598
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20599
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20600
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21181
|
+
}))),
|
|
21182
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20601
21183
|
}),
|
|
20602
21184
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20603
21185
|
}),
|
|
@@ -20678,51 +21260,51 @@ const generatedFocusOperations = [
|
|
|
20678
21260
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20679
21261
|
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
20680
21262
|
payload: /* @__PURE__ */ looseObject({
|
|
20681
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20682
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21263
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21264
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20683
21265
|
function: /* @__PURE__ */ string$1(),
|
|
20684
21266
|
property: /* @__PURE__ */ string$1()
|
|
20685
|
-
}),
|
|
20686
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20687
|
-
property: /* @__PURE__ */ string$1()
|
|
20688
|
-
})),
|
|
20689
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21267
|
+
})),
|
|
21268
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21269
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21270
|
+
}))),
|
|
21271
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20690
21272
|
function: /* @__PURE__ */ string$1(),
|
|
20691
21273
|
property: /* @__PURE__ */ string$1()
|
|
20692
|
-
})),
|
|
20693
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20694
|
-
|
|
20695
|
-
|
|
20696
|
-
|
|
20697
|
-
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
|
|
21274
|
+
}))),
|
|
21275
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21276
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21277
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21278
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21279
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21280
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21281
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21282
|
+
}))),
|
|
21283
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20701
21284
|
property: /* @__PURE__ */ string$1(),
|
|
20702
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
21285
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21286
|
+
}))),
|
|
21287
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21288
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21289
|
+
property: /* @__PURE__ */ string$1(),
|
|
21290
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21291
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21292
|
+
}))),
|
|
21293
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21294
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21295
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20703
21296
|
})),
|
|
20704
|
-
|
|
20705
|
-
|
|
20706
|
-
|
|
20707
|
-
|
|
20708
|
-
property: /* @__PURE__ */ string$1()
|
|
21297
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21298
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21299
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21300
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20709
21301
|
})),
|
|
20710
|
-
|
|
20711
|
-
|
|
20712
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20713
|
-
}),
|
|
20714
|
-
period: /* @__PURE__ */ looseObject({
|
|
20715
|
-
from: /* @__PURE__ */ string$1(),
|
|
20716
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20717
|
-
to: /* @__PURE__ */ string$1()
|
|
20718
|
-
}),
|
|
20719
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21302
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21303
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20720
21304
|
name: /* @__PURE__ */ string$1(),
|
|
20721
21305
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20722
|
-
})),
|
|
20723
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20724
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20725
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21306
|
+
}))),
|
|
21307
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20726
21308
|
}),
|
|
20727
21309
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20728
21310
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -20760,51 +21342,51 @@ const generatedFocusOperations = [
|
|
|
20760
21342
|
},
|
|
20761
21343
|
mcp: { entityTool: "reports" },
|
|
20762
21344
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
20763
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20764
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21345
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21346
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20765
21347
|
function: /* @__PURE__ */ string$1(),
|
|
20766
21348
|
property: /* @__PURE__ */ string$1()
|
|
20767
|
-
}),
|
|
20768
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20769
|
-
property: /* @__PURE__ */ string$1()
|
|
20770
|
-
})),
|
|
20771
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21349
|
+
})),
|
|
21350
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21351
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21352
|
+
}))),
|
|
21353
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20772
21354
|
function: /* @__PURE__ */ string$1(),
|
|
20773
21355
|
property: /* @__PURE__ */ string$1()
|
|
20774
|
-
})),
|
|
20775
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20776
|
-
|
|
20777
|
-
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20781
|
-
|
|
20782
|
-
|
|
21356
|
+
}))),
|
|
21357
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21358
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21359
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21360
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21361
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21362
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21363
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21364
|
+
}))),
|
|
21365
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21366
|
+
property: /* @__PURE__ */ string$1(),
|
|
21367
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21368
|
+
}))),
|
|
21369
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21370
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20783
21371
|
property: /* @__PURE__ */ string$1(),
|
|
20784
|
-
|
|
21372
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21373
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21374
|
+
}))),
|
|
21375
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21376
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21377
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20785
21378
|
})),
|
|
20786
|
-
|
|
20787
|
-
|
|
20788
|
-
|
|
20789
|
-
|
|
20790
|
-
property: /* @__PURE__ */ string$1()
|
|
21379
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21380
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21381
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21382
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20791
21383
|
})),
|
|
20792
|
-
|
|
20793
|
-
|
|
20794
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20795
|
-
}),
|
|
20796
|
-
period: /* @__PURE__ */ looseObject({
|
|
20797
|
-
from: /* @__PURE__ */ string$1(),
|
|
20798
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20799
|
-
to: /* @__PURE__ */ string$1()
|
|
20800
|
-
}),
|
|
20801
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21384
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21385
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20802
21386
|
name: /* @__PURE__ */ string$1(),
|
|
20803
21387
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20804
|
-
})),
|
|
20805
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20806
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20807
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21388
|
+
}))),
|
|
21389
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20808
21390
|
}) }),
|
|
20809
21391
|
execute: (input, { client }) => {
|
|
20810
21392
|
const data = input;
|
|
@@ -20833,51 +21415,51 @@ const generatedFocusOperations = [
|
|
|
20833
21415
|
mcp: { entityTool: "reports" },
|
|
20834
21416
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20835
21417
|
payload: /* @__PURE__ */ looseObject({
|
|
20836
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20837
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21418
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21419
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20838
21420
|
function: /* @__PURE__ */ string$1(),
|
|
20839
21421
|
property: /* @__PURE__ */ string$1()
|
|
20840
|
-
}),
|
|
20841
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20842
|
-
property: /* @__PURE__ */ string$1()
|
|
20843
|
-
})),
|
|
20844
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21422
|
+
})),
|
|
21423
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21424
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21425
|
+
}))),
|
|
21426
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20845
21427
|
function: /* @__PURE__ */ string$1(),
|
|
20846
21428
|
property: /* @__PURE__ */ string$1()
|
|
20847
|
-
})),
|
|
20848
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20849
|
-
|
|
20850
|
-
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
21429
|
+
}))),
|
|
21430
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21431
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21432
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21433
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21434
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21435
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21436
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21437
|
+
}))),
|
|
21438
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20856
21439
|
property: /* @__PURE__ */ string$1(),
|
|
20857
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
21440
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21441
|
+
}))),
|
|
21442
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21443
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21444
|
+
property: /* @__PURE__ */ string$1(),
|
|
21445
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21446
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21447
|
+
}))),
|
|
21448
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21449
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21450
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20858
21451
|
})),
|
|
20859
|
-
|
|
20860
|
-
|
|
20861
|
-
|
|
20862
|
-
|
|
20863
|
-
property: /* @__PURE__ */ string$1()
|
|
21452
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21453
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21454
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21455
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20864
21456
|
})),
|
|
20865
|
-
|
|
20866
|
-
|
|
20867
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20868
|
-
}),
|
|
20869
|
-
period: /* @__PURE__ */ looseObject({
|
|
20870
|
-
from: /* @__PURE__ */ string$1(),
|
|
20871
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20872
|
-
to: /* @__PURE__ */ string$1()
|
|
20873
|
-
}),
|
|
20874
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21457
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21458
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20875
21459
|
name: /* @__PURE__ */ string$1(),
|
|
20876
21460
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20877
|
-
})),
|
|
20878
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20879
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20880
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21461
|
+
}))),
|
|
21462
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20881
21463
|
}),
|
|
20882
21464
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20883
21465
|
"csv",
|
|
@@ -20934,7 +21516,7 @@ const generatedFocusOperations = [
|
|
|
20934
21516
|
cli: {
|
|
20935
21517
|
group: ["reportschedules"],
|
|
20936
21518
|
command: "upsert-saved-view-schedule",
|
|
20937
|
-
interactive: "
|
|
21519
|
+
interactive: "hidden"
|
|
20938
21520
|
},
|
|
20939
21521
|
mcp: { entityTool: "reportschedules" },
|
|
20940
21522
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -20945,8 +21527,10 @@ const generatedFocusOperations = [
|
|
|
20945
21527
|
"weekly",
|
|
20946
21528
|
"monthly"
|
|
20947
21529
|
]),
|
|
21530
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
20948
21531
|
time: /* @__PURE__ */ string$1(),
|
|
20949
21532
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21533
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20950
21534
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20951
21535
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20952
21536
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21279,6 +21863,32 @@ const generatedFocusOperations = [
|
|
|
21279
21863
|
]));
|
|
21280
21864
|
}
|
|
21281
21865
|
},
|
|
21866
|
+
{
|
|
21867
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
21868
|
+
family: "focus",
|
|
21869
|
+
resource: "sharedreports",
|
|
21870
|
+
action: "get-shared-report-dates",
|
|
21871
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
21872
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
21873
|
+
safety: "read",
|
|
21874
|
+
destructive: false,
|
|
21875
|
+
cli: {
|
|
21876
|
+
group: ["sharedreports"],
|
|
21877
|
+
command: "get-shared-report-dates",
|
|
21878
|
+
interactive: "available"
|
|
21879
|
+
},
|
|
21880
|
+
mcp: { entityTool: "sharedreports" },
|
|
21881
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21882
|
+
execute: (input, { client }) => {
|
|
21883
|
+
const data = input;
|
|
21884
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21885
|
+
client.httpClient,
|
|
21886
|
+
client.workspaceIdNumber,
|
|
21887
|
+
data.id,
|
|
21888
|
+
void 0
|
|
21889
|
+
]));
|
|
21890
|
+
}
|
|
21891
|
+
},
|
|
21282
21892
|
{
|
|
21283
21893
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21284
21894
|
family: "focus",
|
|
@@ -21349,6 +21959,36 @@ const generatedFocusOperations = [
|
|
|
21349
21959
|
void 0
|
|
21350
21960
|
]))
|
|
21351
21961
|
},
|
|
21962
|
+
{
|
|
21963
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
21964
|
+
family: "focus",
|
|
21965
|
+
resource: "sharedreports",
|
|
21966
|
+
action: "mint-shared-report-link",
|
|
21967
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
21968
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
21969
|
+
safety: "update",
|
|
21970
|
+
destructive: false,
|
|
21971
|
+
cli: {
|
|
21972
|
+
group: ["sharedreports"],
|
|
21973
|
+
command: "mint-shared-report-link",
|
|
21974
|
+
interactive: "default"
|
|
21975
|
+
},
|
|
21976
|
+
mcp: { entityTool: "sharedreports" },
|
|
21977
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21978
|
+
id: /* @__PURE__ */ number$2(),
|
|
21979
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21980
|
+
}),
|
|
21981
|
+
execute: (input, { client }) => {
|
|
21982
|
+
const data = input;
|
|
21983
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21984
|
+
client.httpClient,
|
|
21985
|
+
client.workspaceIdNumber,
|
|
21986
|
+
data.id,
|
|
21987
|
+
data.payload ?? data.data ?? data,
|
|
21988
|
+
void 0
|
|
21989
|
+
]));
|
|
21990
|
+
}
|
|
21991
|
+
},
|
|
21352
21992
|
{
|
|
21353
21993
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21354
21994
|
family: "focus",
|
|
@@ -21380,71 +22020,53 @@ const generatedFocusOperations = [
|
|
|
21380
22020
|
}
|
|
21381
22021
|
},
|
|
21382
22022
|
{
|
|
21383
|
-
id: "focus.sharedreports.
|
|
22023
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21384
22024
|
family: "focus",
|
|
21385
22025
|
resource: "sharedreports",
|
|
21386
|
-
action: "
|
|
21387
|
-
title: "
|
|
21388
|
-
description: "
|
|
21389
|
-
safety: "
|
|
21390
|
-
destructive:
|
|
22026
|
+
action: "revoke-shared-report-link",
|
|
22027
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
22028
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
22029
|
+
safety: "delete",
|
|
22030
|
+
destructive: true,
|
|
21391
22031
|
cli: {
|
|
21392
22032
|
group: ["sharedreports"],
|
|
21393
|
-
command: "
|
|
21394
|
-
interactive: "
|
|
22033
|
+
command: "revoke-shared-report-link",
|
|
22034
|
+
interactive: "default"
|
|
21395
22035
|
},
|
|
21396
22036
|
mcp: { entityTool: "sharedreports" },
|
|
21397
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21398
|
-
id: /* @__PURE__ */ number$2(),
|
|
21399
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21400
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21401
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21402
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21403
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21404
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21405
|
-
})
|
|
21406
|
-
}),
|
|
22037
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21407
22038
|
execute: (input, { client }) => {
|
|
21408
22039
|
const data = input;
|
|
21409
|
-
return client.runGeneratedRequest("
|
|
22040
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21410
22041
|
client.httpClient,
|
|
21411
22042
|
client.workspaceIdNumber,
|
|
21412
22043
|
data.id,
|
|
21413
|
-
data.payload ?? data.data ?? data,
|
|
21414
22044
|
void 0
|
|
21415
22045
|
]));
|
|
21416
22046
|
}
|
|
21417
22047
|
},
|
|
21418
22048
|
{
|
|
21419
|
-
id: "focus.sharedreports.
|
|
22049
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21420
22050
|
family: "focus",
|
|
21421
22051
|
resource: "sharedreports",
|
|
21422
|
-
action: "
|
|
21423
|
-
title: "
|
|
21424
|
-
description: "
|
|
22052
|
+
action: "rotate-shared-report-link",
|
|
22053
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
22054
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
21425
22055
|
safety: "update",
|
|
21426
22056
|
destructive: false,
|
|
21427
22057
|
cli: {
|
|
21428
22058
|
group: ["sharedreports"],
|
|
21429
|
-
command: "
|
|
21430
|
-
interactive: "
|
|
22059
|
+
command: "rotate-shared-report-link",
|
|
22060
|
+
interactive: "default"
|
|
21431
22061
|
},
|
|
21432
22062
|
mcp: { entityTool: "sharedreports" },
|
|
21433
22063
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21434
22064
|
id: /* @__PURE__ */ number$2(),
|
|
21435
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21436
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21437
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21438
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21439
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21440
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21441
|
-
})),
|
|
21442
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21443
|
-
})
|
|
22065
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21444
22066
|
}),
|
|
21445
22067
|
execute: (input, { client }) => {
|
|
21446
22068
|
const data = input;
|
|
21447
|
-
return client.runGeneratedRequest("
|
|
22069
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21448
22070
|
client.httpClient,
|
|
21449
22071
|
client.workspaceIdNumber,
|
|
21450
22072
|
data.id,
|
|
@@ -21454,12 +22076,142 @@ const generatedFocusOperations = [
|
|
|
21454
22076
|
}
|
|
21455
22077
|
},
|
|
21456
22078
|
{
|
|
21457
|
-
id: "focus.
|
|
22079
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21458
22080
|
family: "focus",
|
|
21459
|
-
resource: "
|
|
21460
|
-
action: "
|
|
21461
|
-
title: "
|
|
21462
|
-
description: "
|
|
22081
|
+
resource: "sharedreports",
|
|
22082
|
+
action: "set-shared-report-dates-lock",
|
|
22083
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
22084
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
22085
|
+
safety: "update",
|
|
22086
|
+
destructive: false,
|
|
22087
|
+
cli: {
|
|
22088
|
+
group: ["sharedreports"],
|
|
22089
|
+
command: "set-shared-report-dates-lock",
|
|
22090
|
+
interactive: "default"
|
|
22091
|
+
},
|
|
22092
|
+
mcp: { entityTool: "sharedreports" },
|
|
22093
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22094
|
+
id: /* @__PURE__ */ number$2(),
|
|
22095
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
22096
|
+
}),
|
|
22097
|
+
execute: (input, { client }) => {
|
|
22098
|
+
const data = input;
|
|
22099
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
22100
|
+
client.httpClient,
|
|
22101
|
+
client.workspaceIdNumber,
|
|
22102
|
+
data.id,
|
|
22103
|
+
data.payload ?? data.data ?? data,
|
|
22104
|
+
void 0
|
|
22105
|
+
]));
|
|
22106
|
+
}
|
|
22107
|
+
},
|
|
22108
|
+
{
|
|
22109
|
+
id: "focus.sharedreports.share-saved-view",
|
|
22110
|
+
family: "focus",
|
|
22111
|
+
resource: "sharedreports",
|
|
22112
|
+
action: "share-saved-view",
|
|
22113
|
+
title: "Share Saved View Sharedreports",
|
|
22114
|
+
description: "Share Saved View Sharedreports.",
|
|
22115
|
+
safety: "update",
|
|
22116
|
+
destructive: false,
|
|
22117
|
+
cli: {
|
|
22118
|
+
group: ["sharedreports"],
|
|
22119
|
+
command: "share-saved-view",
|
|
22120
|
+
interactive: "hidden"
|
|
22121
|
+
},
|
|
22122
|
+
mcp: { entityTool: "sharedreports" },
|
|
22123
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22124
|
+
id: /* @__PURE__ */ number$2(),
|
|
22125
|
+
payload: /* @__PURE__ */ looseObject({
|
|
22126
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
22127
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22128
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22129
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22130
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22131
|
+
})
|
|
22132
|
+
}),
|
|
22133
|
+
execute: (input, { client }) => {
|
|
22134
|
+
const data = input;
|
|
22135
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
22136
|
+
client.httpClient,
|
|
22137
|
+
client.workspaceIdNumber,
|
|
22138
|
+
data.id,
|
|
22139
|
+
data.payload ?? data.data ?? data,
|
|
22140
|
+
void 0
|
|
22141
|
+
]));
|
|
22142
|
+
}
|
|
22143
|
+
},
|
|
22144
|
+
{
|
|
22145
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
22146
|
+
family: "focus",
|
|
22147
|
+
resource: "sharedreports",
|
|
22148
|
+
action: "share-saved-view-many",
|
|
22149
|
+
title: "Share Saved View Many Sharedreports",
|
|
22150
|
+
description: "Share Saved View Many Sharedreports.",
|
|
22151
|
+
safety: "update",
|
|
22152
|
+
destructive: false,
|
|
22153
|
+
cli: {
|
|
22154
|
+
group: ["sharedreports"],
|
|
22155
|
+
command: "share-saved-view-many",
|
|
22156
|
+
interactive: "hidden"
|
|
22157
|
+
},
|
|
22158
|
+
mcp: { entityTool: "sharedreports" },
|
|
22159
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22160
|
+
id: /* @__PURE__ */ number$2(),
|
|
22161
|
+
payload: /* @__PURE__ */ looseObject({
|
|
22162
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
22163
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22164
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22165
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22166
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22167
|
+
})),
|
|
22168
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22169
|
+
})
|
|
22170
|
+
}),
|
|
22171
|
+
execute: (input, { client }) => {
|
|
22172
|
+
const data = input;
|
|
22173
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
22174
|
+
client.httpClient,
|
|
22175
|
+
client.workspaceIdNumber,
|
|
22176
|
+
data.id,
|
|
22177
|
+
data.payload ?? data.data ?? data,
|
|
22178
|
+
void 0
|
|
22179
|
+
]));
|
|
22180
|
+
}
|
|
22181
|
+
},
|
|
22182
|
+
{
|
|
22183
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
22184
|
+
family: "focus",
|
|
22185
|
+
resource: "sharedreports",
|
|
22186
|
+
action: "unshare-shared-report",
|
|
22187
|
+
title: "Unshare Shared Report Sharedreports",
|
|
22188
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
22189
|
+
safety: "delete",
|
|
22190
|
+
destructive: true,
|
|
22191
|
+
cli: {
|
|
22192
|
+
group: ["sharedreports"],
|
|
22193
|
+
command: "unshare-shared-report",
|
|
22194
|
+
interactive: "default"
|
|
22195
|
+
},
|
|
22196
|
+
mcp: { entityTool: "sharedreports" },
|
|
22197
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22198
|
+
execute: (input, { client }) => {
|
|
22199
|
+
const data = input;
|
|
22200
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22201
|
+
client.httpClient,
|
|
22202
|
+
client.workspaceIdNumber,
|
|
22203
|
+
data.id,
|
|
22204
|
+
void 0
|
|
22205
|
+
]));
|
|
22206
|
+
}
|
|
22207
|
+
},
|
|
22208
|
+
{
|
|
22209
|
+
id: "focus.statuses.create-status",
|
|
22210
|
+
family: "focus",
|
|
22211
|
+
resource: "statuses",
|
|
22212
|
+
action: "create-status",
|
|
22213
|
+
title: "Create Status Statuses",
|
|
22214
|
+
description: "Create Status Statuses.",
|
|
21463
22215
|
safety: "create",
|
|
21464
22216
|
destructive: false,
|
|
21465
22217
|
cli: {
|
|
@@ -22495,6 +23247,37 @@ const generatedFocusOperations = [
|
|
|
22495
23247
|
return client.createTask(data);
|
|
22496
23248
|
}
|
|
22497
23249
|
},
|
|
23250
|
+
{
|
|
23251
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
23252
|
+
family: "focus",
|
|
23253
|
+
resource: "tasks",
|
|
23254
|
+
action: "create-recurring-occurrence",
|
|
23255
|
+
title: "Create Recurring Occurrence Tasks",
|
|
23256
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
23257
|
+
safety: "create",
|
|
23258
|
+
destructive: false,
|
|
23259
|
+
cli: {
|
|
23260
|
+
group: ["tasks"],
|
|
23261
|
+
command: "create-recurring-occurrence",
|
|
23262
|
+
interactive: "default"
|
|
23263
|
+
},
|
|
23264
|
+
mcp: { entityTool: "tasks" },
|
|
23265
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23266
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23267
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23268
|
+
}),
|
|
23269
|
+
execute: (input, { client }) => {
|
|
23270
|
+
const data = input;
|
|
23271
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23272
|
+
client.httpClient,
|
|
23273
|
+
client.organizationId,
|
|
23274
|
+
client.workspaceIdNumber,
|
|
23275
|
+
data.task_id,
|
|
23276
|
+
data.return_occurrence,
|
|
23277
|
+
void 0
|
|
23278
|
+
]));
|
|
23279
|
+
}
|
|
23280
|
+
},
|
|
22498
23281
|
{
|
|
22499
23282
|
id: "focus.tasks.delete",
|
|
22500
23283
|
family: "focus",
|
|
@@ -22719,6 +23502,79 @@ const generatedFocusOperations = [
|
|
|
22719
23502
|
]));
|
|
22720
23503
|
}
|
|
22721
23504
|
},
|
|
23505
|
+
{
|
|
23506
|
+
id: "focus.tasks.get-picker-task-children",
|
|
23507
|
+
family: "focus",
|
|
23508
|
+
resource: "tasks",
|
|
23509
|
+
action: "get-picker-task-children",
|
|
23510
|
+
title: "Get Picker Task Children Tasks",
|
|
23511
|
+
description: "Get Picker Task Children Tasks.",
|
|
23512
|
+
safety: "read",
|
|
23513
|
+
destructive: false,
|
|
23514
|
+
cli: {
|
|
23515
|
+
group: ["tasks"],
|
|
23516
|
+
command: "get-picker-task-children",
|
|
23517
|
+
interactive: "hidden"
|
|
23518
|
+
},
|
|
23519
|
+
mcp: { entityTool: "tasks" },
|
|
23520
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23521
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23522
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23523
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23524
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23525
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23526
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23527
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23528
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23529
|
+
}),
|
|
23530
|
+
execute: (input, { client }) => {
|
|
23531
|
+
const data = input;
|
|
23532
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23533
|
+
client.httpClient,
|
|
23534
|
+
client.organizationId,
|
|
23535
|
+
client.workspaceIdNumber,
|
|
23536
|
+
data.parent_task_id,
|
|
23537
|
+
data,
|
|
23538
|
+
void 0
|
|
23539
|
+
]));
|
|
23540
|
+
}
|
|
23541
|
+
},
|
|
23542
|
+
{
|
|
23543
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
23544
|
+
family: "focus",
|
|
23545
|
+
resource: "tasks",
|
|
23546
|
+
action: "get-picker-task-groups",
|
|
23547
|
+
title: "Get Picker Task Groups Tasks",
|
|
23548
|
+
description: "Get Picker Task Groups Tasks.",
|
|
23549
|
+
safety: "read",
|
|
23550
|
+
destructive: false,
|
|
23551
|
+
cli: {
|
|
23552
|
+
group: ["tasks"],
|
|
23553
|
+
command: "get-picker-task-groups",
|
|
23554
|
+
interactive: "hidden"
|
|
23555
|
+
},
|
|
23556
|
+
mcp: { entityTool: "tasks" },
|
|
23557
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23558
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23559
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23560
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23561
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23562
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23563
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23564
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23565
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23566
|
+
}),
|
|
23567
|
+
execute: (input, { client }) => {
|
|
23568
|
+
const data = input;
|
|
23569
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23570
|
+
client.httpClient,
|
|
23571
|
+
client.organizationId,
|
|
23572
|
+
client.workspaceIdNumber,
|
|
23573
|
+
data,
|
|
23574
|
+
void 0
|
|
23575
|
+
]));
|
|
23576
|
+
}
|
|
23577
|
+
},
|
|
22722
23578
|
{
|
|
22723
23579
|
id: "focus.tasks.get-recurring-instances",
|
|
22724
23580
|
family: "focus",
|
|
@@ -22742,9 +23598,13 @@ const generatedFocusOperations = [
|
|
|
22742
23598
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22743
23599
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22744
23600
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23601
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23602
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22745
23603
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22746
23604
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23605
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22747
23606
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23607
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22748
23608
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22749
23609
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22750
23610
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22790,13 +23650,14 @@ const generatedFocusOperations = [
|
|
|
22790
23650
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22791
23651
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22792
23652
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22793
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22794
23653
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22795
23654
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22796
23655
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22797
23656
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22798
23657
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23658
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22799
23659
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23660
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22800
23661
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22801
23662
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22802
23663
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22805,7 +23666,9 @@ const generatedFocusOperations = [
|
|
|
22805
23666
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22806
23667
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22807
23668
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23669
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22808
23670
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23671
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22809
23672
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22810
23673
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22811
23674
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22814,8 +23677,6 @@ const generatedFocusOperations = [
|
|
|
22814
23677
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22815
23678
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22816
23679
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22817
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22818
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22819
23680
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22820
23681
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22821
23682
|
}),
|
|
@@ -22943,8 +23804,10 @@ const generatedFocusOperations = [
|
|
|
22943
23804
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22944
23805
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22945
23806
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23807
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22946
23808
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22947
23809
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23810
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22948
23811
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22949
23812
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22950
23813
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22953,6 +23816,8 @@ const generatedFocusOperations = [
|
|
|
22953
23816
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22954
23817
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22955
23818
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23819
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23820
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22956
23821
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22957
23822
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22958
23823
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22961,7 +23826,8 @@ const generatedFocusOperations = [
|
|
|
22961
23826
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22962
23827
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22963
23828
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22964
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23829
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23830
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22965
23831
|
}),
|
|
22966
23832
|
execute: (input, { client }) => {
|
|
22967
23833
|
const data = input;
|
|
@@ -23003,13 +23869,17 @@ const generatedFocusOperations = [
|
|
|
23003
23869
|
group_id: /* @__PURE__ */ number$2(),
|
|
23004
23870
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23005
23871
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23872
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23006
23873
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23007
23874
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23875
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23008
23876
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23009
23877
|
name: /* @__PURE__ */ unknown$1(),
|
|
23010
23878
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23011
23879
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23012
23880
|
project_id: /* @__PURE__ */ number$2(),
|
|
23881
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23882
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23013
23883
|
source: /* @__PURE__ */ unknown$1(),
|
|
23014
23884
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23015
23885
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23018,7 +23888,8 @@ const generatedFocusOperations = [
|
|
|
23018
23888
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23019
23889
|
team_id: /* @__PURE__ */ number$2(),
|
|
23020
23890
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23021
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23891
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23892
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23022
23893
|
}),
|
|
23023
23894
|
execute: (input, { client }) => {
|
|
23024
23895
|
const data = input;
|
|
@@ -23059,13 +23930,17 @@ const generatedFocusOperations = [
|
|
|
23059
23930
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23060
23931
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
23932
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23933
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
23934
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
23935
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23936
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23064
23937
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23065
23938
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23066
23939
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
23940
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
23941
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23942
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23943
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23069
23944
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
23945
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
23946
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23074,7 +23949,8 @@ const generatedFocusOperations = [
|
|
|
23074
23949
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23075
23950
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
23951
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23952
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23953
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23078
23954
|
}),
|
|
23079
23955
|
execute: (input, { client }) => {
|
|
23080
23956
|
const data = input;
|
|
@@ -23342,484 +24218,21 @@ const generatedFocusOperations = [
|
|
|
23342
24218
|
command: "update-calendar-range",
|
|
23343
24219
|
interactive: "default"
|
|
23344
24220
|
},
|
|
23345
|
-
mcp: { entityTool: "tasks" },
|
|
23346
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23347
|
-
date_from: /* @__PURE__ */ string$1(),
|
|
23348
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23349
|
-
}),
|
|
23350
|
-
execute: (input, { client }) => {
|
|
23351
|
-
const data = input;
|
|
23352
|
-
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23353
|
-
client.httpClient,
|
|
23354
|
-
client.organizationId,
|
|
23355
|
-
client.workspaceIdNumber,
|
|
23356
|
-
data.date_from,
|
|
23357
|
-
data.date_to,
|
|
23358
|
-
void 0
|
|
23359
|
-
]));
|
|
23360
|
-
}
|
|
23361
|
-
},
|
|
23362
|
-
{
|
|
23363
|
-
id: "focus.time-blocks.archive",
|
|
23364
|
-
family: "focus",
|
|
23365
|
-
resource: "time-blocks",
|
|
23366
|
-
action: "archive",
|
|
23367
|
-
title: "Archive Time Blocks",
|
|
23368
|
-
description: "Archive Time Blocks.",
|
|
23369
|
-
safety: "update",
|
|
23370
|
-
destructive: false,
|
|
23371
|
-
cli: {
|
|
23372
|
-
group: ["time-blocks"],
|
|
23373
|
-
command: "archive",
|
|
23374
|
-
interactive: "default"
|
|
23375
|
-
},
|
|
23376
|
-
mcp: { entityTool: "time-blocks" },
|
|
23377
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23378
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23379
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23380
|
-
}),
|
|
23381
|
-
execute: (input, { client }) => {
|
|
23382
|
-
const data = input;
|
|
23383
|
-
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23384
|
-
client.httpClient,
|
|
23385
|
-
client.organizationId,
|
|
23386
|
-
client.workspaceIdNumber,
|
|
23387
|
-
data.task_id,
|
|
23388
|
-
data.time_block_id,
|
|
23389
|
-
void 0
|
|
23390
|
-
]));
|
|
23391
|
-
}
|
|
23392
|
-
},
|
|
23393
|
-
{
|
|
23394
|
-
id: "focus.time-blocks.bulk-create",
|
|
23395
|
-
family: "focus",
|
|
23396
|
-
resource: "time-blocks",
|
|
23397
|
-
action: "bulk-create",
|
|
23398
|
-
title: "Bulk Create Time Blocks",
|
|
23399
|
-
description: "Bulk Create Time Blocks.",
|
|
23400
|
-
safety: "create",
|
|
23401
|
-
destructive: false,
|
|
23402
|
-
cli: {
|
|
23403
|
-
group: ["time-blocks", "bulk"],
|
|
23404
|
-
command: "create",
|
|
23405
|
-
interactive: "default"
|
|
23406
|
-
},
|
|
23407
|
-
mcp: { entityTool: "time-blocks" },
|
|
23408
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23409
|
-
start: apiDateTimeString,
|
|
23410
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23411
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23412
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23413
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23414
|
-
})) }) }),
|
|
23415
|
-
execute: (input, { client }) => {
|
|
23416
|
-
const data = input;
|
|
23417
|
-
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23418
|
-
client.httpClient,
|
|
23419
|
-
client.organizationId,
|
|
23420
|
-
client.workspaceIdNumber,
|
|
23421
|
-
data.payload ?? data.data ?? data,
|
|
23422
|
-
void 0
|
|
23423
|
-
]));
|
|
23424
|
-
}
|
|
23425
|
-
},
|
|
23426
|
-
{
|
|
23427
|
-
id: "focus.time-blocks.bulk-delete",
|
|
23428
|
-
family: "focus",
|
|
23429
|
-
resource: "time-blocks",
|
|
23430
|
-
action: "bulk-delete",
|
|
23431
|
-
title: "Bulk Delete Time Blocks",
|
|
23432
|
-
description: "Bulk Delete Time Blocks.",
|
|
23433
|
-
safety: "delete",
|
|
23434
|
-
destructive: true,
|
|
23435
|
-
cli: {
|
|
23436
|
-
group: ["time-blocks", "bulk"],
|
|
23437
|
-
command: "delete",
|
|
23438
|
-
interactive: "default"
|
|
23439
|
-
},
|
|
23440
|
-
mcp: { entityTool: "time-blocks" },
|
|
23441
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23442
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23443
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23444
|
-
}),
|
|
23445
|
-
execute: (input, { client }) => {
|
|
23446
|
-
const data = input;
|
|
23447
|
-
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23448
|
-
client.httpClient,
|
|
23449
|
-
client.organizationId,
|
|
23450
|
-
client.workspaceIdNumber,
|
|
23451
|
-
data.ids,
|
|
23452
|
-
data.outbound_sync,
|
|
23453
|
-
void 0
|
|
23454
|
-
]));
|
|
23455
|
-
}
|
|
23456
|
-
},
|
|
23457
|
-
{
|
|
23458
|
-
id: "focus.time-blocks.bulk-partial-update",
|
|
23459
|
-
family: "focus",
|
|
23460
|
-
resource: "time-blocks",
|
|
23461
|
-
action: "bulk-partial-update",
|
|
23462
|
-
title: "Bulk Partial Update Time Blocks",
|
|
23463
|
-
description: "Bulk Partial Update Time Blocks.",
|
|
23464
|
-
safety: "update",
|
|
23465
|
-
destructive: false,
|
|
23466
|
-
cli: {
|
|
23467
|
-
group: ["time-blocks", "bulk"],
|
|
23468
|
-
command: "partial-update",
|
|
23469
|
-
interactive: "hidden"
|
|
23470
|
-
},
|
|
23471
|
-
mcp: { entityTool: "time-blocks" },
|
|
23472
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23473
|
-
execute: (input, { client }) => {
|
|
23474
|
-
const data = input;
|
|
23475
|
-
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23476
|
-
client.httpClient,
|
|
23477
|
-
client.organizationId,
|
|
23478
|
-
client.workspaceIdNumber,
|
|
23479
|
-
data.payload ?? data.data ?? data,
|
|
23480
|
-
void 0
|
|
23481
|
-
]));
|
|
23482
|
-
}
|
|
23483
|
-
},
|
|
23484
|
-
{
|
|
23485
|
-
id: "focus.time-blocks.create",
|
|
23486
|
-
family: "focus",
|
|
23487
|
-
resource: "time-blocks",
|
|
23488
|
-
action: "create",
|
|
23489
|
-
title: "Create Time Blocks",
|
|
23490
|
-
description: "Create Time Blocks.",
|
|
23491
|
-
safety: "create",
|
|
23492
|
-
destructive: false,
|
|
23493
|
-
cli: {
|
|
23494
|
-
group: ["time-blocks"],
|
|
23495
|
-
command: "create",
|
|
23496
|
-
interactive: "default"
|
|
23497
|
-
},
|
|
23498
|
-
mcp: { entityTool: "time-blocks" },
|
|
23499
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23500
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23501
|
-
start: apiDateTimeString,
|
|
23502
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23503
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23504
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23505
|
-
}),
|
|
23506
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23507
|
-
}),
|
|
23508
|
-
execute: (input, { client }) => {
|
|
23509
|
-
const data = input;
|
|
23510
|
-
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23511
|
-
client.httpClient,
|
|
23512
|
-
client.organizationId,
|
|
23513
|
-
client.workspaceIdNumber,
|
|
23514
|
-
data.task_id,
|
|
23515
|
-
data.payload ?? data.data ?? data,
|
|
23516
|
-
void 0
|
|
23517
|
-
]));
|
|
23518
|
-
}
|
|
23519
|
-
},
|
|
23520
|
-
{
|
|
23521
|
-
id: "focus.time-blocks.delete",
|
|
23522
|
-
family: "focus",
|
|
23523
|
-
resource: "time-blocks",
|
|
23524
|
-
action: "delete",
|
|
23525
|
-
title: "Delete Time Blocks",
|
|
23526
|
-
description: "Delete Time Blocks.",
|
|
23527
|
-
safety: "delete",
|
|
23528
|
-
destructive: true,
|
|
23529
|
-
cli: {
|
|
23530
|
-
group: ["time-blocks"],
|
|
23531
|
-
command: "delete",
|
|
23532
|
-
interactive: "default"
|
|
23533
|
-
},
|
|
23534
|
-
mcp: { entityTool: "time-blocks" },
|
|
23535
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23536
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23537
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23538
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23539
|
-
}),
|
|
23540
|
-
execute: (input, { client }) => {
|
|
23541
|
-
const data = input;
|
|
23542
|
-
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23543
|
-
client.httpClient,
|
|
23544
|
-
client.organizationId,
|
|
23545
|
-
client.workspaceIdNumber,
|
|
23546
|
-
data.task_id,
|
|
23547
|
-
data.time_block_id,
|
|
23548
|
-
data.outbound_sync,
|
|
23549
|
-
void 0
|
|
23550
|
-
]));
|
|
23551
|
-
}
|
|
23552
|
-
},
|
|
23553
|
-
{
|
|
23554
|
-
id: "focus.time-blocks.get",
|
|
23555
|
-
family: "focus",
|
|
23556
|
-
resource: "time-blocks",
|
|
23557
|
-
action: "get",
|
|
23558
|
-
title: "Get Time Blocks",
|
|
23559
|
-
description: "Get Time Blocks.",
|
|
23560
|
-
safety: "read",
|
|
23561
|
-
destructive: false,
|
|
23562
|
-
cli: {
|
|
23563
|
-
group: ["time-blocks"],
|
|
23564
|
-
command: "get",
|
|
23565
|
-
interactive: "available"
|
|
23566
|
-
},
|
|
23567
|
-
mcp: { entityTool: "time-blocks" },
|
|
23568
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23569
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23570
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23571
|
-
}),
|
|
23572
|
-
execute: (input, { client }) => {
|
|
23573
|
-
const data = input;
|
|
23574
|
-
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23575
|
-
client.httpClient,
|
|
23576
|
-
client.organizationId,
|
|
23577
|
-
client.workspaceIdNumber,
|
|
23578
|
-
data.task_id,
|
|
23579
|
-
data.time_block_id,
|
|
23580
|
-
void 0
|
|
23581
|
-
]));
|
|
23582
|
-
}
|
|
23583
|
-
},
|
|
23584
|
-
{
|
|
23585
|
-
id: "focus.time-blocks.get-range",
|
|
23586
|
-
family: "focus",
|
|
23587
|
-
resource: "time-blocks",
|
|
23588
|
-
action: "get-range",
|
|
23589
|
-
title: "Get Range Time Blocks",
|
|
23590
|
-
description: "Get Range Time Blocks.",
|
|
23591
|
-
safety: "read",
|
|
23592
|
-
destructive: false,
|
|
23593
|
-
cli: {
|
|
23594
|
-
group: ["time-blocks"],
|
|
23595
|
-
command: "get-range",
|
|
23596
|
-
interactive: "hidden"
|
|
23597
|
-
},
|
|
23598
|
-
mcp: { entityTool: "time-blocks" },
|
|
23599
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23600
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23601
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23602
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23603
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23604
|
-
page: /* @__PURE__ */ number$2(),
|
|
23605
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
23606
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23607
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23608
|
-
}),
|
|
23609
|
-
execute: (input, { client }) => {
|
|
23610
|
-
const data = input;
|
|
23611
|
-
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23612
|
-
client.httpClient,
|
|
23613
|
-
client.organizationId,
|
|
23614
|
-
client.workspaceIdNumber,
|
|
23615
|
-
data,
|
|
23616
|
-
void 0
|
|
23617
|
-
]));
|
|
23618
|
-
}
|
|
23619
|
-
},
|
|
23620
|
-
{
|
|
23621
|
-
id: "focus.time-blocks.get-range-stream",
|
|
23622
|
-
family: "focus",
|
|
23623
|
-
resource: "time-blocks",
|
|
23624
|
-
action: "get-range-stream",
|
|
23625
|
-
title: "Get Range Stream Time Blocks",
|
|
23626
|
-
description: "Get Range Stream Time Blocks.",
|
|
23627
|
-
safety: "read",
|
|
23628
|
-
destructive: false,
|
|
23629
|
-
cli: {
|
|
23630
|
-
group: ["time-blocks"],
|
|
23631
|
-
command: "get-range-stream",
|
|
23632
|
-
interactive: "hidden"
|
|
23633
|
-
},
|
|
23634
|
-
mcp: { entityTool: "time-blocks" },
|
|
23635
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23636
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23637
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23638
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23639
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23640
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23641
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23642
|
-
}),
|
|
23643
|
-
execute: (input, { client }) => {
|
|
23644
|
-
const data = input;
|
|
23645
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23646
|
-
client.httpClient,
|
|
23647
|
-
client.organizationId,
|
|
23648
|
-
client.workspaceIdNumber,
|
|
23649
|
-
data,
|
|
23650
|
-
void 0
|
|
23651
|
-
]));
|
|
23652
|
-
}
|
|
23653
|
-
},
|
|
23654
|
-
{
|
|
23655
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
23656
|
-
family: "focus",
|
|
23657
|
-
resource: "time-blocks",
|
|
23658
|
-
action: "get-task-time-blocks",
|
|
23659
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
23660
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
23661
|
-
safety: "read",
|
|
23662
|
-
destructive: false,
|
|
23663
|
-
cli: {
|
|
23664
|
-
group: ["time-blocks"],
|
|
23665
|
-
command: "get-task-time-blocks",
|
|
23666
|
-
interactive: "hidden"
|
|
23667
|
-
},
|
|
23668
|
-
mcp: { entityTool: "time-blocks" },
|
|
23669
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23670
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23671
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23672
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23673
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23674
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23675
|
-
}),
|
|
23676
|
-
execute: (input, { client }) => {
|
|
23677
|
-
const data = input;
|
|
23678
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23679
|
-
client.httpClient,
|
|
23680
|
-
client.organizationId,
|
|
23681
|
-
client.workspaceIdNumber,
|
|
23682
|
-
data.task_id,
|
|
23683
|
-
data,
|
|
23684
|
-
void 0
|
|
23685
|
-
]));
|
|
23686
|
-
}
|
|
23687
|
-
},
|
|
23688
|
-
{
|
|
23689
|
-
id: "focus.time-blocks.partial-update",
|
|
23690
|
-
family: "focus",
|
|
23691
|
-
resource: "time-blocks",
|
|
23692
|
-
action: "partial-update",
|
|
23693
|
-
title: "Partial Update Time Blocks",
|
|
23694
|
-
description: "Partial Update Time Blocks.",
|
|
23695
|
-
safety: "update",
|
|
23696
|
-
destructive: false,
|
|
23697
|
-
cli: {
|
|
23698
|
-
group: ["time-blocks"],
|
|
23699
|
-
command: "partial-update",
|
|
23700
|
-
interactive: "default"
|
|
23701
|
-
},
|
|
23702
|
-
mcp: { entityTool: "time-blocks" },
|
|
23703
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23704
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23705
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23706
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23707
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23708
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23709
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23710
|
-
}),
|
|
23711
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23712
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23713
|
-
}),
|
|
23714
|
-
execute: (input, { client }) => {
|
|
23715
|
-
const data = input;
|
|
23716
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23717
|
-
client.httpClient,
|
|
23718
|
-
client.organizationId,
|
|
23719
|
-
client.workspaceIdNumber,
|
|
23720
|
-
data.task_id,
|
|
23721
|
-
data.time_block_id,
|
|
23722
|
-
data.payload ?? data.data ?? data,
|
|
23723
|
-
void 0
|
|
23724
|
-
]));
|
|
23725
|
-
}
|
|
23726
|
-
},
|
|
23727
|
-
{
|
|
23728
|
-
id: "focus.time-blocks.restore",
|
|
23729
|
-
family: "focus",
|
|
23730
|
-
resource: "time-blocks",
|
|
23731
|
-
action: "restore",
|
|
23732
|
-
title: "Restore Time Blocks",
|
|
23733
|
-
description: "Restore Time Blocks.",
|
|
23734
|
-
safety: "update",
|
|
23735
|
-
destructive: false,
|
|
23736
|
-
cli: {
|
|
23737
|
-
group: ["time-blocks"],
|
|
23738
|
-
command: "restore",
|
|
23739
|
-
interactive: "default"
|
|
23740
|
-
},
|
|
23741
|
-
mcp: { entityTool: "time-blocks" },
|
|
23742
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23743
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23744
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23745
|
-
}),
|
|
23746
|
-
execute: (input, { client }) => {
|
|
23747
|
-
const data = input;
|
|
23748
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23749
|
-
client.httpClient,
|
|
23750
|
-
client.organizationId,
|
|
23751
|
-
client.workspaceIdNumber,
|
|
23752
|
-
data.task_id,
|
|
23753
|
-
data.time_block_id,
|
|
23754
|
-
void 0
|
|
23755
|
-
]));
|
|
23756
|
-
}
|
|
23757
|
-
},
|
|
23758
|
-
{
|
|
23759
|
-
id: "focus.time-blocks.unarchive",
|
|
23760
|
-
family: "focus",
|
|
23761
|
-
resource: "time-blocks",
|
|
23762
|
-
action: "unarchive",
|
|
23763
|
-
title: "Unarchive Time Blocks",
|
|
23764
|
-
description: "Unarchive Time Blocks.",
|
|
23765
|
-
safety: "update",
|
|
23766
|
-
destructive: false,
|
|
23767
|
-
cli: {
|
|
23768
|
-
group: ["time-blocks"],
|
|
23769
|
-
command: "unarchive",
|
|
23770
|
-
interactive: "default"
|
|
23771
|
-
},
|
|
23772
|
-
mcp: { entityTool: "time-blocks" },
|
|
23773
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23774
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23775
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23776
|
-
}),
|
|
23777
|
-
execute: (input, { client }) => {
|
|
23778
|
-
const data = input;
|
|
23779
|
-
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23780
|
-
client.httpClient,
|
|
23781
|
-
client.organizationId,
|
|
23782
|
-
client.workspaceIdNumber,
|
|
23783
|
-
data.task_id,
|
|
23784
|
-
data.time_block_id,
|
|
23785
|
-
void 0
|
|
23786
|
-
]));
|
|
23787
|
-
}
|
|
23788
|
-
},
|
|
23789
|
-
{
|
|
23790
|
-
id: "focus.time-blocks.update",
|
|
23791
|
-
family: "focus",
|
|
23792
|
-
resource: "time-blocks",
|
|
23793
|
-
action: "update",
|
|
23794
|
-
title: "Update Time Blocks",
|
|
23795
|
-
description: "Update Time Blocks.",
|
|
23796
|
-
safety: "update",
|
|
23797
|
-
destructive: false,
|
|
23798
|
-
cli: {
|
|
23799
|
-
group: ["time-blocks"],
|
|
23800
|
-
command: "update",
|
|
23801
|
-
interactive: "default"
|
|
23802
|
-
},
|
|
23803
|
-
mcp: { entityTool: "time-blocks" },
|
|
24221
|
+
mcp: { entityTool: "tasks" },
|
|
23804
24222
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23805
|
-
|
|
23806
|
-
|
|
23807
|
-
|
|
23808
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23809
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23810
|
-
}),
|
|
23811
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23812
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
24223
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
24224
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
24225
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23813
24226
|
}),
|
|
23814
24227
|
execute: (input, { client }) => {
|
|
23815
24228
|
const data = input;
|
|
23816
|
-
return client.runGeneratedRequest("
|
|
24229
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23817
24230
|
client.httpClient,
|
|
23818
24231
|
client.organizationId,
|
|
23819
24232
|
client.workspaceIdNumber,
|
|
23820
|
-
data.
|
|
23821
|
-
data.
|
|
23822
|
-
data.
|
|
24233
|
+
data.date_from,
|
|
24234
|
+
data.date_to,
|
|
24235
|
+
data.skip_provider_refresh,
|
|
23823
24236
|
void 0
|
|
23824
24237
|
]));
|
|
23825
24238
|
}
|
|
@@ -24039,7 +24452,8 @@ const generatedFocusOperations = [
|
|
|
24039
24452
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24040
24453
|
"project",
|
|
24041
24454
|
"task",
|
|
24042
|
-
"description"
|
|
24455
|
+
"description",
|
|
24456
|
+
"tags"
|
|
24043
24457
|
]) })),
|
|
24044
24458
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24045
24459
|
}) }),
|
|
@@ -24069,6 +24483,7 @@ const generatedFocusOperations = [
|
|
|
24069
24483
|
},
|
|
24070
24484
|
mcp: { entityTool: "time-entries" },
|
|
24071
24485
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24486
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24072
24487
|
payload: /* @__PURE__ */ looseObject({
|
|
24073
24488
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24074
24489
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24079,11 +24494,12 @@ const generatedFocusOperations = [
|
|
|
24079
24494
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24080
24495
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24081
24496
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24497
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24082
24498
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24083
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24084
24499
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24085
24500
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24086
24501
|
}),
|
|
24502
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24087
24503
|
task_id: /* @__PURE__ */ number$2()
|
|
24088
24504
|
}),
|
|
24089
24505
|
execute: (input, { client }) => {
|
|
@@ -24094,6 +24510,8 @@ const generatedFocusOperations = [
|
|
|
24094
24510
|
client.workspaceIdNumber,
|
|
24095
24511
|
data.task_id,
|
|
24096
24512
|
data.payload ?? data.data ?? data,
|
|
24513
|
+
data.from_recurring_task_id,
|
|
24514
|
+
data.return_occurrence,
|
|
24097
24515
|
void 0
|
|
24098
24516
|
]));
|
|
24099
24517
|
}
|
|
@@ -24113,21 +24531,25 @@ const generatedFocusOperations = [
|
|
|
24113
24531
|
interactive: "default"
|
|
24114
24532
|
},
|
|
24115
24533
|
mcp: { entityTool: "time-entries" },
|
|
24116
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24117
|
-
|
|
24118
|
-
|
|
24119
|
-
|
|
24120
|
-
|
|
24121
|
-
|
|
24122
|
-
|
|
24123
|
-
|
|
24124
|
-
|
|
24125
|
-
|
|
24126
|
-
|
|
24127
|
-
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24534
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24535
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24536
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24537
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24538
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24539
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24540
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24541
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24542
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24543
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24544
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24545
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24546
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24547
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24548
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24549
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24550
|
+
}),
|
|
24551
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24552
|
+
}),
|
|
24131
24553
|
execute: (input, { client }) => {
|
|
24132
24554
|
const data = input;
|
|
24133
24555
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24135,6 +24557,8 @@ const generatedFocusOperations = [
|
|
|
24135
24557
|
client.organizationId,
|
|
24136
24558
|
client.workspaceIdNumber,
|
|
24137
24559
|
data.payload ?? data.data ?? data,
|
|
24560
|
+
data.from_recurring_task_id,
|
|
24561
|
+
data.return_occurrence,
|
|
24138
24562
|
void 0
|
|
24139
24563
|
]));
|
|
24140
24564
|
}
|
|
@@ -24154,7 +24578,11 @@ const generatedFocusOperations = [
|
|
|
24154
24578
|
interactive: "default"
|
|
24155
24579
|
},
|
|
24156
24580
|
mcp: { entityTool: "time-entries" },
|
|
24157
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24581
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24582
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24583
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24584
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24585
|
+
}),
|
|
24158
24586
|
execute: (input, { client }) => {
|
|
24159
24587
|
const data = input;
|
|
24160
24588
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24162,6 +24590,8 @@ const generatedFocusOperations = [
|
|
|
24162
24590
|
client.organizationId,
|
|
24163
24591
|
client.workspaceIdNumber,
|
|
24164
24592
|
data.time_entry_id,
|
|
24593
|
+
data.from_recurring_task_id,
|
|
24594
|
+
data.return_occurrence,
|
|
24165
24595
|
void 0
|
|
24166
24596
|
]));
|
|
24167
24597
|
}
|
|
@@ -24242,6 +24672,7 @@ const generatedFocusOperations = [
|
|
|
24242
24672
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24243
24673
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24244
24674
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24675
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24245
24676
|
status_id: /* @__PURE__ */ number$2(),
|
|
24246
24677
|
task_id: /* @__PURE__ */ number$2(),
|
|
24247
24678
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24257,33 +24688,6 @@ const generatedFocusOperations = [
|
|
|
24257
24688
|
]));
|
|
24258
24689
|
}
|
|
24259
24690
|
},
|
|
24260
|
-
{
|
|
24261
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24262
|
-
family: "focus",
|
|
24263
|
-
resource: "time-entries",
|
|
24264
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
24265
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24266
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24267
|
-
safety: "read",
|
|
24268
|
-
destructive: false,
|
|
24269
|
-
cli: {
|
|
24270
|
-
group: ["time-entries"],
|
|
24271
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
24272
|
-
interactive: "available"
|
|
24273
|
-
},
|
|
24274
|
-
mcp: { entityTool: "time-entries" },
|
|
24275
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24276
|
-
execute: (input, { client }) => {
|
|
24277
|
-
const data = input;
|
|
24278
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24279
|
-
client.httpClient,
|
|
24280
|
-
client.organizationId,
|
|
24281
|
-
client.workspaceIdNumber,
|
|
24282
|
-
data,
|
|
24283
|
-
void 0
|
|
24284
|
-
]));
|
|
24285
|
-
}
|
|
24286
|
-
},
|
|
24287
24691
|
{
|
|
24288
24692
|
id: "focus.time-entries.get-task-time-entries",
|
|
24289
24693
|
family: "focus",
|
|
@@ -24305,7 +24709,6 @@ const generatedFocusOperations = [
|
|
|
24305
24709
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24306
24710
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24307
24711
|
task_id: /* @__PURE__ */ number$2(),
|
|
24308
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24309
24712
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24310
24713
|
}),
|
|
24311
24714
|
execute: (input, { client }) => {
|
|
@@ -24418,12 +24821,14 @@ const generatedFocusOperations = [
|
|
|
24418
24821
|
},
|
|
24419
24822
|
mcp: { entityTool: "time-entries" },
|
|
24420
24823
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24824
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24421
24825
|
payload: /* @__PURE__ */ looseObject({
|
|
24422
24826
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24423
24827
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24424
24828
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24425
24829
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24426
24830
|
}),
|
|
24831
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24427
24832
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24428
24833
|
}),
|
|
24429
24834
|
execute: (input, { client }) => {
|
|
@@ -24434,6 +24839,8 @@ const generatedFocusOperations = [
|
|
|
24434
24839
|
client.workspaceIdNumber,
|
|
24435
24840
|
data.time_entry_id,
|
|
24436
24841
|
data.payload ?? data.data ?? data,
|
|
24842
|
+
data.from_recurring_task_id,
|
|
24843
|
+
data.return_occurrence,
|
|
24437
24844
|
void 0
|
|
24438
24845
|
]));
|
|
24439
24846
|
}
|
|
@@ -24691,6 +25098,7 @@ const generatedFocusOperations = [
|
|
|
24691
25098
|
},
|
|
24692
25099
|
mcp: { entityTool: "time-entries" },
|
|
24693
25100
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25101
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24694
25102
|
payload: /* @__PURE__ */ looseObject({
|
|
24695
25103
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24696
25104
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24700,9 +25108,9 @@ const generatedFocusOperations = [
|
|
|
24700
25108
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24701
25109
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24702
25110
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24703
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24704
25111
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24705
25112
|
}),
|
|
25113
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24706
25114
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24707
25115
|
}),
|
|
24708
25116
|
execute: (input, { client }) => {
|
|
@@ -24713,6 +25121,8 @@ const generatedFocusOperations = [
|
|
|
24713
25121
|
client.workspaceIdNumber,
|
|
24714
25122
|
data.time_entry_id,
|
|
24715
25123
|
data.payload ?? data.data ?? data,
|
|
25124
|
+
data.from_recurring_task_id,
|
|
25125
|
+
data.return_occurrence,
|
|
24716
25126
|
void 0
|
|
24717
25127
|
]));
|
|
24718
25128
|
}
|
|
@@ -24777,6 +25187,118 @@ const generatedFocusOperations = [
|
|
|
24777
25187
|
]));
|
|
24778
25188
|
}
|
|
24779
25189
|
},
|
|
25190
|
+
{
|
|
25191
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
25192
|
+
family: "focus",
|
|
25193
|
+
resource: "time-off",
|
|
25194
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
25195
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
25196
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
25197
|
+
safety: "read",
|
|
25198
|
+
destructive: false,
|
|
25199
|
+
cli: {
|
|
25200
|
+
group: ["time-off"],
|
|
25201
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
25202
|
+
interactive: "hidden"
|
|
25203
|
+
},
|
|
25204
|
+
mcp: { entityTool: "time-off" },
|
|
25205
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25206
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
25207
|
+
page: /* @__PURE__ */ number$2(),
|
|
25208
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
25209
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
25210
|
+
year: /* @__PURE__ */ unknown$1()
|
|
25211
|
+
}),
|
|
25212
|
+
execute: (input, { client }) => {
|
|
25213
|
+
const data = input;
|
|
25214
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
25215
|
+
client.httpClient,
|
|
25216
|
+
client.organizationId,
|
|
25217
|
+
data.user_id,
|
|
25218
|
+
data,
|
|
25219
|
+
void 0
|
|
25220
|
+
]));
|
|
25221
|
+
}
|
|
25222
|
+
},
|
|
25223
|
+
{
|
|
25224
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
25225
|
+
family: "focus",
|
|
25226
|
+
resource: "time-off",
|
|
25227
|
+
action: "get-timeoff-balances-for-user",
|
|
25228
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
25229
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
25230
|
+
safety: "read",
|
|
25231
|
+
destructive: false,
|
|
25232
|
+
cli: {
|
|
25233
|
+
group: ["time-off"],
|
|
25234
|
+
command: "get-timeoff-balances-for-user",
|
|
25235
|
+
interactive: "available"
|
|
25236
|
+
},
|
|
25237
|
+
mcp: { entityTool: "time-off" },
|
|
25238
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25239
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25240
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
25241
|
+
user_id: /* @__PURE__ */ number$2()
|
|
25242
|
+
}),
|
|
25243
|
+
execute: (input, { client }) => {
|
|
25244
|
+
const data = input;
|
|
25245
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
25246
|
+
client.httpClient,
|
|
25247
|
+
client.organizationId,
|
|
25248
|
+
data.user_id,
|
|
25249
|
+
data,
|
|
25250
|
+
void 0
|
|
25251
|
+
]));
|
|
25252
|
+
}
|
|
25253
|
+
},
|
|
25254
|
+
{
|
|
25255
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
25256
|
+
family: "focus",
|
|
25257
|
+
resource: "time-off",
|
|
25258
|
+
action: "get-timeoff-categories",
|
|
25259
|
+
title: "Get Timeoff Categories Time Off",
|
|
25260
|
+
description: "Get Timeoff Categories Time Off.",
|
|
25261
|
+
safety: "read",
|
|
25262
|
+
destructive: false,
|
|
25263
|
+
cli: {
|
|
25264
|
+
group: ["time-off"],
|
|
25265
|
+
command: "get-timeoff-categories",
|
|
25266
|
+
interactive: "hidden"
|
|
25267
|
+
},
|
|
25268
|
+
mcp: { entityTool: "time-off" },
|
|
25269
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25270
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
25271
|
+
client.httpClient,
|
|
25272
|
+
client.organizationId,
|
|
25273
|
+
void 0
|
|
25274
|
+
]))
|
|
25275
|
+
},
|
|
25276
|
+
{
|
|
25277
|
+
id: "focus.time-off.get-timeoff-category",
|
|
25278
|
+
family: "focus",
|
|
25279
|
+
resource: "time-off",
|
|
25280
|
+
action: "get-timeoff-category",
|
|
25281
|
+
title: "Get Timeoff Category Time Off",
|
|
25282
|
+
description: "Get Timeoff Category Time Off.",
|
|
25283
|
+
safety: "read",
|
|
25284
|
+
destructive: false,
|
|
25285
|
+
cli: {
|
|
25286
|
+
group: ["time-off"],
|
|
25287
|
+
command: "get-timeoff-category",
|
|
25288
|
+
interactive: "available"
|
|
25289
|
+
},
|
|
25290
|
+
mcp: { entityTool: "time-off" },
|
|
25291
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
25292
|
+
execute: (input, { client }) => {
|
|
25293
|
+
const data = input;
|
|
25294
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
25295
|
+
client.httpClient,
|
|
25296
|
+
client.organizationId,
|
|
25297
|
+
data.category_id,
|
|
25298
|
+
void 0
|
|
25299
|
+
]));
|
|
25300
|
+
}
|
|
25301
|
+
},
|
|
24780
25302
|
{
|
|
24781
25303
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24782
25304
|
family: "focus",
|
|
@@ -25228,6 +25750,40 @@ const generatedFocusOperations = [
|
|
|
25228
25750
|
]));
|
|
25229
25751
|
}
|
|
25230
25752
|
},
|
|
25753
|
+
{
|
|
25754
|
+
id: "focus.timesheets.get-status-counts",
|
|
25755
|
+
family: "focus",
|
|
25756
|
+
resource: "timesheets",
|
|
25757
|
+
action: "get-status-counts",
|
|
25758
|
+
title: "Get Status Counts Timesheets",
|
|
25759
|
+
description: "Get Status Counts Timesheets.",
|
|
25760
|
+
safety: "read",
|
|
25761
|
+
destructive: false,
|
|
25762
|
+
cli: {
|
|
25763
|
+
group: ["timesheets"],
|
|
25764
|
+
command: "get-status-counts",
|
|
25765
|
+
interactive: "hidden"
|
|
25766
|
+
},
|
|
25767
|
+
mcp: { entityTool: "timesheets" },
|
|
25768
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25769
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25770
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
25771
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
25772
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
25773
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25774
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25775
|
+
}),
|
|
25776
|
+
execute: (input, { client }) => {
|
|
25777
|
+
const data = input;
|
|
25778
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25779
|
+
client.httpClient,
|
|
25780
|
+
client.organizationId,
|
|
25781
|
+
client.workspaceIdNumber,
|
|
25782
|
+
data,
|
|
25783
|
+
void 0
|
|
25784
|
+
]));
|
|
25785
|
+
}
|
|
25786
|
+
},
|
|
25231
25787
|
{
|
|
25232
25788
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25233
25789
|
family: "focus",
|
|
@@ -25777,6 +26333,33 @@ const generatedFocusOperations = [
|
|
|
25777
26333
|
]));
|
|
25778
26334
|
}
|
|
25779
26335
|
},
|
|
26336
|
+
{
|
|
26337
|
+
id: "focus.track-team-invites.post",
|
|
26338
|
+
family: "focus",
|
|
26339
|
+
resource: "track-team-invites",
|
|
26340
|
+
action: "post",
|
|
26341
|
+
title: "Post Track Team Invites",
|
|
26342
|
+
description: "Post Track Team Invites.",
|
|
26343
|
+
safety: "create",
|
|
26344
|
+
destructive: false,
|
|
26345
|
+
cli: {
|
|
26346
|
+
group: ["track-team-invites"],
|
|
26347
|
+
command: "post",
|
|
26348
|
+
interactive: "default"
|
|
26349
|
+
},
|
|
26350
|
+
mcp: { entityTool: "track-team-invites" },
|
|
26351
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26352
|
+
execute: (input, { client }) => {
|
|
26353
|
+
const data = input;
|
|
26354
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26355
|
+
client.httpClient,
|
|
26356
|
+
client.organizationId,
|
|
26357
|
+
client.workspaceIdNumber,
|
|
26358
|
+
data.payload ?? data.data ?? data,
|
|
26359
|
+
void 0
|
|
26360
|
+
]));
|
|
26361
|
+
}
|
|
26362
|
+
},
|
|
25780
26363
|
{
|
|
25781
26364
|
id: "focus.users.list",
|
|
25782
26365
|
family: "focus",
|
|
@@ -25798,6 +26381,56 @@ const generatedFocusOperations = [
|
|
|
25798
26381
|
return client.listOrgUsers(data);
|
|
25799
26382
|
}
|
|
25800
26383
|
},
|
|
26384
|
+
{
|
|
26385
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26386
|
+
family: "focus",
|
|
26387
|
+
resource: "users",
|
|
26388
|
+
action: "settings-email-unsubscribe",
|
|
26389
|
+
title: "Settings Email Unsubscribe Users",
|
|
26390
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26391
|
+
safety: "update",
|
|
26392
|
+
destructive: false,
|
|
26393
|
+
cli: {
|
|
26394
|
+
group: ["users", "settings"],
|
|
26395
|
+
command: "email-unsubscribe",
|
|
26396
|
+
interactive: "default"
|
|
26397
|
+
},
|
|
26398
|
+
mcp: { entityTool: "users" },
|
|
26399
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26400
|
+
execute: (input, { client }) => {
|
|
26401
|
+
const data = input;
|
|
26402
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26403
|
+
client.httpClient,
|
|
26404
|
+
data.token,
|
|
26405
|
+
void 0
|
|
26406
|
+
]));
|
|
26407
|
+
}
|
|
26408
|
+
},
|
|
26409
|
+
{
|
|
26410
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26411
|
+
family: "focus",
|
|
26412
|
+
resource: "users",
|
|
26413
|
+
action: "settings-email-unsubscribe-page",
|
|
26414
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26415
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26416
|
+
safety: "read",
|
|
26417
|
+
destructive: false,
|
|
26418
|
+
cli: {
|
|
26419
|
+
group: ["users", "settings"],
|
|
26420
|
+
command: "email-unsubscribe-page",
|
|
26421
|
+
interactive: "available"
|
|
26422
|
+
},
|
|
26423
|
+
mcp: { entityTool: "users" },
|
|
26424
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26425
|
+
execute: (input, { client }) => {
|
|
26426
|
+
const data = input;
|
|
26427
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26428
|
+
client.httpClient,
|
|
26429
|
+
data.token,
|
|
26430
|
+
void 0
|
|
26431
|
+
]));
|
|
26432
|
+
}
|
|
26433
|
+
},
|
|
25801
26434
|
{
|
|
25802
26435
|
id: "focus.users.settings-list",
|
|
25803
26436
|
family: "focus",
|
|
@@ -25859,6 +26492,9 @@ const generatedFocusOperations = [
|
|
|
25859
26492
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25860
26493
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25861
26494
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26495
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26496
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26497
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25862
26498
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25863
26499
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25864
26500
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26057,6 +26693,38 @@ const generatedFocusOperations = [
|
|
|
26057
26693
|
]));
|
|
26058
26694
|
}
|
|
26059
26695
|
},
|
|
26696
|
+
{
|
|
26697
|
+
id: "focus.working-hours.replace-working-hours-for-users",
|
|
26698
|
+
family: "focus",
|
|
26699
|
+
resource: "working-hours",
|
|
26700
|
+
action: "replace-working-hours-for-users",
|
|
26701
|
+
title: "Replace Working Hours For Users Working Hours",
|
|
26702
|
+
description: "Replace Working Hours For Users Working Hours.",
|
|
26703
|
+
safety: "update",
|
|
26704
|
+
destructive: false,
|
|
26705
|
+
cli: {
|
|
26706
|
+
group: ["working-hours"],
|
|
26707
|
+
command: "replace-working-hours-for-users",
|
|
26708
|
+
interactive: "default"
|
|
26709
|
+
},
|
|
26710
|
+
mcp: { entityTool: "working-hours" },
|
|
26711
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
26712
|
+
schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
26713
|
+
working_hours: /* @__PURE__ */ number$2(),
|
|
26714
|
+
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
26715
|
+
})),
|
|
26716
|
+
user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
26717
|
+
}) }),
|
|
26718
|
+
execute: (input, { client }) => {
|
|
26719
|
+
const data = input;
|
|
26720
|
+
return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
|
|
26721
|
+
client.httpClient,
|
|
26722
|
+
client.organizationId,
|
|
26723
|
+
data.payload ?? data.data ?? data,
|
|
26724
|
+
void 0
|
|
26725
|
+
]));
|
|
26726
|
+
}
|
|
26727
|
+
},
|
|
26060
26728
|
{
|
|
26061
26729
|
id: "focus.working-hours.update-for-user",
|
|
26062
26730
|
family: "focus",
|
|
@@ -27914,4 +28582,4 @@ Common commands:
|
|
|
27914
28582
|
//#endregion
|
|
27915
28583
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27916
28584
|
|
|
27917
|
-
//# sourceMappingURL=program-
|
|
28585
|
+
//# sourceMappingURL=program-C_81aiOa.js.map
|