@togglhq/cli 1.11.91 → 1.11.92
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-UlrkSWvT.js → program-DZRPb9Vl.js} +1616 -948
- package/build/program.js +1 -1
- package/package.json +1 -1
|
@@ -7254,6 +7254,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
7254
7254
|
name: /* @__PURE__ */ string(),
|
|
7255
7255
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
7256
7256
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7257
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7257
7258
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7258
7259
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7259
7260
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -7340,6 +7341,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
7340
7341
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7341
7342
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7342
7343
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7344
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7343
7345
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7344
7346
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7345
7347
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -7401,6 +7403,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7401
7403
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7402
7404
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7403
7405
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7406
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7404
7407
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7405
7408
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7406
7409
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -7561,6 +7564,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7561
7564
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7562
7565
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7563
7566
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7567
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7568
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7564
7569
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7565
7570
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7566
7571
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7575,21 +7580,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
7575
7580
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7576
7581
|
});
|
|
7577
7582
|
const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
|
|
7578
|
-
aggregation: /* @__PURE__ */ object({
|
|
7583
|
+
aggregation: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7579
7584
|
function: /* @__PURE__ */ string(),
|
|
7580
7585
|
property: /* @__PURE__ */ string()
|
|
7581
|
-
}),
|
|
7582
|
-
conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
|
|
7583
|
-
operator: /* @__PURE__ */ string(),
|
|
7584
|
-
property: /* @__PURE__ */ string(),
|
|
7585
|
-
value: /* @__PURE__ */ unknown()
|
|
7586
|
+
})),
|
|
7587
|
+
conditions: /* @__PURE__ */ optional(/* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema)),
|
|
7588
|
+
operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7589
|
+
property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7590
|
+
value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
|
|
7586
7591
|
});
|
|
7587
7592
|
const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
|
|
7588
7593
|
const DtoFilterRequestSchema = /* @__PURE__ */ object({
|
|
7589
|
-
conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
|
|
7590
|
-
operator: /* @__PURE__ */ string(),
|
|
7591
|
-
property: /* @__PURE__ */ string(),
|
|
7592
|
-
value: /* @__PURE__ */ unknown()
|
|
7594
|
+
conditions: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema))),
|
|
7595
|
+
operator: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7596
|
+
property: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7597
|
+
value: /* @__PURE__ */ optional(/* @__PURE__ */ unknown())
|
|
7593
7598
|
});
|
|
7594
7599
|
const ClientSchema = /* @__PURE__ */ object({
|
|
7595
7600
|
active: /* @__PURE__ */ boolean(),
|
|
@@ -7646,8 +7651,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7646
7651
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7647
7652
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7648
7653
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7654
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7649
7655
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
7650
7656
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7657
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7651
7658
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
7652
7659
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7653
7660
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -7703,6 +7710,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
7703
7710
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7704
7711
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7705
7712
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7713
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
7714
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
7706
7715
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7707
7716
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7708
7717
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -7875,8 +7884,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7875
7884
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7876
7885
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
7877
7886
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
7878
|
-
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7879
|
-
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7880
7887
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7881
7888
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7882
7889
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -7933,6 +7940,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7933
7940
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7934
7941
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7935
7942
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7943
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
7936
7944
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7937
7945
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7938
7946
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7969,6 +7977,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
7969
7977
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7970
7978
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7971
7979
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
7980
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
7972
7981
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7973
7982
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
7974
7983
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -7989,7 +7998,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
7989
7998
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7990
7999
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
7991
8000
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7992
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7993
8001
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7994
8002
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
7995
8003
|
});
|
|
@@ -8018,8 +8026,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
8018
8026
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
8019
8027
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
8020
8028
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
8021
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8022
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8029
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
8023
8030
|
});
|
|
8024
8031
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
8025
8032
|
//#endregion
|
|
@@ -9893,7 +9900,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9893
9900
|
})
|
|
9894
9901
|
}).json();
|
|
9895
9902
|
}
|
|
9896
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9903
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
9897
9904
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9898
9905
|
signal,
|
|
9899
9906
|
searchParams: buildSearchParams$2({
|
|
@@ -9914,6 +9921,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9914
9921
|
include_rates,
|
|
9915
9922
|
pinned_ids,
|
|
9916
9923
|
has_group,
|
|
9924
|
+
track_without_focus,
|
|
9917
9925
|
cf_filter,
|
|
9918
9926
|
include_custom_fields,
|
|
9919
9927
|
include_calendar_integration
|
|
@@ -10015,10 +10023,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10015
10023
|
}
|
|
10016
10024
|
//#endregion
|
|
10017
10025
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10018
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10026
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10019
10027
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10020
10028
|
signal,
|
|
10021
10029
|
searchParams: buildSearchParams$2({
|
|
10030
|
+
include_task_counts,
|
|
10031
|
+
include_picker_parent_group_counts,
|
|
10032
|
+
task_archived,
|
|
10033
|
+
task_recurring,
|
|
10034
|
+
task_state,
|
|
10035
|
+
task_source,
|
|
10036
|
+
task_assignee_user_id,
|
|
10037
|
+
task_assignee_team_id,
|
|
10038
|
+
task_include_unassigned,
|
|
10039
|
+
task_name,
|
|
10022
10040
|
page,
|
|
10023
10041
|
per_page,
|
|
10024
10042
|
order_by,
|
|
@@ -10268,7 +10286,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10268
10286
|
}
|
|
10269
10287
|
//#endregion
|
|
10270
10288
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10271
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries,
|
|
10289
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10272
10290
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10273
10291
|
signal,
|
|
10274
10292
|
searchParams: buildSearchParams$2({
|
|
@@ -10281,7 +10299,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10281
10299
|
toggl_user_id,
|
|
10282
10300
|
name,
|
|
10283
10301
|
has_time_entries,
|
|
10284
|
-
has_time_blocks,
|
|
10285
10302
|
has_dates,
|
|
10286
10303
|
private: private_,
|
|
10287
10304
|
archived,
|
|
@@ -10304,10 +10321,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10304
10321
|
priority,
|
|
10305
10322
|
is_priority,
|
|
10306
10323
|
state,
|
|
10307
|
-
timeblock_start_from,
|
|
10308
|
-
timeblock_start_until,
|
|
10309
|
-
time_block_id,
|
|
10310
|
-
time_block_completed,
|
|
10311
10324
|
team_id,
|
|
10312
10325
|
assignee_team_id,
|
|
10313
10326
|
assignee_user_id,
|
|
@@ -10319,7 +10332,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10319
10332
|
include_assignees,
|
|
10320
10333
|
include_parent_matches,
|
|
10321
10334
|
disable_aggregations,
|
|
10322
|
-
cf_filter
|
|
10335
|
+
cf_filter,
|
|
10336
|
+
recurring_occurrences_after,
|
|
10337
|
+
max_recurring_occurrences_after,
|
|
10338
|
+
recurring_task_read,
|
|
10339
|
+
include_projected_occurrences
|
|
10323
10340
|
})
|
|
10324
10341
|
}).json();
|
|
10325
10342
|
}
|
|
@@ -10394,16 +10411,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10394
10411
|
})
|
|
10395
10412
|
}).json();
|
|
10396
10413
|
}
|
|
10397
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10414
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10398
10415
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10399
10416
|
signal,
|
|
10400
10417
|
searchParams: buildSearchParams$2({
|
|
10401
10418
|
date_from,
|
|
10402
|
-
date_to
|
|
10419
|
+
date_to,
|
|
10420
|
+
skip_provider_refresh
|
|
10421
|
+
})
|
|
10422
|
+
}).json();
|
|
10423
|
+
}
|
|
10424
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10425
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10426
|
+
signal,
|
|
10427
|
+
searchParams: buildSearchParams$2({
|
|
10428
|
+
project_id,
|
|
10429
|
+
without_project,
|
|
10430
|
+
pinned_only,
|
|
10431
|
+
include_unassigned,
|
|
10432
|
+
search,
|
|
10433
|
+
only_me,
|
|
10434
|
+
page,
|
|
10435
|
+
per_page
|
|
10436
|
+
})
|
|
10437
|
+
}).json();
|
|
10438
|
+
}
|
|
10439
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10440
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10441
|
+
signal,
|
|
10442
|
+
searchParams: buildSearchParams$2({
|
|
10443
|
+
project_id,
|
|
10444
|
+
without_project,
|
|
10445
|
+
include_unassigned,
|
|
10446
|
+
search,
|
|
10447
|
+
only_me,
|
|
10448
|
+
page,
|
|
10449
|
+
per_page
|
|
10403
10450
|
})
|
|
10404
10451
|
}).json();
|
|
10405
10452
|
}
|
|
10406
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10453
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10407
10454
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10408
10455
|
signal,
|
|
10409
10456
|
searchParams: buildSearchParams$2({
|
|
@@ -10419,11 +10466,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10419
10466
|
assignee_team_id,
|
|
10420
10467
|
assignee_user_id,
|
|
10421
10468
|
tag_id,
|
|
10422
|
-
include_assignees
|
|
10469
|
+
include_assignees,
|
|
10470
|
+
recurring_occurrences_after,
|
|
10471
|
+
max_recurring_occurrences_after,
|
|
10472
|
+
recurring_task_read,
|
|
10473
|
+
include_projected_occurrences
|
|
10423
10474
|
})
|
|
10424
10475
|
}).json();
|
|
10425
10476
|
}
|
|
10426
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries,
|
|
10477
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10427
10478
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10428
10479
|
signal,
|
|
10429
10480
|
searchParams: buildSearchParams$2({
|
|
@@ -10435,7 +10486,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10435
10486
|
name,
|
|
10436
10487
|
include_parent_matches,
|
|
10437
10488
|
has_time_entries,
|
|
10438
|
-
has_time_blocks,
|
|
10439
10489
|
has_dates,
|
|
10440
10490
|
private: private_,
|
|
10441
10491
|
archived,
|
|
@@ -10458,8 +10508,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10458
10508
|
priority,
|
|
10459
10509
|
is_priority,
|
|
10460
10510
|
state,
|
|
10461
|
-
time_block_id,
|
|
10462
|
-
time_block_completed,
|
|
10463
10511
|
team_id,
|
|
10464
10512
|
assignee_team_id,
|
|
10465
10513
|
assignee_user_id,
|
|
@@ -10468,7 +10516,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10468
10516
|
recurring_task_ids,
|
|
10469
10517
|
client_id,
|
|
10470
10518
|
include_assignees,
|
|
10471
|
-
cf_filter
|
|
10519
|
+
cf_filter,
|
|
10520
|
+
recurring_occurrences_after,
|
|
10521
|
+
max_recurring_occurrences_after,
|
|
10522
|
+
recurring_task_read,
|
|
10523
|
+
include_projected_occurrences
|
|
10472
10524
|
})
|
|
10473
10525
|
}).json();
|
|
10474
10526
|
}
|
|
@@ -10523,6 +10575,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10523
10575
|
})
|
|
10524
10576
|
}).json();
|
|
10525
10577
|
}
|
|
10578
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10579
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10580
|
+
signal,
|
|
10581
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10582
|
+
}).json();
|
|
10583
|
+
}
|
|
10526
10584
|
async function getTaskWithParentsClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, status_id, archived, source, team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
10527
10585
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10528
10586
|
signal,
|
|
@@ -10548,7 +10606,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
10548
10606
|
}
|
|
10549
10607
|
//#endregion
|
|
10550
10608
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
10551
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
10609
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
10552
10610
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10553
10611
|
signal,
|
|
10554
10612
|
searchParams: buildSearchParams$2({
|
|
@@ -10556,21 +10614,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10556
10614
|
per_page,
|
|
10557
10615
|
order_by,
|
|
10558
10616
|
type,
|
|
10559
|
-
archived
|
|
10560
|
-
time_block_id
|
|
10617
|
+
archived
|
|
10561
10618
|
})
|
|
10562
10619
|
}).json();
|
|
10563
10620
|
}
|
|
10564
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10621
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10565
10622
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10566
10623
|
signal,
|
|
10567
|
-
json: data
|
|
10624
|
+
json: data,
|
|
10625
|
+
searchParams: buildSearchParams$2({
|
|
10626
|
+
from_recurring_task_id,
|
|
10627
|
+
return_occurrence
|
|
10628
|
+
})
|
|
10568
10629
|
}).json();
|
|
10569
10630
|
}
|
|
10570
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10631
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10571
10632
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10572
10633
|
signal,
|
|
10573
|
-
json: data
|
|
10634
|
+
json: data,
|
|
10635
|
+
searchParams: buildSearchParams$2({
|
|
10636
|
+
from_recurring_task_id,
|
|
10637
|
+
return_occurrence
|
|
10638
|
+
})
|
|
10574
10639
|
}).json();
|
|
10575
10640
|
}
|
|
10576
10641
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10621,7 +10686,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10621
10686
|
json: data
|
|
10622
10687
|
}).json();
|
|
10623
10688
|
}
|
|
10624
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10689
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
10625
10690
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10626
10691
|
signal,
|
|
10627
10692
|
searchParams: buildSearchParams$2({
|
|
@@ -10629,6 +10694,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10629
10694
|
date_to,
|
|
10630
10695
|
task_id,
|
|
10631
10696
|
status_id,
|
|
10697
|
+
project_id,
|
|
10632
10698
|
type,
|
|
10633
10699
|
order_by,
|
|
10634
10700
|
archived,
|
|
@@ -10643,28 +10709,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
10643
10709
|
json: data
|
|
10644
10710
|
}).json();
|
|
10645
10711
|
}
|
|
10646
|
-
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
10647
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
10648
|
-
signal,
|
|
10649
|
-
searchParams: buildSearchParams$2({ time_block_id })
|
|
10650
|
-
}).json();
|
|
10651
|
-
}
|
|
10652
10712
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10653
10713
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10654
10714
|
}
|
|
10655
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10715
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10656
10716
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10657
10717
|
signal,
|
|
10658
|
-
json: data
|
|
10718
|
+
json: data,
|
|
10719
|
+
searchParams: buildSearchParams$2({
|
|
10720
|
+
from_recurring_task_id,
|
|
10721
|
+
return_occurrence
|
|
10722
|
+
})
|
|
10659
10723
|
}).json();
|
|
10660
10724
|
}
|
|
10661
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10662
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10725
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10726
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10727
|
+
signal,
|
|
10728
|
+
searchParams: buildSearchParams$2({
|
|
10729
|
+
from_recurring_task_id,
|
|
10730
|
+
return_occurrence
|
|
10731
|
+
})
|
|
10732
|
+
}).json();
|
|
10663
10733
|
}
|
|
10664
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10734
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10665
10735
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10666
10736
|
signal,
|
|
10667
|
-
json: data
|
|
10737
|
+
json: data,
|
|
10738
|
+
searchParams: buildSearchParams$2({
|
|
10739
|
+
from_recurring_task_id,
|
|
10740
|
+
return_occurrence
|
|
10741
|
+
})
|
|
10668
10742
|
}).json();
|
|
10669
10743
|
}
|
|
10670
10744
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -14463,13 +14537,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14463
14537
|
}
|
|
14464
14538
|
//#endregion
|
|
14465
14539
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14466
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14540
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14467
14541
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14468
14542
|
signal,
|
|
14469
14543
|
searchParams: buildSearchParams$2({
|
|
14470
14544
|
workspace_id,
|
|
14471
14545
|
entity_type,
|
|
14472
14546
|
entity_id,
|
|
14547
|
+
project_id,
|
|
14548
|
+
custom_field_id,
|
|
14473
14549
|
action,
|
|
14474
14550
|
user_id,
|
|
14475
14551
|
page_size,
|
|
@@ -14478,12 +14554,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14478
14554
|
})
|
|
14479
14555
|
}).json();
|
|
14480
14556
|
}
|
|
14481
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14557
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14482
14558
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14483
14559
|
signal,
|
|
14484
14560
|
searchParams: buildSearchParams$2({
|
|
14485
14561
|
entity_type,
|
|
14486
14562
|
entity_id,
|
|
14563
|
+
project_id,
|
|
14564
|
+
custom_field_id,
|
|
14487
14565
|
action,
|
|
14488
14566
|
user_id,
|
|
14489
14567
|
page_size,
|
|
@@ -14636,13 +14714,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14636
14714
|
}
|
|
14637
14715
|
//#endregion
|
|
14638
14716
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14639
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14717
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
14640
14718
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14641
14719
|
signal,
|
|
14642
14720
|
searchParams: buildSearchParams$2({
|
|
14643
|
-
user_id,
|
|
14644
14721
|
start_date,
|
|
14645
14722
|
end_date,
|
|
14723
|
+
user_id,
|
|
14724
|
+
team_id,
|
|
14646
14725
|
private: private_,
|
|
14647
14726
|
task_source,
|
|
14648
14727
|
unit,
|
|
@@ -14702,6 +14781,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14702
14781
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14703
14782
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14704
14783
|
}
|
|
14784
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14785
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14786
|
+
}
|
|
14787
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14788
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14789
|
+
signal,
|
|
14790
|
+
json: data
|
|
14791
|
+
}).json();
|
|
14792
|
+
}
|
|
14705
14793
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14706
14794
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14707
14795
|
signal,
|
|
@@ -14741,6 +14829,61 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
14741
14829
|
}).json();
|
|
14742
14830
|
}
|
|
14743
14831
|
//#endregion
|
|
14832
|
+
//#region ../focus-queries/dist/designations/requests.ts
|
|
14833
|
+
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14834
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14835
|
+
signal,
|
|
14836
|
+
searchParams: buildSearchParams$2({
|
|
14837
|
+
name,
|
|
14838
|
+
page,
|
|
14839
|
+
per_page,
|
|
14840
|
+
order_by
|
|
14841
|
+
})
|
|
14842
|
+
}).json();
|
|
14843
|
+
}
|
|
14844
|
+
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
14845
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
14846
|
+
signal,
|
|
14847
|
+
json: data
|
|
14848
|
+
}).json();
|
|
14849
|
+
}
|
|
14850
|
+
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14851
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14852
|
+
signal,
|
|
14853
|
+
json: data
|
|
14854
|
+
}).json();
|
|
14855
|
+
}
|
|
14856
|
+
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
14857
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14858
|
+
signal,
|
|
14859
|
+
searchParams: buildSearchParams$2({
|
|
14860
|
+
ids,
|
|
14861
|
+
all_or_none
|
|
14862
|
+
})
|
|
14863
|
+
}).json();
|
|
14864
|
+
}
|
|
14865
|
+
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
14866
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
14867
|
+
signal,
|
|
14868
|
+
json: data
|
|
14869
|
+
}).json();
|
|
14870
|
+
}
|
|
14871
|
+
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
14872
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
14873
|
+
signal,
|
|
14874
|
+
json: data
|
|
14875
|
+
}).json();
|
|
14876
|
+
}
|
|
14877
|
+
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
14878
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
14879
|
+
}
|
|
14880
|
+
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
14881
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
14882
|
+
signal,
|
|
14883
|
+
json: data
|
|
14884
|
+
}).json();
|
|
14885
|
+
}
|
|
14886
|
+
//#endregion
|
|
14744
14887
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
14745
14888
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
14746
14889
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -14965,7 +15108,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
14965
15108
|
}
|
|
14966
15109
|
//#endregion
|
|
14967
15110
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
14968
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
15111
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
14969
15112
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
14970
15113
|
signal,
|
|
14971
15114
|
searchParams: buildSearchParams$2({
|
|
@@ -14991,6 +15134,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
14991
15134
|
user_id,
|
|
14992
15135
|
only_me,
|
|
14993
15136
|
include_drafts,
|
|
15137
|
+
include_recurring_series,
|
|
14994
15138
|
cf_filter
|
|
14995
15139
|
})
|
|
14996
15140
|
}).json();
|
|
@@ -15009,9 +15153,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15009
15153
|
json: data
|
|
15010
15154
|
}).json();
|
|
15011
15155
|
}
|
|
15012
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15013
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15014
|
-
}
|
|
15015
15156
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15016
15157
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15017
15158
|
}
|
|
@@ -15037,6 +15178,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
15037
15178
|
}).json();
|
|
15038
15179
|
}
|
|
15039
15180
|
//#endregion
|
|
15181
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
15182
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
15183
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
15184
|
+
}
|
|
15185
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15186
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
15187
|
+
signal,
|
|
15188
|
+
json: data,
|
|
15189
|
+
searchParams: buildSearchParams$2({
|
|
15190
|
+
response_format,
|
|
15191
|
+
include_dicts
|
|
15192
|
+
})
|
|
15193
|
+
}).json();
|
|
15194
|
+
}
|
|
15195
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
15196
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
15197
|
+
signal,
|
|
15198
|
+
json: data,
|
|
15199
|
+
searchParams: buildSearchParams$2({
|
|
15200
|
+
response_format,
|
|
15201
|
+
include_dicts
|
|
15202
|
+
})
|
|
15203
|
+
}).json();
|
|
15204
|
+
}
|
|
15205
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
15206
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
15207
|
+
signal,
|
|
15208
|
+
json: data
|
|
15209
|
+
}).json();
|
|
15210
|
+
}
|
|
15211
|
+
//#endregion
|
|
15040
15212
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
15041
15213
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
15042
15214
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -15198,7 +15370,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
15198
15370
|
}
|
|
15199
15371
|
//#endregion
|
|
15200
15372
|
//#region ../focus-queries/dist/search/requests.ts
|
|
15201
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15373
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
15202
15374
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
15203
15375
|
signal,
|
|
15204
15376
|
searchParams: buildSearchParams$2({
|
|
@@ -15206,6 +15378,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
15206
15378
|
per_group,
|
|
15207
15379
|
assignee_user_id,
|
|
15208
15380
|
assignee_team_id,
|
|
15381
|
+
include_unassigned,
|
|
15209
15382
|
project_id,
|
|
15210
15383
|
task_id,
|
|
15211
15384
|
include_drafts,
|
|
@@ -15250,6 +15423,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
15250
15423
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
15251
15424
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15252
15425
|
}
|
|
15426
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
15427
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
15428
|
+
}
|
|
15429
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
15430
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
15431
|
+
}
|
|
15432
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
15433
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
15434
|
+
signal,
|
|
15435
|
+
json: data
|
|
15436
|
+
}).json();
|
|
15437
|
+
}
|
|
15253
15438
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
15254
15439
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
15255
15440
|
signal,
|
|
@@ -15259,6 +15444,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
15259
15444
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
15260
15445
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
15261
15446
|
}
|
|
15447
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15448
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
15449
|
+
signal,
|
|
15450
|
+
json: data
|
|
15451
|
+
}).json();
|
|
15452
|
+
}
|
|
15453
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
15454
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
15455
|
+
}
|
|
15456
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
15457
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
15458
|
+
signal,
|
|
15459
|
+
json: data
|
|
15460
|
+
}).json();
|
|
15461
|
+
}
|
|
15262
15462
|
//#endregion
|
|
15263
15463
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
15264
15464
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -15315,9 +15515,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15315
15515
|
}
|
|
15316
15516
|
//#endregion
|
|
15317
15517
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15318
|
-
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter }, signal) {
|
|
15518
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
15319
15519
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15320
15520
|
signal,
|
|
15521
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15321
15522
|
searchParams: buildSearchParams$2({
|
|
15322
15523
|
project_id,
|
|
15323
15524
|
source,
|
|
@@ -15346,13 +15547,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15346
15547
|
min_days,
|
|
15347
15548
|
include_drafts,
|
|
15348
15549
|
cf_filter,
|
|
15349
|
-
user_cf_filter
|
|
15550
|
+
user_cf_filter,
|
|
15551
|
+
recurring_occurrences_after,
|
|
15552
|
+
max_recurring_occurrences_after,
|
|
15553
|
+
recurring_task_read,
|
|
15554
|
+
include_projected_occurrences
|
|
15350
15555
|
})
|
|
15351
15556
|
}).json();
|
|
15352
15557
|
}
|
|
15353
|
-
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter } = {}, signal) {
|
|
15558
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
15354
15559
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15355
15560
|
signal,
|
|
15561
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15356
15562
|
searchParams: buildSearchParams$2({
|
|
15357
15563
|
team_id,
|
|
15358
15564
|
project_id,
|
|
@@ -15381,13 +15587,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15381
15587
|
min_days,
|
|
15382
15588
|
include_drafts,
|
|
15383
15589
|
cf_filter,
|
|
15384
|
-
user_cf_filter
|
|
15590
|
+
user_cf_filter,
|
|
15591
|
+
recurring_occurrences_after,
|
|
15592
|
+
max_recurring_occurrences_after,
|
|
15593
|
+
recurring_task_read,
|
|
15594
|
+
include_projected_occurrences
|
|
15385
15595
|
})
|
|
15386
15596
|
}).json();
|
|
15387
15597
|
}
|
|
15388
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by } = {}, signal) {
|
|
15598
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
15389
15599
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15390
15600
|
signal,
|
|
15601
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15391
15602
|
searchParams: buildSearchParams$2({
|
|
15392
15603
|
source,
|
|
15393
15604
|
priority,
|
|
@@ -15417,6 +15628,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15417
15628
|
include_drafts,
|
|
15418
15629
|
cf_filter,
|
|
15419
15630
|
user_cf_filter,
|
|
15631
|
+
recurring_occurrences_after,
|
|
15632
|
+
max_recurring_occurrences_after,
|
|
15633
|
+
recurring_task_read,
|
|
15634
|
+
include_projected_occurrences,
|
|
15420
15635
|
page,
|
|
15421
15636
|
per_page,
|
|
15422
15637
|
order_by
|
|
@@ -15444,104 +15659,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
15444
15659
|
}).json();
|
|
15445
15660
|
}
|
|
15446
15661
|
//#endregion
|
|
15447
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
15448
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
15449
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15450
|
-
signal,
|
|
15451
|
-
searchParams: buildSearchParams$2({
|
|
15452
|
-
page,
|
|
15453
|
-
per_page,
|
|
15454
|
-
order_by,
|
|
15455
|
-
archived
|
|
15456
|
-
})
|
|
15457
|
-
}).json();
|
|
15458
|
-
}
|
|
15459
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
15460
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
15461
|
-
signal,
|
|
15462
|
-
json: data
|
|
15463
|
-
}).json();
|
|
15464
|
-
}
|
|
15465
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15466
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
15467
|
-
}
|
|
15468
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15469
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15470
|
-
signal,
|
|
15471
|
-
json: data
|
|
15472
|
-
}).json();
|
|
15473
|
-
}
|
|
15474
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
15475
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15476
|
-
signal,
|
|
15477
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
15478
|
-
}).json();
|
|
15479
|
-
}
|
|
15480
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
15481
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
15482
|
-
signal,
|
|
15483
|
-
json: data
|
|
15484
|
-
}).json();
|
|
15485
|
-
}
|
|
15486
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15487
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
15488
|
-
}
|
|
15489
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15490
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
15491
|
-
}
|
|
15492
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
15493
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
15494
|
-
}
|
|
15495
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
15496
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
15497
|
-
signal,
|
|
15498
|
-
searchParams: buildSearchParams$2({
|
|
15499
|
-
date_from,
|
|
15500
|
-
date_to,
|
|
15501
|
-
task_id,
|
|
15502
|
-
status_id,
|
|
15503
|
-
page,
|
|
15504
|
-
per_page,
|
|
15505
|
-
archived,
|
|
15506
|
-
order_by
|
|
15507
|
-
})
|
|
15508
|
-
}).json();
|
|
15509
|
-
}
|
|
15510
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15511
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15512
|
-
signal,
|
|
15513
|
-
json: data
|
|
15514
|
-
}).json();
|
|
15515
|
-
}
|
|
15516
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
15517
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15518
|
-
signal,
|
|
15519
|
-
searchParams: buildSearchParams$2({
|
|
15520
|
-
ids,
|
|
15521
|
-
outbound_sync
|
|
15522
|
-
})
|
|
15523
|
-
}).json();
|
|
15524
|
-
}
|
|
15525
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
15526
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
15527
|
-
signal,
|
|
15528
|
-
json: data
|
|
15529
|
-
}).json();
|
|
15530
|
-
}
|
|
15531
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
15532
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
15533
|
-
signal,
|
|
15534
|
-
searchParams: buildSearchParams$2({
|
|
15535
|
-
date_from,
|
|
15536
|
-
date_to,
|
|
15537
|
-
task_id,
|
|
15538
|
-
status_id,
|
|
15539
|
-
archived,
|
|
15540
|
-
order_by
|
|
15541
|
-
})
|
|
15542
|
-
}).json();
|
|
15543
|
-
}
|
|
15544
|
-
//#endregion
|
|
15545
15662
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
15546
15663
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
15547
15664
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -15579,6 +15696,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
15579
15696
|
})
|
|
15580
15697
|
}).json();
|
|
15581
15698
|
}
|
|
15699
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
15700
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
15701
|
+
}
|
|
15702
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
15703
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
15704
|
+
}
|
|
15582
15705
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
15583
15706
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
15584
15707
|
signal,
|
|
@@ -15606,6 +15729,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
15606
15729
|
json: data
|
|
15607
15730
|
}).json();
|
|
15608
15731
|
}
|
|
15732
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
15733
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
15734
|
+
signal,
|
|
15735
|
+
searchParams: buildSearchParams$2({
|
|
15736
|
+
category_id,
|
|
15737
|
+
date
|
|
15738
|
+
})
|
|
15739
|
+
}).json();
|
|
15740
|
+
}
|
|
15741
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
15742
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
15743
|
+
signal,
|
|
15744
|
+
searchParams: buildSearchParams$2({
|
|
15745
|
+
category_id,
|
|
15746
|
+
year,
|
|
15747
|
+
page,
|
|
15748
|
+
rows
|
|
15749
|
+
})
|
|
15750
|
+
}).json();
|
|
15751
|
+
}
|
|
15609
15752
|
//#endregion
|
|
15610
15753
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
15611
15754
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -15706,6 +15849,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
15706
15849
|
json: data
|
|
15707
15850
|
}).json();
|
|
15708
15851
|
}
|
|
15852
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
15853
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
15854
|
+
signal,
|
|
15855
|
+
searchParams: buildSearchParams$2({
|
|
15856
|
+
date_from,
|
|
15857
|
+
date_to,
|
|
15858
|
+
setup_id,
|
|
15859
|
+
user_account_ids,
|
|
15860
|
+
approver_user_account_ids,
|
|
15861
|
+
team_ids
|
|
15862
|
+
})
|
|
15863
|
+
}).json();
|
|
15864
|
+
}
|
|
15709
15865
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
15710
15866
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
15711
15867
|
}
|
|
@@ -15749,10 +15905,24 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
15749
15905
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
15750
15906
|
}
|
|
15751
15907
|
//#endregion
|
|
15752
|
-
//#region ../focus-queries/dist/
|
|
15753
|
-
async function
|
|
15754
|
-
return await httpClient.
|
|
15755
|
-
|
|
15908
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
15909
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
15910
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
15911
|
+
signal,
|
|
15912
|
+
json: data
|
|
15913
|
+
}).json();
|
|
15914
|
+
}
|
|
15915
|
+
//#endregion
|
|
15916
|
+
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
15917
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
15918
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
15919
|
+
}
|
|
15920
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
15921
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
15922
|
+
}
|
|
15923
|
+
async function getUserSettings(httpClient, signal) {
|
|
15924
|
+
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
15925
|
+
}
|
|
15756
15926
|
async function partialUpdateUserSettings(httpClient, data, signal) {
|
|
15757
15927
|
return await httpClient.patch(`users/me/settings`, {
|
|
15758
15928
|
signal,
|
|
@@ -15777,6 +15947,12 @@ async function serviceVersion(httpClient, signal) {
|
|
|
15777
15947
|
}
|
|
15778
15948
|
//#endregion
|
|
15779
15949
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
15950
|
+
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
15951
|
+
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
15952
|
+
signal,
|
|
15953
|
+
json: data
|
|
15954
|
+
}).json();
|
|
15955
|
+
}
|
|
15780
15956
|
async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
|
|
15781
15957
|
return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
|
|
15782
15958
|
}
|
|
@@ -15989,6 +16165,7 @@ const generatedFocusOperations = [
|
|
|
15989
16165
|
mcp: { entityTool: "audit-log" },
|
|
15990
16166
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
15991
16167
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16168
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15992
16169
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15993
16170
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15994
16171
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -15996,6 +16173,7 @@ const generatedFocusOperations = [
|
|
|
15996
16173
|
from: /* @__PURE__ */ string$1(),
|
|
15997
16174
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
15998
16175
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16176
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
15999
16177
|
to: /* @__PURE__ */ string$1(),
|
|
16000
16178
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16001
16179
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -16029,6 +16207,7 @@ const generatedFocusOperations = [
|
|
|
16029
16207
|
mcp: { entityTool: "audit-log" },
|
|
16030
16208
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16031
16209
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16210
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16032
16211
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16033
16212
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16034
16213
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -16036,6 +16215,7 @@ const generatedFocusOperations = [
|
|
|
16036
16215
|
from: /* @__PURE__ */ string$1(),
|
|
16037
16216
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16038
16217
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16218
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16039
16219
|
to: /* @__PURE__ */ string$1(),
|
|
16040
16220
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16041
16221
|
}),
|
|
@@ -16075,6 +16255,7 @@ const generatedFocusOperations = [
|
|
|
16075
16255
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16076
16256
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16077
16257
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16258
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16078
16259
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16079
16260
|
user_id: /* @__PURE__ */ number$2()
|
|
16080
16261
|
}),
|
|
@@ -16324,8 +16505,6 @@ const generatedFocusOperations = [
|
|
|
16324
16505
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16325
16506
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16326
16507
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16327
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16328
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16329
16508
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16330
16509
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16331
16510
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -16359,8 +16538,6 @@ const generatedFocusOperations = [
|
|
|
16359
16538
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16360
16539
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
16361
16540
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16362
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16363
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16364
16541
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16365
16542
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16366
16543
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -16376,12 +16553,6 @@ const generatedFocusOperations = [
|
|
|
16376
16553
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
16377
16554
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16378
16555
|
}))),
|
|
16379
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
16380
|
-
start: apiDateTimeString,
|
|
16381
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16382
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16383
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16384
|
-
}))),
|
|
16385
16556
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16386
16557
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
16387
16558
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -16391,13 +16562,6 @@ const generatedFocusOperations = [
|
|
|
16391
16562
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16392
16563
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
16393
16564
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
16394
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
16395
|
-
start: apiDateTimeString,
|
|
16396
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16397
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16398
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
16399
|
-
})),
|
|
16400
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16401
16565
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
16402
16566
|
}))
|
|
16403
16567
|
}) }),
|
|
@@ -16515,6 +16679,33 @@ const generatedFocusOperations = [
|
|
|
16515
16679
|
]));
|
|
16516
16680
|
}
|
|
16517
16681
|
},
|
|
16682
|
+
{
|
|
16683
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16684
|
+
family: "focus",
|
|
16685
|
+
resource: "custom-fields",
|
|
16686
|
+
action: "get-allowed-users",
|
|
16687
|
+
title: "Get Allowed Users Custom Fields",
|
|
16688
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16689
|
+
safety: "read",
|
|
16690
|
+
destructive: false,
|
|
16691
|
+
cli: {
|
|
16692
|
+
group: ["custom-fields"],
|
|
16693
|
+
command: "get-allowed-users",
|
|
16694
|
+
interactive: "available"
|
|
16695
|
+
},
|
|
16696
|
+
mcp: { entityTool: "custom-fields" },
|
|
16697
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16698
|
+
execute: (input, { client }) => {
|
|
16699
|
+
const data = input;
|
|
16700
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16701
|
+
client.httpClient,
|
|
16702
|
+
client.organizationId,
|
|
16703
|
+
client.workspaceIdNumber,
|
|
16704
|
+
data.custom_field_id,
|
|
16705
|
+
void 0
|
|
16706
|
+
]));
|
|
16707
|
+
}
|
|
16708
|
+
},
|
|
16518
16709
|
{
|
|
16519
16710
|
id: "focus.custom-fields.list",
|
|
16520
16711
|
family: "focus",
|
|
@@ -16684,6 +16875,37 @@ const generatedFocusOperations = [
|
|
|
16684
16875
|
]));
|
|
16685
16876
|
}
|
|
16686
16877
|
},
|
|
16878
|
+
{
|
|
16879
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16880
|
+
family: "focus",
|
|
16881
|
+
resource: "custom-fields",
|
|
16882
|
+
action: "replace-custom-field-allowed-users",
|
|
16883
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16884
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16885
|
+
safety: "update",
|
|
16886
|
+
destructive: false,
|
|
16887
|
+
cli: {
|
|
16888
|
+
group: ["custom-fields"],
|
|
16889
|
+
command: "replace-custom-field-allowed-users",
|
|
16890
|
+
interactive: "default"
|
|
16891
|
+
},
|
|
16892
|
+
mcp: { entityTool: "custom-fields" },
|
|
16893
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16894
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16895
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16896
|
+
}),
|
|
16897
|
+
execute: (input, { client }) => {
|
|
16898
|
+
const data = input;
|
|
16899
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16900
|
+
client.httpClient,
|
|
16901
|
+
client.organizationId,
|
|
16902
|
+
client.workspaceIdNumber,
|
|
16903
|
+
data.custom_field_id,
|
|
16904
|
+
data.payload ?? data.data ?? data,
|
|
16905
|
+
void 0
|
|
16906
|
+
]));
|
|
16907
|
+
}
|
|
16908
|
+
},
|
|
16687
16909
|
{
|
|
16688
16910
|
id: "focus.custom-fields.update",
|
|
16689
16911
|
family: "focus",
|
|
@@ -16814,6 +17036,256 @@ const generatedFocusOperations = [
|
|
|
16814
17036
|
]));
|
|
16815
17037
|
}
|
|
16816
17038
|
},
|
|
17039
|
+
{
|
|
17040
|
+
id: "focus.designations.bulk-create-workspace",
|
|
17041
|
+
family: "focus",
|
|
17042
|
+
resource: "designations",
|
|
17043
|
+
action: "bulk-create-workspace",
|
|
17044
|
+
title: "Bulk Create Workspace Designations",
|
|
17045
|
+
description: "Bulk Create Workspace Designations.",
|
|
17046
|
+
safety: "create",
|
|
17047
|
+
destructive: false,
|
|
17048
|
+
cli: {
|
|
17049
|
+
group: ["designations", "bulk"],
|
|
17050
|
+
command: "create-workspace",
|
|
17051
|
+
interactive: "default"
|
|
17052
|
+
},
|
|
17053
|
+
mcp: { entityTool: "designations" },
|
|
17054
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17055
|
+
name: /* @__PURE__ */ string$1(),
|
|
17056
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17057
|
+
})) }) }),
|
|
17058
|
+
execute: (input, { client }) => {
|
|
17059
|
+
const data = input;
|
|
17060
|
+
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
17061
|
+
client.httpClient,
|
|
17062
|
+
client.organizationId,
|
|
17063
|
+
client.workspaceIdNumber,
|
|
17064
|
+
data.payload ?? data.data ?? data,
|
|
17065
|
+
void 0
|
|
17066
|
+
]));
|
|
17067
|
+
}
|
|
17068
|
+
},
|
|
17069
|
+
{
|
|
17070
|
+
id: "focus.designations.bulk-delete-workspace",
|
|
17071
|
+
family: "focus",
|
|
17072
|
+
resource: "designations",
|
|
17073
|
+
action: "bulk-delete-workspace",
|
|
17074
|
+
title: "Bulk Delete Workspace Designations",
|
|
17075
|
+
description: "Bulk Delete Workspace Designations.",
|
|
17076
|
+
safety: "delete",
|
|
17077
|
+
destructive: true,
|
|
17078
|
+
cli: {
|
|
17079
|
+
group: ["designations", "bulk"],
|
|
17080
|
+
command: "delete-workspace",
|
|
17081
|
+
interactive: "default"
|
|
17082
|
+
},
|
|
17083
|
+
mcp: { entityTool: "designations" },
|
|
17084
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17085
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17086
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
17087
|
+
}),
|
|
17088
|
+
execute: (input, { client }) => {
|
|
17089
|
+
const data = input;
|
|
17090
|
+
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
17091
|
+
client.httpClient,
|
|
17092
|
+
client.organizationId,
|
|
17093
|
+
client.workspaceIdNumber,
|
|
17094
|
+
data.ids,
|
|
17095
|
+
data.all_or_none,
|
|
17096
|
+
void 0
|
|
17097
|
+
]));
|
|
17098
|
+
}
|
|
17099
|
+
},
|
|
17100
|
+
{
|
|
17101
|
+
id: "focus.designations.bulk-update-workspace",
|
|
17102
|
+
family: "focus",
|
|
17103
|
+
resource: "designations",
|
|
17104
|
+
action: "bulk-update-workspace",
|
|
17105
|
+
title: "Bulk Update Workspace Designations",
|
|
17106
|
+
description: "Bulk Update Workspace Designations.",
|
|
17107
|
+
safety: "update",
|
|
17108
|
+
destructive: false,
|
|
17109
|
+
cli: {
|
|
17110
|
+
group: ["designations", "bulk"],
|
|
17111
|
+
command: "update-workspace",
|
|
17112
|
+
interactive: "default"
|
|
17113
|
+
},
|
|
17114
|
+
mcp: { entityTool: "designations" },
|
|
17115
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17116
|
+
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17117
|
+
id: /* @__PURE__ */ number$2(),
|
|
17118
|
+
name: /* @__PURE__ */ string$1()
|
|
17119
|
+
})),
|
|
17120
|
+
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
17121
|
+
}) }),
|
|
17122
|
+
execute: (input, { client }) => {
|
|
17123
|
+
const data = input;
|
|
17124
|
+
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
17125
|
+
client.httpClient,
|
|
17126
|
+
client.organizationId,
|
|
17127
|
+
client.workspaceIdNumber,
|
|
17128
|
+
data.payload ?? data.data ?? data,
|
|
17129
|
+
void 0
|
|
17130
|
+
]));
|
|
17131
|
+
}
|
|
17132
|
+
},
|
|
17133
|
+
{
|
|
17134
|
+
id: "focus.designations.create-workspace",
|
|
17135
|
+
family: "focus",
|
|
17136
|
+
resource: "designations",
|
|
17137
|
+
action: "create-workspace",
|
|
17138
|
+
title: "Create Workspace Designations",
|
|
17139
|
+
description: "Create Workspace Designations.",
|
|
17140
|
+
safety: "create",
|
|
17141
|
+
destructive: false,
|
|
17142
|
+
cli: {
|
|
17143
|
+
group: ["designations"],
|
|
17144
|
+
command: "create-workspace",
|
|
17145
|
+
interactive: "default"
|
|
17146
|
+
},
|
|
17147
|
+
mcp: { entityTool: "designations" },
|
|
17148
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17149
|
+
name: /* @__PURE__ */ string$1(),
|
|
17150
|
+
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17151
|
+
}) }),
|
|
17152
|
+
execute: (input, { client }) => {
|
|
17153
|
+
const data = input;
|
|
17154
|
+
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
17155
|
+
client.httpClient,
|
|
17156
|
+
client.organizationId,
|
|
17157
|
+
client.workspaceIdNumber,
|
|
17158
|
+
data.payload ?? data.data ?? data,
|
|
17159
|
+
void 0
|
|
17160
|
+
]));
|
|
17161
|
+
}
|
|
17162
|
+
},
|
|
17163
|
+
{
|
|
17164
|
+
id: "focus.designations.delete-workspace",
|
|
17165
|
+
family: "focus",
|
|
17166
|
+
resource: "designations",
|
|
17167
|
+
action: "delete-workspace",
|
|
17168
|
+
title: "Delete Workspace Designations",
|
|
17169
|
+
description: "Delete Workspace Designations.",
|
|
17170
|
+
safety: "delete",
|
|
17171
|
+
destructive: true,
|
|
17172
|
+
cli: {
|
|
17173
|
+
group: ["designations"],
|
|
17174
|
+
command: "delete-workspace",
|
|
17175
|
+
interactive: "default"
|
|
17176
|
+
},
|
|
17177
|
+
mcp: { entityTool: "designations" },
|
|
17178
|
+
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
17179
|
+
execute: (input, { client }) => {
|
|
17180
|
+
const data = input;
|
|
17181
|
+
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
17182
|
+
client.httpClient,
|
|
17183
|
+
client.organizationId,
|
|
17184
|
+
client.workspaceIdNumber,
|
|
17185
|
+
data.designation_id,
|
|
17186
|
+
void 0
|
|
17187
|
+
]));
|
|
17188
|
+
}
|
|
17189
|
+
},
|
|
17190
|
+
{
|
|
17191
|
+
id: "focus.designations.get-workspace-designations",
|
|
17192
|
+
family: "focus",
|
|
17193
|
+
resource: "designations",
|
|
17194
|
+
action: "get-workspace-designations",
|
|
17195
|
+
title: "Get Workspace Designations Designations",
|
|
17196
|
+
description: "Get Workspace Designations Designations.",
|
|
17197
|
+
safety: "read",
|
|
17198
|
+
destructive: false,
|
|
17199
|
+
cli: {
|
|
17200
|
+
group: ["designations"],
|
|
17201
|
+
command: "get-workspace-designations",
|
|
17202
|
+
interactive: "hidden"
|
|
17203
|
+
},
|
|
17204
|
+
mcp: { entityTool: "designations" },
|
|
17205
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17206
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17207
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
17208
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17209
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
17210
|
+
}),
|
|
17211
|
+
execute: (input, { client }) => {
|
|
17212
|
+
const data = input;
|
|
17213
|
+
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
17214
|
+
client.httpClient,
|
|
17215
|
+
client.organizationId,
|
|
17216
|
+
client.workspaceIdNumber,
|
|
17217
|
+
data,
|
|
17218
|
+
void 0
|
|
17219
|
+
]));
|
|
17220
|
+
}
|
|
17221
|
+
},
|
|
17222
|
+
{
|
|
17223
|
+
id: "focus.designations.update-workspace",
|
|
17224
|
+
family: "focus",
|
|
17225
|
+
resource: "designations",
|
|
17226
|
+
action: "update-workspace",
|
|
17227
|
+
title: "Update Workspace Designations",
|
|
17228
|
+
description: "Update Workspace Designations.",
|
|
17229
|
+
safety: "update",
|
|
17230
|
+
destructive: false,
|
|
17231
|
+
cli: {
|
|
17232
|
+
group: ["designations"],
|
|
17233
|
+
command: "update-workspace",
|
|
17234
|
+
interactive: "default"
|
|
17235
|
+
},
|
|
17236
|
+
mcp: { entityTool: "designations" },
|
|
17237
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
17238
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17239
|
+
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
17240
|
+
}),
|
|
17241
|
+
execute: (input, { client }) => {
|
|
17242
|
+
const data = input;
|
|
17243
|
+
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
17244
|
+
client.httpClient,
|
|
17245
|
+
client.organizationId,
|
|
17246
|
+
client.workspaceIdNumber,
|
|
17247
|
+
data.designation_id,
|
|
17248
|
+
data.payload ?? data.data ?? data,
|
|
17249
|
+
void 0
|
|
17250
|
+
]));
|
|
17251
|
+
}
|
|
17252
|
+
},
|
|
17253
|
+
{
|
|
17254
|
+
id: "focus.designations.update-workspace-designation-members",
|
|
17255
|
+
family: "focus",
|
|
17256
|
+
resource: "designations",
|
|
17257
|
+
action: "update-workspace-designation-members",
|
|
17258
|
+
title: "Update Workspace Designation Members Designations",
|
|
17259
|
+
description: "Update Workspace Designation Members Designations.",
|
|
17260
|
+
safety: "update",
|
|
17261
|
+
destructive: false,
|
|
17262
|
+
cli: {
|
|
17263
|
+
group: ["designations"],
|
|
17264
|
+
command: "update-workspace-designation-members",
|
|
17265
|
+
interactive: "default"
|
|
17266
|
+
},
|
|
17267
|
+
mcp: { entityTool: "designations" },
|
|
17268
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17269
|
+
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17270
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17271
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17272
|
+
}))),
|
|
17273
|
+
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
17274
|
+
designation_id: /* @__PURE__ */ number$2(),
|
|
17275
|
+
toggl_user_id: /* @__PURE__ */ number$2()
|
|
17276
|
+
})))
|
|
17277
|
+
}) }),
|
|
17278
|
+
execute: (input, { client }) => {
|
|
17279
|
+
const data = input;
|
|
17280
|
+
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
17281
|
+
client.httpClient,
|
|
17282
|
+
client.organizationId,
|
|
17283
|
+
client.workspaceIdNumber,
|
|
17284
|
+
data.payload ?? data.data ?? data,
|
|
17285
|
+
void 0
|
|
17286
|
+
]));
|
|
17287
|
+
}
|
|
17288
|
+
},
|
|
16817
17289
|
{
|
|
16818
17290
|
id: "focus.goals.create",
|
|
16819
17291
|
family: "focus",
|
|
@@ -16830,13 +17302,7 @@ const generatedFocusOperations = [
|
|
|
16830
17302
|
},
|
|
16831
17303
|
mcp: { entityTool: "goals" },
|
|
16832
17304
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16833
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16834
17305
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16835
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16836
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16837
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16838
|
-
name: /* @__PURE__ */ string$1(),
|
|
16839
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16840
17306
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16841
17307
|
"daily",
|
|
16842
17308
|
"weekly",
|
|
@@ -16844,12 +17310,18 @@ const generatedFocusOperations = [
|
|
|
16844
17310
|
"monthly"
|
|
16845
17311
|
]),
|
|
16846
17312
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16847
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16848
17313
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16849
|
-
|
|
16850
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17314
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16851
17315
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16852
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17316
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17317
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17318
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17319
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17320
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17321
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17322
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17323
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17324
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16853
17325
|
}) }),
|
|
16854
17326
|
execute: (input, { client }) => {
|
|
16855
17327
|
const data = input;
|
|
@@ -16955,13 +17427,6 @@ const generatedFocusOperations = [
|
|
|
16955
17427
|
},
|
|
16956
17428
|
mcp: { entityTool: "goals" },
|
|
16957
17429
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16958
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16959
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16960
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16961
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16962
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16963
|
-
name: /* @__PURE__ */ string$1(),
|
|
16964
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16965
17430
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16966
17431
|
"daily",
|
|
16967
17432
|
"weekly",
|
|
@@ -16969,12 +17434,19 @@ const generatedFocusOperations = [
|
|
|
16969
17434
|
"monthly"
|
|
16970
17435
|
]),
|
|
16971
17436
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16972
|
-
|
|
16973
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
16974
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16975
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17437
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16976
17438
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16977
|
-
|
|
17439
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17440
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17441
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17442
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17443
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17444
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17445
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17446
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17447
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17448
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17449
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16978
17450
|
}) }),
|
|
16979
17451
|
execute: (input, { client }) => {
|
|
16980
17452
|
const data = input;
|
|
@@ -17941,9 +18413,17 @@ const generatedFocusOperations = [
|
|
|
17941
18413
|
mcp: { entityTool: "projects" },
|
|
17942
18414
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17943
18415
|
payload: /* @__PURE__ */ looseObject({
|
|
18416
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18417
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
17944
18418
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17945
18419
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17946
18420
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18421
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18422
|
+
"expire",
|
|
18423
|
+
"carry_all",
|
|
18424
|
+
"carry_over"
|
|
18425
|
+
])),
|
|
18426
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17947
18427
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
17948
18428
|
}),
|
|
17949
18429
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18387,6 +18867,7 @@ const generatedFocusOperations = [
|
|
|
18387
18867
|
group: /* @__PURE__ */ string$1(),
|
|
18388
18868
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18389
18869
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18870
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18390
18871
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18391
18872
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18392
18873
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18490,37 +18971,14 @@ const generatedFocusOperations = [
|
|
|
18490
18971
|
}
|
|
18491
18972
|
},
|
|
18492
18973
|
{
|
|
18493
|
-
id: "focus.projects.margin-targets-
|
|
18974
|
+
id: "focus.projects.margin-targets-get",
|
|
18494
18975
|
family: "focus",
|
|
18495
18976
|
resource: "projects",
|
|
18496
|
-
action: "margin-targets-
|
|
18497
|
-
title: "Margin Targets
|
|
18498
|
-
description: "Margin Targets
|
|
18499
|
-
safety: "
|
|
18500
|
-
destructive:
|
|
18501
|
-
cli: {
|
|
18502
|
-
group: ["projects", "margin-targets"],
|
|
18503
|
-
command: "clear-workspace",
|
|
18504
|
-
interactive: "default"
|
|
18505
|
-
},
|
|
18506
|
-
mcp: { entityTool: "projects" },
|
|
18507
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18508
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18509
|
-
client.httpClient,
|
|
18510
|
-
client.organizationId,
|
|
18511
|
-
client.workspaceIdNumber,
|
|
18512
|
-
void 0
|
|
18513
|
-
]))
|
|
18514
|
-
},
|
|
18515
|
-
{
|
|
18516
|
-
id: "focus.projects.margin-targets-get",
|
|
18517
|
-
family: "focus",
|
|
18518
|
-
resource: "projects",
|
|
18519
|
-
action: "margin-targets-get",
|
|
18520
|
-
title: "Margin Targets Get Projects",
|
|
18521
|
-
description: "Margin Targets Get Projects.",
|
|
18522
|
-
safety: "read",
|
|
18523
|
-
destructive: false,
|
|
18977
|
+
action: "margin-targets-get",
|
|
18978
|
+
title: "Margin Targets Get Projects",
|
|
18979
|
+
description: "Margin Targets Get Projects.",
|
|
18980
|
+
safety: "read",
|
|
18981
|
+
destructive: false,
|
|
18524
18982
|
cli: {
|
|
18525
18983
|
group: ["projects", "margin-targets"],
|
|
18526
18984
|
command: "get",
|
|
@@ -18956,6 +19414,130 @@ const generatedFocusOperations = [
|
|
|
18956
19414
|
]));
|
|
18957
19415
|
}
|
|
18958
19416
|
},
|
|
19417
|
+
{
|
|
19418
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
19419
|
+
family: "focus",
|
|
19420
|
+
resource: "publicsharedreports",
|
|
19421
|
+
action: "open-public-shared-report",
|
|
19422
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
19423
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
19424
|
+
safety: "read",
|
|
19425
|
+
destructive: false,
|
|
19426
|
+
cli: {
|
|
19427
|
+
group: ["publicsharedreports"],
|
|
19428
|
+
command: "open-public-shared-report",
|
|
19429
|
+
interactive: "available"
|
|
19430
|
+
},
|
|
19431
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19432
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
19433
|
+
execute: (input, { client }) => {
|
|
19434
|
+
const data = input;
|
|
19435
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
19436
|
+
client.httpClient,
|
|
19437
|
+
data.token,
|
|
19438
|
+
void 0
|
|
19439
|
+
]));
|
|
19440
|
+
}
|
|
19441
|
+
},
|
|
19442
|
+
{
|
|
19443
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
19444
|
+
family: "focus",
|
|
19445
|
+
resource: "publicsharedreports",
|
|
19446
|
+
action: "profitability-public-shared-report",
|
|
19447
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
19448
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
19449
|
+
safety: "update",
|
|
19450
|
+
destructive: false,
|
|
19451
|
+
cli: {
|
|
19452
|
+
group: ["publicsharedreports"],
|
|
19453
|
+
command: "profitability-public-shared-report",
|
|
19454
|
+
interactive: "default"
|
|
19455
|
+
},
|
|
19456
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19457
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19458
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19459
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19460
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
19461
|
+
token: /* @__PURE__ */ string$1()
|
|
19462
|
+
}),
|
|
19463
|
+
execute: (input, { client }) => {
|
|
19464
|
+
const data = input;
|
|
19465
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
19466
|
+
client.httpClient,
|
|
19467
|
+
data.token,
|
|
19468
|
+
data.payload ?? data.data ?? data,
|
|
19469
|
+
data.response_format,
|
|
19470
|
+
data.include_dicts,
|
|
19471
|
+
void 0
|
|
19472
|
+
]));
|
|
19473
|
+
}
|
|
19474
|
+
},
|
|
19475
|
+
{
|
|
19476
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
19477
|
+
family: "focus",
|
|
19478
|
+
resource: "publicsharedreports",
|
|
19479
|
+
action: "query-public-shared-report",
|
|
19480
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
19481
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
19482
|
+
safety: "update",
|
|
19483
|
+
destructive: false,
|
|
19484
|
+
cli: {
|
|
19485
|
+
group: ["publicsharedreports"],
|
|
19486
|
+
command: "query-public-shared-report",
|
|
19487
|
+
interactive: "default"
|
|
19488
|
+
},
|
|
19489
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19490
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19491
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
19492
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19493
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
19494
|
+
"json_row",
|
|
19495
|
+
"table",
|
|
19496
|
+
"hierarchical"
|
|
19497
|
+
])),
|
|
19498
|
+
token: /* @__PURE__ */ string$1()
|
|
19499
|
+
}),
|
|
19500
|
+
execute: (input, { client }) => {
|
|
19501
|
+
const data = input;
|
|
19502
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
19503
|
+
client.httpClient,
|
|
19504
|
+
data.token,
|
|
19505
|
+
data.payload ?? data.data ?? data,
|
|
19506
|
+
data.response_format,
|
|
19507
|
+
data.include_dicts,
|
|
19508
|
+
void 0
|
|
19509
|
+
]));
|
|
19510
|
+
}
|
|
19511
|
+
},
|
|
19512
|
+
{
|
|
19513
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
19514
|
+
family: "focus",
|
|
19515
|
+
resource: "publicsharedreports",
|
|
19516
|
+
action: "workload-public-shared-report",
|
|
19517
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
19518
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
19519
|
+
safety: "update",
|
|
19520
|
+
destructive: false,
|
|
19521
|
+
cli: {
|
|
19522
|
+
group: ["publicsharedreports"],
|
|
19523
|
+
command: "workload-public-shared-report",
|
|
19524
|
+
interactive: "default"
|
|
19525
|
+
},
|
|
19526
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
19527
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
19528
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
19529
|
+
token: /* @__PURE__ */ string$1()
|
|
19530
|
+
}),
|
|
19531
|
+
execute: (input, { client }) => {
|
|
19532
|
+
const data = input;
|
|
19533
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
19534
|
+
client.httpClient,
|
|
19535
|
+
data.token,
|
|
19536
|
+
data.payload ?? data.data ?? data,
|
|
19537
|
+
void 0
|
|
19538
|
+
]));
|
|
19539
|
+
}
|
|
19540
|
+
},
|
|
18959
19541
|
{
|
|
18960
19542
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
18961
19543
|
family: "focus",
|
|
@@ -20533,51 +21115,51 @@ const generatedFocusOperations = [
|
|
|
20533
21115
|
mcp: { entityTool: "reports" },
|
|
20534
21116
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20535
21117
|
payload: /* @__PURE__ */ looseObject({
|
|
20536
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20537
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21118
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21119
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20538
21120
|
function: /* @__PURE__ */ string$1(),
|
|
20539
21121
|
property: /* @__PURE__ */ string$1()
|
|
20540
|
-
}),
|
|
20541
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20542
|
-
property: /* @__PURE__ */ string$1()
|
|
20543
|
-
})),
|
|
20544
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21122
|
+
})),
|
|
21123
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21124
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21125
|
+
}))),
|
|
21126
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20545
21127
|
function: /* @__PURE__ */ string$1(),
|
|
20546
21128
|
property: /* @__PURE__ */ string$1()
|
|
20547
|
-
})),
|
|
20548
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20549
|
-
|
|
20550
|
-
|
|
20551
|
-
|
|
20552
|
-
|
|
20553
|
-
|
|
20554
|
-
|
|
20555
|
-
|
|
21129
|
+
}))),
|
|
21130
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21131
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21132
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21133
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21134
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21135
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21136
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21137
|
+
}))),
|
|
21138
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21139
|
+
property: /* @__PURE__ */ string$1(),
|
|
21140
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21141
|
+
}))),
|
|
21142
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21143
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20556
21144
|
property: /* @__PURE__ */ string$1(),
|
|
20557
|
-
|
|
21145
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21146
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21147
|
+
}))),
|
|
21148
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21149
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21150
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20558
21151
|
})),
|
|
20559
|
-
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
property: /* @__PURE__ */ string$1()
|
|
21152
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21153
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21154
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21155
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20564
21156
|
})),
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20568
|
-
}),
|
|
20569
|
-
period: /* @__PURE__ */ looseObject({
|
|
20570
|
-
from: /* @__PURE__ */ string$1(),
|
|
20571
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20572
|
-
to: /* @__PURE__ */ string$1()
|
|
20573
|
-
}),
|
|
20574
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21157
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21158
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20575
21159
|
name: /* @__PURE__ */ string$1(),
|
|
20576
21160
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20577
|
-
})),
|
|
20578
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20579
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20580
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21161
|
+
}))),
|
|
21162
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20581
21163
|
}),
|
|
20582
21164
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
20583
21165
|
}),
|
|
@@ -20658,51 +21240,51 @@ const generatedFocusOperations = [
|
|
|
20658
21240
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20659
21241
|
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
20660
21242
|
payload: /* @__PURE__ */ looseObject({
|
|
20661
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20662
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21243
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21244
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20663
21245
|
function: /* @__PURE__ */ string$1(),
|
|
20664
21246
|
property: /* @__PURE__ */ string$1()
|
|
20665
|
-
}),
|
|
20666
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20667
|
-
property: /* @__PURE__ */ string$1()
|
|
20668
|
-
})),
|
|
20669
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21247
|
+
})),
|
|
21248
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21249
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21250
|
+
}))),
|
|
21251
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20670
21252
|
function: /* @__PURE__ */ string$1(),
|
|
20671
21253
|
property: /* @__PURE__ */ string$1()
|
|
20672
|
-
})),
|
|
20673
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
21254
|
+
}))),
|
|
21255
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21256
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21257
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21258
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21259
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21260
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21261
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21262
|
+
}))),
|
|
21263
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20681
21264
|
property: /* @__PURE__ */ string$1(),
|
|
20682
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
21265
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21266
|
+
}))),
|
|
21267
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21268
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21269
|
+
property: /* @__PURE__ */ string$1(),
|
|
21270
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21271
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21272
|
+
}))),
|
|
21273
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21274
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21275
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20683
21276
|
})),
|
|
20684
|
-
|
|
20685
|
-
|
|
20686
|
-
|
|
20687
|
-
|
|
20688
|
-
property: /* @__PURE__ */ string$1()
|
|
21277
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21278
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21279
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21280
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20689
21281
|
})),
|
|
20690
|
-
|
|
20691
|
-
|
|
20692
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20693
|
-
}),
|
|
20694
|
-
period: /* @__PURE__ */ looseObject({
|
|
20695
|
-
from: /* @__PURE__ */ string$1(),
|
|
20696
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20697
|
-
to: /* @__PURE__ */ string$1()
|
|
20698
|
-
}),
|
|
20699
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21282
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21283
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20700
21284
|
name: /* @__PURE__ */ string$1(),
|
|
20701
21285
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20702
|
-
})),
|
|
20703
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20704
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20705
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21286
|
+
}))),
|
|
21287
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20706
21288
|
}),
|
|
20707
21289
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20708
21290
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -20740,51 +21322,51 @@ const generatedFocusOperations = [
|
|
|
20740
21322
|
},
|
|
20741
21323
|
mcp: { entityTool: "reports" },
|
|
20742
21324
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
20743
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20744
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21325
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21326
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20745
21327
|
function: /* @__PURE__ */ string$1(),
|
|
20746
21328
|
property: /* @__PURE__ */ string$1()
|
|
20747
|
-
}),
|
|
20748
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20749
|
-
property: /* @__PURE__ */ string$1()
|
|
20750
|
-
})),
|
|
20751
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21329
|
+
})),
|
|
21330
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21331
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21332
|
+
}))),
|
|
21333
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20752
21334
|
function: /* @__PURE__ */ string$1(),
|
|
20753
21335
|
property: /* @__PURE__ */ string$1()
|
|
20754
|
-
})),
|
|
20755
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20756
|
-
|
|
20757
|
-
|
|
20758
|
-
|
|
20759
|
-
|
|
20760
|
-
|
|
20761
|
-
|
|
20762
|
-
|
|
21336
|
+
}))),
|
|
21337
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21338
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21339
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21340
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21341
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21342
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21343
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21344
|
+
}))),
|
|
21345
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21346
|
+
property: /* @__PURE__ */ string$1(),
|
|
21347
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21348
|
+
}))),
|
|
21349
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21350
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20763
21351
|
property: /* @__PURE__ */ string$1(),
|
|
20764
|
-
|
|
21352
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21353
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21354
|
+
}))),
|
|
21355
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21356
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21357
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20765
21358
|
})),
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
|
|
20769
|
-
|
|
20770
|
-
property: /* @__PURE__ */ string$1()
|
|
21359
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21360
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21361
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21362
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20771
21363
|
})),
|
|
20772
|
-
|
|
20773
|
-
|
|
20774
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20775
|
-
}),
|
|
20776
|
-
period: /* @__PURE__ */ looseObject({
|
|
20777
|
-
from: /* @__PURE__ */ string$1(),
|
|
20778
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20779
|
-
to: /* @__PURE__ */ string$1()
|
|
20780
|
-
}),
|
|
20781
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21364
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21365
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20782
21366
|
name: /* @__PURE__ */ string$1(),
|
|
20783
21367
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20784
|
-
})),
|
|
20785
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20786
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20787
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21368
|
+
}))),
|
|
21369
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20788
21370
|
}) }),
|
|
20789
21371
|
execute: (input, { client }) => {
|
|
20790
21372
|
const data = input;
|
|
@@ -20813,51 +21395,51 @@ const generatedFocusOperations = [
|
|
|
20813
21395
|
mcp: { entityTool: "reports" },
|
|
20814
21396
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20815
21397
|
payload: /* @__PURE__ */ looseObject({
|
|
20816
|
-
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20817
|
-
aggregation: /* @__PURE__ */ looseObject({
|
|
21398
|
+
aggregation_filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21399
|
+
aggregation: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
20818
21400
|
function: /* @__PURE__ */ string$1(),
|
|
20819
21401
|
property: /* @__PURE__ */ string$1()
|
|
20820
|
-
}),
|
|
20821
|
-
operator: /* @__PURE__ */ string$1(),
|
|
20822
|
-
property: /* @__PURE__ */ string$1()
|
|
20823
|
-
})),
|
|
20824
|
-
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21402
|
+
})),
|
|
21403
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21404
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21405
|
+
}))),
|
|
21406
|
+
aggregations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20825
21407
|
function: /* @__PURE__ */ string$1(),
|
|
20826
21408
|
property: /* @__PURE__ */ string$1()
|
|
20827
|
-
})),
|
|
20828
|
-
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
|
-
|
|
20832
|
-
|
|
20833
|
-
|
|
20834
|
-
|
|
20835
|
-
|
|
21409
|
+
}))),
|
|
21410
|
+
attributes: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() }))),
|
|
21411
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21412
|
+
currency: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21413
|
+
filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21414
|
+
conditions: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
|
|
21415
|
+
operator: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21416
|
+
property: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21417
|
+
}))),
|
|
21418
|
+
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20836
21419
|
property: /* @__PURE__ */ string$1(),
|
|
20837
|
-
show_empty: /* @__PURE__ */ boolean$1()
|
|
21420
|
+
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
21421
|
+
}))),
|
|
21422
|
+
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21423
|
+
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21424
|
+
property: /* @__PURE__ */ string$1(),
|
|
21425
|
+
direction: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21426
|
+
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
21427
|
+
}))),
|
|
21428
|
+
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21429
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21430
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20838
21431
|
})),
|
|
20839
|
-
|
|
20840
|
-
|
|
20841
|
-
|
|
20842
|
-
|
|
20843
|
-
property: /* @__PURE__ */ string$1()
|
|
21432
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
21433
|
+
from: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21434
|
+
preset: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21435
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20844
21436
|
})),
|
|
20845
|
-
|
|
20846
|
-
|
|
20847
|
-
per_page: /* @__PURE__ */ number$2()
|
|
20848
|
-
}),
|
|
20849
|
-
period: /* @__PURE__ */ looseObject({
|
|
20850
|
-
from: /* @__PURE__ */ string$1(),
|
|
20851
|
-
preset: /* @__PURE__ */ string$1(),
|
|
20852
|
-
to: /* @__PURE__ */ string$1()
|
|
20853
|
-
}),
|
|
20854
|
-
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21437
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21438
|
+
transformations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20855
21439
|
name: /* @__PURE__ */ string$1(),
|
|
20856
21440
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
20857
|
-
})),
|
|
20858
|
-
view_in_my_timezone: /* @__PURE__ */ boolean$1()
|
|
20859
|
-
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20860
|
-
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21441
|
+
}))),
|
|
21442
|
+
view_in_my_timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
20861
21443
|
}),
|
|
20862
21444
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20863
21445
|
"csv",
|
|
@@ -20914,7 +21496,7 @@ const generatedFocusOperations = [
|
|
|
20914
21496
|
cli: {
|
|
20915
21497
|
group: ["reportschedules"],
|
|
20916
21498
|
command: "upsert-saved-view-schedule",
|
|
20917
|
-
interactive: "
|
|
21499
|
+
interactive: "hidden"
|
|
20918
21500
|
},
|
|
20919
21501
|
mcp: { entityTool: "reportschedules" },
|
|
20920
21502
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -20925,8 +21507,10 @@ const generatedFocusOperations = [
|
|
|
20925
21507
|
"weekly",
|
|
20926
21508
|
"monthly"
|
|
20927
21509
|
]),
|
|
21510
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
20928
21511
|
time: /* @__PURE__ */ string$1(),
|
|
20929
21512
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21513
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
20930
21514
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20931
21515
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
20932
21516
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21259,6 +21843,32 @@ const generatedFocusOperations = [
|
|
|
21259
21843
|
]));
|
|
21260
21844
|
}
|
|
21261
21845
|
},
|
|
21846
|
+
{
|
|
21847
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
21848
|
+
family: "focus",
|
|
21849
|
+
resource: "sharedreports",
|
|
21850
|
+
action: "get-shared-report-dates",
|
|
21851
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
21852
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
21853
|
+
safety: "read",
|
|
21854
|
+
destructive: false,
|
|
21855
|
+
cli: {
|
|
21856
|
+
group: ["sharedreports"],
|
|
21857
|
+
command: "get-shared-report-dates",
|
|
21858
|
+
interactive: "available"
|
|
21859
|
+
},
|
|
21860
|
+
mcp: { entityTool: "sharedreports" },
|
|
21861
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21862
|
+
execute: (input, { client }) => {
|
|
21863
|
+
const data = input;
|
|
21864
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
21865
|
+
client.httpClient,
|
|
21866
|
+
client.workspaceIdNumber,
|
|
21867
|
+
data.id,
|
|
21868
|
+
void 0
|
|
21869
|
+
]));
|
|
21870
|
+
}
|
|
21871
|
+
},
|
|
21262
21872
|
{
|
|
21263
21873
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
21264
21874
|
family: "focus",
|
|
@@ -21329,6 +21939,36 @@ const generatedFocusOperations = [
|
|
|
21329
21939
|
void 0
|
|
21330
21940
|
]))
|
|
21331
21941
|
},
|
|
21942
|
+
{
|
|
21943
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
21944
|
+
family: "focus",
|
|
21945
|
+
resource: "sharedreports",
|
|
21946
|
+
action: "mint-shared-report-link",
|
|
21947
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
21948
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
21949
|
+
safety: "update",
|
|
21950
|
+
destructive: false,
|
|
21951
|
+
cli: {
|
|
21952
|
+
group: ["sharedreports"],
|
|
21953
|
+
command: "mint-shared-report-link",
|
|
21954
|
+
interactive: "default"
|
|
21955
|
+
},
|
|
21956
|
+
mcp: { entityTool: "sharedreports" },
|
|
21957
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
21958
|
+
id: /* @__PURE__ */ number$2(),
|
|
21959
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21960
|
+
}),
|
|
21961
|
+
execute: (input, { client }) => {
|
|
21962
|
+
const data = input;
|
|
21963
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
21964
|
+
client.httpClient,
|
|
21965
|
+
client.workspaceIdNumber,
|
|
21966
|
+
data.id,
|
|
21967
|
+
data.payload ?? data.data ?? data,
|
|
21968
|
+
void 0
|
|
21969
|
+
]));
|
|
21970
|
+
}
|
|
21971
|
+
},
|
|
21332
21972
|
{
|
|
21333
21973
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
21334
21974
|
family: "focus",
|
|
@@ -21360,71 +22000,53 @@ const generatedFocusOperations = [
|
|
|
21360
22000
|
}
|
|
21361
22001
|
},
|
|
21362
22002
|
{
|
|
21363
|
-
id: "focus.sharedreports.
|
|
22003
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
21364
22004
|
family: "focus",
|
|
21365
22005
|
resource: "sharedreports",
|
|
21366
|
-
action: "
|
|
21367
|
-
title: "
|
|
21368
|
-
description: "
|
|
21369
|
-
safety: "
|
|
21370
|
-
destructive:
|
|
22006
|
+
action: "revoke-shared-report-link",
|
|
22007
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
22008
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
22009
|
+
safety: "delete",
|
|
22010
|
+
destructive: true,
|
|
21371
22011
|
cli: {
|
|
21372
22012
|
group: ["sharedreports"],
|
|
21373
|
-
command: "
|
|
21374
|
-
interactive: "
|
|
22013
|
+
command: "revoke-shared-report-link",
|
|
22014
|
+
interactive: "default"
|
|
21375
22015
|
},
|
|
21376
22016
|
mcp: { entityTool: "sharedreports" },
|
|
21377
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
21378
|
-
id: /* @__PURE__ */ number$2(),
|
|
21379
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21380
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21381
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21382
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21383
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21384
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21385
|
-
})
|
|
21386
|
-
}),
|
|
22017
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21387
22018
|
execute: (input, { client }) => {
|
|
21388
22019
|
const data = input;
|
|
21389
|
-
return client.runGeneratedRequest("
|
|
22020
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
21390
22021
|
client.httpClient,
|
|
21391
22022
|
client.workspaceIdNumber,
|
|
21392
22023
|
data.id,
|
|
21393
|
-
data.payload ?? data.data ?? data,
|
|
21394
22024
|
void 0
|
|
21395
22025
|
]));
|
|
21396
22026
|
}
|
|
21397
22027
|
},
|
|
21398
22028
|
{
|
|
21399
|
-
id: "focus.sharedreports.
|
|
22029
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
21400
22030
|
family: "focus",
|
|
21401
22031
|
resource: "sharedreports",
|
|
21402
|
-
action: "
|
|
21403
|
-
title: "
|
|
21404
|
-
description: "
|
|
22032
|
+
action: "rotate-shared-report-link",
|
|
22033
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
22034
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
21405
22035
|
safety: "update",
|
|
21406
22036
|
destructive: false,
|
|
21407
22037
|
cli: {
|
|
21408
22038
|
group: ["sharedreports"],
|
|
21409
|
-
command: "
|
|
21410
|
-
interactive: "
|
|
22039
|
+
command: "rotate-shared-report-link",
|
|
22040
|
+
interactive: "default"
|
|
21411
22041
|
},
|
|
21412
22042
|
mcp: { entityTool: "sharedreports" },
|
|
21413
22043
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21414
22044
|
id: /* @__PURE__ */ number$2(),
|
|
21415
|
-
payload: /* @__PURE__ */ looseObject({
|
|
21416
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
21417
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21418
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21419
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21420
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21421
|
-
})),
|
|
21422
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
21423
|
-
})
|
|
22045
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
21424
22046
|
}),
|
|
21425
22047
|
execute: (input, { client }) => {
|
|
21426
22048
|
const data = input;
|
|
21427
|
-
return client.runGeneratedRequest("
|
|
22049
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
21428
22050
|
client.httpClient,
|
|
21429
22051
|
client.workspaceIdNumber,
|
|
21430
22052
|
data.id,
|
|
@@ -21434,12 +22056,142 @@ const generatedFocusOperations = [
|
|
|
21434
22056
|
}
|
|
21435
22057
|
},
|
|
21436
22058
|
{
|
|
21437
|
-
id: "focus.
|
|
22059
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
21438
22060
|
family: "focus",
|
|
21439
|
-
resource: "
|
|
21440
|
-
action: "
|
|
21441
|
-
title: "
|
|
21442
|
-
description: "
|
|
22061
|
+
resource: "sharedreports",
|
|
22062
|
+
action: "set-shared-report-dates-lock",
|
|
22063
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
22064
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
22065
|
+
safety: "update",
|
|
22066
|
+
destructive: false,
|
|
22067
|
+
cli: {
|
|
22068
|
+
group: ["sharedreports"],
|
|
22069
|
+
command: "set-shared-report-dates-lock",
|
|
22070
|
+
interactive: "default"
|
|
22071
|
+
},
|
|
22072
|
+
mcp: { entityTool: "sharedreports" },
|
|
22073
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22074
|
+
id: /* @__PURE__ */ number$2(),
|
|
22075
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
22076
|
+
}),
|
|
22077
|
+
execute: (input, { client }) => {
|
|
22078
|
+
const data = input;
|
|
22079
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
22080
|
+
client.httpClient,
|
|
22081
|
+
client.workspaceIdNumber,
|
|
22082
|
+
data.id,
|
|
22083
|
+
data.payload ?? data.data ?? data,
|
|
22084
|
+
void 0
|
|
22085
|
+
]));
|
|
22086
|
+
}
|
|
22087
|
+
},
|
|
22088
|
+
{
|
|
22089
|
+
id: "focus.sharedreports.share-saved-view",
|
|
22090
|
+
family: "focus",
|
|
22091
|
+
resource: "sharedreports",
|
|
22092
|
+
action: "share-saved-view",
|
|
22093
|
+
title: "Share Saved View Sharedreports",
|
|
22094
|
+
description: "Share Saved View Sharedreports.",
|
|
22095
|
+
safety: "update",
|
|
22096
|
+
destructive: false,
|
|
22097
|
+
cli: {
|
|
22098
|
+
group: ["sharedreports"],
|
|
22099
|
+
command: "share-saved-view",
|
|
22100
|
+
interactive: "hidden"
|
|
22101
|
+
},
|
|
22102
|
+
mcp: { entityTool: "sharedreports" },
|
|
22103
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22104
|
+
id: /* @__PURE__ */ number$2(),
|
|
22105
|
+
payload: /* @__PURE__ */ looseObject({
|
|
22106
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
22107
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22108
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22109
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22110
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22111
|
+
})
|
|
22112
|
+
}),
|
|
22113
|
+
execute: (input, { client }) => {
|
|
22114
|
+
const data = input;
|
|
22115
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
22116
|
+
client.httpClient,
|
|
22117
|
+
client.workspaceIdNumber,
|
|
22118
|
+
data.id,
|
|
22119
|
+
data.payload ?? data.data ?? data,
|
|
22120
|
+
void 0
|
|
22121
|
+
]));
|
|
22122
|
+
}
|
|
22123
|
+
},
|
|
22124
|
+
{
|
|
22125
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
22126
|
+
family: "focus",
|
|
22127
|
+
resource: "sharedreports",
|
|
22128
|
+
action: "share-saved-view-many",
|
|
22129
|
+
title: "Share Saved View Many Sharedreports",
|
|
22130
|
+
description: "Share Saved View Many Sharedreports.",
|
|
22131
|
+
safety: "update",
|
|
22132
|
+
destructive: false,
|
|
22133
|
+
cli: {
|
|
22134
|
+
group: ["sharedreports"],
|
|
22135
|
+
command: "share-saved-view-many",
|
|
22136
|
+
interactive: "hidden"
|
|
22137
|
+
},
|
|
22138
|
+
mcp: { entityTool: "sharedreports" },
|
|
22139
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22140
|
+
id: /* @__PURE__ */ number$2(),
|
|
22141
|
+
payload: /* @__PURE__ */ looseObject({
|
|
22142
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
22143
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
22144
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22145
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22146
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
22147
|
+
})),
|
|
22148
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22149
|
+
})
|
|
22150
|
+
}),
|
|
22151
|
+
execute: (input, { client }) => {
|
|
22152
|
+
const data = input;
|
|
22153
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
22154
|
+
client.httpClient,
|
|
22155
|
+
client.workspaceIdNumber,
|
|
22156
|
+
data.id,
|
|
22157
|
+
data.payload ?? data.data ?? data,
|
|
22158
|
+
void 0
|
|
22159
|
+
]));
|
|
22160
|
+
}
|
|
22161
|
+
},
|
|
22162
|
+
{
|
|
22163
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
22164
|
+
family: "focus",
|
|
22165
|
+
resource: "sharedreports",
|
|
22166
|
+
action: "unshare-shared-report",
|
|
22167
|
+
title: "Unshare Shared Report Sharedreports",
|
|
22168
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
22169
|
+
safety: "delete",
|
|
22170
|
+
destructive: true,
|
|
22171
|
+
cli: {
|
|
22172
|
+
group: ["sharedreports"],
|
|
22173
|
+
command: "unshare-shared-report",
|
|
22174
|
+
interactive: "default"
|
|
22175
|
+
},
|
|
22176
|
+
mcp: { entityTool: "sharedreports" },
|
|
22177
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
22178
|
+
execute: (input, { client }) => {
|
|
22179
|
+
const data = input;
|
|
22180
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
22181
|
+
client.httpClient,
|
|
22182
|
+
client.workspaceIdNumber,
|
|
22183
|
+
data.id,
|
|
22184
|
+
void 0
|
|
22185
|
+
]));
|
|
22186
|
+
}
|
|
22187
|
+
},
|
|
22188
|
+
{
|
|
22189
|
+
id: "focus.statuses.create-status",
|
|
22190
|
+
family: "focus",
|
|
22191
|
+
resource: "statuses",
|
|
22192
|
+
action: "create-status",
|
|
22193
|
+
title: "Create Status Statuses",
|
|
22194
|
+
description: "Create Status Statuses.",
|
|
21443
22195
|
safety: "create",
|
|
21444
22196
|
destructive: false,
|
|
21445
22197
|
cli: {
|
|
@@ -22475,6 +23227,37 @@ const generatedFocusOperations = [
|
|
|
22475
23227
|
return client.createTask(data);
|
|
22476
23228
|
}
|
|
22477
23229
|
},
|
|
23230
|
+
{
|
|
23231
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
23232
|
+
family: "focus",
|
|
23233
|
+
resource: "tasks",
|
|
23234
|
+
action: "create-recurring-occurrence",
|
|
23235
|
+
title: "Create Recurring Occurrence Tasks",
|
|
23236
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
23237
|
+
safety: "create",
|
|
23238
|
+
destructive: false,
|
|
23239
|
+
cli: {
|
|
23240
|
+
group: ["tasks"],
|
|
23241
|
+
command: "create-recurring-occurrence",
|
|
23242
|
+
interactive: "default"
|
|
23243
|
+
},
|
|
23244
|
+
mcp: { entityTool: "tasks" },
|
|
23245
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23246
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23247
|
+
task_id: /* @__PURE__ */ number$2()
|
|
23248
|
+
}),
|
|
23249
|
+
execute: (input, { client }) => {
|
|
23250
|
+
const data = input;
|
|
23251
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
23252
|
+
client.httpClient,
|
|
23253
|
+
client.organizationId,
|
|
23254
|
+
client.workspaceIdNumber,
|
|
23255
|
+
data.task_id,
|
|
23256
|
+
data.return_occurrence,
|
|
23257
|
+
void 0
|
|
23258
|
+
]));
|
|
23259
|
+
}
|
|
23260
|
+
},
|
|
22478
23261
|
{
|
|
22479
23262
|
id: "focus.tasks.delete",
|
|
22480
23263
|
family: "focus",
|
|
@@ -22699,6 +23482,79 @@ const generatedFocusOperations = [
|
|
|
22699
23482
|
]));
|
|
22700
23483
|
}
|
|
22701
23484
|
},
|
|
23485
|
+
{
|
|
23486
|
+
id: "focus.tasks.get-picker-task-children",
|
|
23487
|
+
family: "focus",
|
|
23488
|
+
resource: "tasks",
|
|
23489
|
+
action: "get-picker-task-children",
|
|
23490
|
+
title: "Get Picker Task Children Tasks",
|
|
23491
|
+
description: "Get Picker Task Children Tasks.",
|
|
23492
|
+
safety: "read",
|
|
23493
|
+
destructive: false,
|
|
23494
|
+
cli: {
|
|
23495
|
+
group: ["tasks"],
|
|
23496
|
+
command: "get-picker-task-children",
|
|
23497
|
+
interactive: "hidden"
|
|
23498
|
+
},
|
|
23499
|
+
mcp: { entityTool: "tasks" },
|
|
23500
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23501
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23502
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23503
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23504
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
23505
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23506
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23507
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23508
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23509
|
+
}),
|
|
23510
|
+
execute: (input, { client }) => {
|
|
23511
|
+
const data = input;
|
|
23512
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
23513
|
+
client.httpClient,
|
|
23514
|
+
client.organizationId,
|
|
23515
|
+
client.workspaceIdNumber,
|
|
23516
|
+
data.parent_task_id,
|
|
23517
|
+
data,
|
|
23518
|
+
void 0
|
|
23519
|
+
]));
|
|
23520
|
+
}
|
|
23521
|
+
},
|
|
23522
|
+
{
|
|
23523
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
23524
|
+
family: "focus",
|
|
23525
|
+
resource: "tasks",
|
|
23526
|
+
action: "get-picker-task-groups",
|
|
23527
|
+
title: "Get Picker Task Groups Tasks",
|
|
23528
|
+
description: "Get Picker Task Groups Tasks.",
|
|
23529
|
+
safety: "read",
|
|
23530
|
+
destructive: false,
|
|
23531
|
+
cli: {
|
|
23532
|
+
group: ["tasks"],
|
|
23533
|
+
command: "get-picker-task-groups",
|
|
23534
|
+
interactive: "hidden"
|
|
23535
|
+
},
|
|
23536
|
+
mcp: { entityTool: "tasks" },
|
|
23537
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
23538
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23539
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23540
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23541
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23542
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23543
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23544
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23545
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23546
|
+
}),
|
|
23547
|
+
execute: (input, { client }) => {
|
|
23548
|
+
const data = input;
|
|
23549
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
23550
|
+
client.httpClient,
|
|
23551
|
+
client.organizationId,
|
|
23552
|
+
client.workspaceIdNumber,
|
|
23553
|
+
data,
|
|
23554
|
+
void 0
|
|
23555
|
+
]));
|
|
23556
|
+
}
|
|
23557
|
+
},
|
|
22702
23558
|
{
|
|
22703
23559
|
id: "focus.tasks.get-recurring-instances",
|
|
22704
23560
|
family: "focus",
|
|
@@ -22722,9 +23578,13 @@ const generatedFocusOperations = [
|
|
|
22722
23578
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22723
23579
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22724
23580
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23581
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23582
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22725
23583
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22726
23584
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23585
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22727
23586
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23587
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22728
23588
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22729
23589
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22730
23590
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22770,13 +23630,14 @@ const generatedFocusOperations = [
|
|
|
22770
23630
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22771
23631
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22772
23632
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22773
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22774
23633
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22775
23634
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22776
23635
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22777
23636
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22778
23637
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23638
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22779
23639
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23640
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22780
23641
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22781
23642
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22782
23643
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22785,7 +23646,9 @@ const generatedFocusOperations = [
|
|
|
22785
23646
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22786
23647
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22787
23648
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23649
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22788
23650
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23651
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22789
23652
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22790
23653
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22791
23654
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22794,8 +23657,6 @@ const generatedFocusOperations = [
|
|
|
22794
23657
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22795
23658
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22796
23659
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22797
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22798
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22799
23660
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22800
23661
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22801
23662
|
}),
|
|
@@ -22923,8 +23784,10 @@ const generatedFocusOperations = [
|
|
|
22923
23784
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22924
23785
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22925
23786
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23787
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22926
23788
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22927
23789
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23790
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22928
23791
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22929
23792
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22930
23793
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22933,6 +23796,8 @@ const generatedFocusOperations = [
|
|
|
22933
23796
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22934
23797
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22935
23798
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23799
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23800
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22936
23801
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22937
23802
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22938
23803
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -22941,7 +23806,8 @@ const generatedFocusOperations = [
|
|
|
22941
23806
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22942
23807
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22943
23808
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22944
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23809
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23810
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
22945
23811
|
}),
|
|
22946
23812
|
execute: (input, { client }) => {
|
|
22947
23813
|
const data = input;
|
|
@@ -22983,13 +23849,17 @@ const generatedFocusOperations = [
|
|
|
22983
23849
|
group_id: /* @__PURE__ */ number$2(),
|
|
22984
23850
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
22985
23851
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23852
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
22986
23853
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
22987
23854
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23855
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
22988
23856
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
22989
23857
|
name: /* @__PURE__ */ unknown$1(),
|
|
22990
23858
|
priority: /* @__PURE__ */ unknown$1(),
|
|
22991
23859
|
private_: /* @__PURE__ */ unknown$1(),
|
|
22992
23860
|
project_id: /* @__PURE__ */ number$2(),
|
|
23861
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23862
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
22993
23863
|
source: /* @__PURE__ */ unknown$1(),
|
|
22994
23864
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
22995
23865
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -22998,7 +23868,8 @@ const generatedFocusOperations = [
|
|
|
22998
23868
|
tag_id: /* @__PURE__ */ number$2(),
|
|
22999
23869
|
team_id: /* @__PURE__ */ number$2(),
|
|
23000
23870
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23001
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23871
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23872
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23002
23873
|
}),
|
|
23003
23874
|
execute: (input, { client }) => {
|
|
23004
23875
|
const data = input;
|
|
@@ -23039,13 +23910,17 @@ const generatedFocusOperations = [
|
|
|
23039
23910
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23040
23911
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23041
23912
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23913
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23042
23914
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23043
23915
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23916
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23044
23917
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23045
23918
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23046
23919
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23047
23920
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23048
23921
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23922
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23923
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23049
23924
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23050
23925
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23051
23926
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23054,7 +23929,8 @@ const generatedFocusOperations = [
|
|
|
23054
23929
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23055
23930
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23056
23931
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23057
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23932
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23933
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23058
23934
|
}),
|
|
23059
23935
|
execute: (input, { client }) => {
|
|
23060
23936
|
const data = input;
|
|
@@ -23322,484 +24198,21 @@ const generatedFocusOperations = [
|
|
|
23322
24198
|
command: "update-calendar-range",
|
|
23323
24199
|
interactive: "default"
|
|
23324
24200
|
},
|
|
23325
|
-
mcp: { entityTool: "tasks" },
|
|
23326
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23327
|
-
date_from: /* @__PURE__ */ string$1(),
|
|
23328
|
-
date_to: /* @__PURE__ */ string$1()
|
|
23329
|
-
}),
|
|
23330
|
-
execute: (input, { client }) => {
|
|
23331
|
-
const data = input;
|
|
23332
|
-
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23333
|
-
client.httpClient,
|
|
23334
|
-
client.organizationId,
|
|
23335
|
-
client.workspaceIdNumber,
|
|
23336
|
-
data.date_from,
|
|
23337
|
-
data.date_to,
|
|
23338
|
-
void 0
|
|
23339
|
-
]));
|
|
23340
|
-
}
|
|
23341
|
-
},
|
|
23342
|
-
{
|
|
23343
|
-
id: "focus.time-blocks.archive",
|
|
23344
|
-
family: "focus",
|
|
23345
|
-
resource: "time-blocks",
|
|
23346
|
-
action: "archive",
|
|
23347
|
-
title: "Archive Time Blocks",
|
|
23348
|
-
description: "Archive Time Blocks.",
|
|
23349
|
-
safety: "update",
|
|
23350
|
-
destructive: false,
|
|
23351
|
-
cli: {
|
|
23352
|
-
group: ["time-blocks"],
|
|
23353
|
-
command: "archive",
|
|
23354
|
-
interactive: "default"
|
|
23355
|
-
},
|
|
23356
|
-
mcp: { entityTool: "time-blocks" },
|
|
23357
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23358
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23359
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23360
|
-
}),
|
|
23361
|
-
execute: (input, { client }) => {
|
|
23362
|
-
const data = input;
|
|
23363
|
-
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
23364
|
-
client.httpClient,
|
|
23365
|
-
client.organizationId,
|
|
23366
|
-
client.workspaceIdNumber,
|
|
23367
|
-
data.task_id,
|
|
23368
|
-
data.time_block_id,
|
|
23369
|
-
void 0
|
|
23370
|
-
]));
|
|
23371
|
-
}
|
|
23372
|
-
},
|
|
23373
|
-
{
|
|
23374
|
-
id: "focus.time-blocks.bulk-create",
|
|
23375
|
-
family: "focus",
|
|
23376
|
-
resource: "time-blocks",
|
|
23377
|
-
action: "bulk-create",
|
|
23378
|
-
title: "Bulk Create Time Blocks",
|
|
23379
|
-
description: "Bulk Create Time Blocks.",
|
|
23380
|
-
safety: "create",
|
|
23381
|
-
destructive: false,
|
|
23382
|
-
cli: {
|
|
23383
|
-
group: ["time-blocks", "bulk"],
|
|
23384
|
-
command: "create",
|
|
23385
|
-
interactive: "default"
|
|
23386
|
-
},
|
|
23387
|
-
mcp: { entityTool: "time-blocks" },
|
|
23388
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
23389
|
-
start: apiDateTimeString,
|
|
23390
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23391
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23392
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23393
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23394
|
-
})) }) }),
|
|
23395
|
-
execute: (input, { client }) => {
|
|
23396
|
-
const data = input;
|
|
23397
|
-
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
23398
|
-
client.httpClient,
|
|
23399
|
-
client.organizationId,
|
|
23400
|
-
client.workspaceIdNumber,
|
|
23401
|
-
data.payload ?? data.data ?? data,
|
|
23402
|
-
void 0
|
|
23403
|
-
]));
|
|
23404
|
-
}
|
|
23405
|
-
},
|
|
23406
|
-
{
|
|
23407
|
-
id: "focus.time-blocks.bulk-delete",
|
|
23408
|
-
family: "focus",
|
|
23409
|
-
resource: "time-blocks",
|
|
23410
|
-
action: "bulk-delete",
|
|
23411
|
-
title: "Bulk Delete Time Blocks",
|
|
23412
|
-
description: "Bulk Delete Time Blocks.",
|
|
23413
|
-
safety: "delete",
|
|
23414
|
-
destructive: true,
|
|
23415
|
-
cli: {
|
|
23416
|
-
group: ["time-blocks", "bulk"],
|
|
23417
|
-
command: "delete",
|
|
23418
|
-
interactive: "default"
|
|
23419
|
-
},
|
|
23420
|
-
mcp: { entityTool: "time-blocks" },
|
|
23421
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23422
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
23423
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23424
|
-
}),
|
|
23425
|
-
execute: (input, { client }) => {
|
|
23426
|
-
const data = input;
|
|
23427
|
-
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
23428
|
-
client.httpClient,
|
|
23429
|
-
client.organizationId,
|
|
23430
|
-
client.workspaceIdNumber,
|
|
23431
|
-
data.ids,
|
|
23432
|
-
data.outbound_sync,
|
|
23433
|
-
void 0
|
|
23434
|
-
]));
|
|
23435
|
-
}
|
|
23436
|
-
},
|
|
23437
|
-
{
|
|
23438
|
-
id: "focus.time-blocks.bulk-partial-update",
|
|
23439
|
-
family: "focus",
|
|
23440
|
-
resource: "time-blocks",
|
|
23441
|
-
action: "bulk-partial-update",
|
|
23442
|
-
title: "Bulk Partial Update Time Blocks",
|
|
23443
|
-
description: "Bulk Partial Update Time Blocks.",
|
|
23444
|
-
safety: "update",
|
|
23445
|
-
destructive: false,
|
|
23446
|
-
cli: {
|
|
23447
|
-
group: ["time-blocks", "bulk"],
|
|
23448
|
-
command: "partial-update",
|
|
23449
|
-
interactive: "hidden"
|
|
23450
|
-
},
|
|
23451
|
-
mcp: { entityTool: "time-blocks" },
|
|
23452
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
23453
|
-
execute: (input, { client }) => {
|
|
23454
|
-
const data = input;
|
|
23455
|
-
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
23456
|
-
client.httpClient,
|
|
23457
|
-
client.organizationId,
|
|
23458
|
-
client.workspaceIdNumber,
|
|
23459
|
-
data.payload ?? data.data ?? data,
|
|
23460
|
-
void 0
|
|
23461
|
-
]));
|
|
23462
|
-
}
|
|
23463
|
-
},
|
|
23464
|
-
{
|
|
23465
|
-
id: "focus.time-blocks.create",
|
|
23466
|
-
family: "focus",
|
|
23467
|
-
resource: "time-blocks",
|
|
23468
|
-
action: "create",
|
|
23469
|
-
title: "Create Time Blocks",
|
|
23470
|
-
description: "Create Time Blocks.",
|
|
23471
|
-
safety: "create",
|
|
23472
|
-
destructive: false,
|
|
23473
|
-
cli: {
|
|
23474
|
-
group: ["time-blocks"],
|
|
23475
|
-
command: "create",
|
|
23476
|
-
interactive: "default"
|
|
23477
|
-
},
|
|
23478
|
-
mcp: { entityTool: "time-blocks" },
|
|
23479
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23480
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23481
|
-
start: apiDateTimeString,
|
|
23482
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23483
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23484
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23485
|
-
}),
|
|
23486
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23487
|
-
}),
|
|
23488
|
-
execute: (input, { client }) => {
|
|
23489
|
-
const data = input;
|
|
23490
|
-
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
23491
|
-
client.httpClient,
|
|
23492
|
-
client.organizationId,
|
|
23493
|
-
client.workspaceIdNumber,
|
|
23494
|
-
data.task_id,
|
|
23495
|
-
data.payload ?? data.data ?? data,
|
|
23496
|
-
void 0
|
|
23497
|
-
]));
|
|
23498
|
-
}
|
|
23499
|
-
},
|
|
23500
|
-
{
|
|
23501
|
-
id: "focus.time-blocks.delete",
|
|
23502
|
-
family: "focus",
|
|
23503
|
-
resource: "time-blocks",
|
|
23504
|
-
action: "delete",
|
|
23505
|
-
title: "Delete Time Blocks",
|
|
23506
|
-
description: "Delete Time Blocks.",
|
|
23507
|
-
safety: "delete",
|
|
23508
|
-
destructive: true,
|
|
23509
|
-
cli: {
|
|
23510
|
-
group: ["time-blocks"],
|
|
23511
|
-
command: "delete",
|
|
23512
|
-
interactive: "default"
|
|
23513
|
-
},
|
|
23514
|
-
mcp: { entityTool: "time-blocks" },
|
|
23515
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23516
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23517
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23518
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23519
|
-
}),
|
|
23520
|
-
execute: (input, { client }) => {
|
|
23521
|
-
const data = input;
|
|
23522
|
-
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
23523
|
-
client.httpClient,
|
|
23524
|
-
client.organizationId,
|
|
23525
|
-
client.workspaceIdNumber,
|
|
23526
|
-
data.task_id,
|
|
23527
|
-
data.time_block_id,
|
|
23528
|
-
data.outbound_sync,
|
|
23529
|
-
void 0
|
|
23530
|
-
]));
|
|
23531
|
-
}
|
|
23532
|
-
},
|
|
23533
|
-
{
|
|
23534
|
-
id: "focus.time-blocks.get",
|
|
23535
|
-
family: "focus",
|
|
23536
|
-
resource: "time-blocks",
|
|
23537
|
-
action: "get",
|
|
23538
|
-
title: "Get Time Blocks",
|
|
23539
|
-
description: "Get Time Blocks.",
|
|
23540
|
-
safety: "read",
|
|
23541
|
-
destructive: false,
|
|
23542
|
-
cli: {
|
|
23543
|
-
group: ["time-blocks"],
|
|
23544
|
-
command: "get",
|
|
23545
|
-
interactive: "available"
|
|
23546
|
-
},
|
|
23547
|
-
mcp: { entityTool: "time-blocks" },
|
|
23548
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23549
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23550
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23551
|
-
}),
|
|
23552
|
-
execute: (input, { client }) => {
|
|
23553
|
-
const data = input;
|
|
23554
|
-
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
23555
|
-
client.httpClient,
|
|
23556
|
-
client.organizationId,
|
|
23557
|
-
client.workspaceIdNumber,
|
|
23558
|
-
data.task_id,
|
|
23559
|
-
data.time_block_id,
|
|
23560
|
-
void 0
|
|
23561
|
-
]));
|
|
23562
|
-
}
|
|
23563
|
-
},
|
|
23564
|
-
{
|
|
23565
|
-
id: "focus.time-blocks.get-range",
|
|
23566
|
-
family: "focus",
|
|
23567
|
-
resource: "time-blocks",
|
|
23568
|
-
action: "get-range",
|
|
23569
|
-
title: "Get Range Time Blocks",
|
|
23570
|
-
description: "Get Range Time Blocks.",
|
|
23571
|
-
safety: "read",
|
|
23572
|
-
destructive: false,
|
|
23573
|
-
cli: {
|
|
23574
|
-
group: ["time-blocks"],
|
|
23575
|
-
command: "get-range",
|
|
23576
|
-
interactive: "hidden"
|
|
23577
|
-
},
|
|
23578
|
-
mcp: { entityTool: "time-blocks" },
|
|
23579
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23580
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23581
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23582
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23583
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23584
|
-
page: /* @__PURE__ */ number$2(),
|
|
23585
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
23586
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23587
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23588
|
-
}),
|
|
23589
|
-
execute: (input, { client }) => {
|
|
23590
|
-
const data = input;
|
|
23591
|
-
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
23592
|
-
client.httpClient,
|
|
23593
|
-
client.organizationId,
|
|
23594
|
-
client.workspaceIdNumber,
|
|
23595
|
-
data,
|
|
23596
|
-
void 0
|
|
23597
|
-
]));
|
|
23598
|
-
}
|
|
23599
|
-
},
|
|
23600
|
-
{
|
|
23601
|
-
id: "focus.time-blocks.get-range-stream",
|
|
23602
|
-
family: "focus",
|
|
23603
|
-
resource: "time-blocks",
|
|
23604
|
-
action: "get-range-stream",
|
|
23605
|
-
title: "Get Range Stream Time Blocks",
|
|
23606
|
-
description: "Get Range Stream Time Blocks.",
|
|
23607
|
-
safety: "read",
|
|
23608
|
-
destructive: false,
|
|
23609
|
-
cli: {
|
|
23610
|
-
group: ["time-blocks"],
|
|
23611
|
-
command: "get-range-stream",
|
|
23612
|
-
interactive: "hidden"
|
|
23613
|
-
},
|
|
23614
|
-
mcp: { entityTool: "time-blocks" },
|
|
23615
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23616
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
23617
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
23618
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
23619
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
23620
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
23621
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23622
|
-
}),
|
|
23623
|
-
execute: (input, { client }) => {
|
|
23624
|
-
const data = input;
|
|
23625
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
23626
|
-
client.httpClient,
|
|
23627
|
-
client.organizationId,
|
|
23628
|
-
client.workspaceIdNumber,
|
|
23629
|
-
data,
|
|
23630
|
-
void 0
|
|
23631
|
-
]));
|
|
23632
|
-
}
|
|
23633
|
-
},
|
|
23634
|
-
{
|
|
23635
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
23636
|
-
family: "focus",
|
|
23637
|
-
resource: "time-blocks",
|
|
23638
|
-
action: "get-task-time-blocks",
|
|
23639
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
23640
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
23641
|
-
safety: "read",
|
|
23642
|
-
destructive: false,
|
|
23643
|
-
cli: {
|
|
23644
|
-
group: ["time-blocks"],
|
|
23645
|
-
command: "get-task-time-blocks",
|
|
23646
|
-
interactive: "hidden"
|
|
23647
|
-
},
|
|
23648
|
-
mcp: { entityTool: "time-blocks" },
|
|
23649
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23650
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23651
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23652
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23653
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23654
|
-
task_id: /* @__PURE__ */ number$2()
|
|
23655
|
-
}),
|
|
23656
|
-
execute: (input, { client }) => {
|
|
23657
|
-
const data = input;
|
|
23658
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
23659
|
-
client.httpClient,
|
|
23660
|
-
client.organizationId,
|
|
23661
|
-
client.workspaceIdNumber,
|
|
23662
|
-
data.task_id,
|
|
23663
|
-
data,
|
|
23664
|
-
void 0
|
|
23665
|
-
]));
|
|
23666
|
-
}
|
|
23667
|
-
},
|
|
23668
|
-
{
|
|
23669
|
-
id: "focus.time-blocks.partial-update",
|
|
23670
|
-
family: "focus",
|
|
23671
|
-
resource: "time-blocks",
|
|
23672
|
-
action: "partial-update",
|
|
23673
|
-
title: "Partial Update Time Blocks",
|
|
23674
|
-
description: "Partial Update Time Blocks.",
|
|
23675
|
-
safety: "update",
|
|
23676
|
-
destructive: false,
|
|
23677
|
-
cli: {
|
|
23678
|
-
group: ["time-blocks"],
|
|
23679
|
-
command: "partial-update",
|
|
23680
|
-
interactive: "default"
|
|
23681
|
-
},
|
|
23682
|
-
mcp: { entityTool: "time-blocks" },
|
|
23683
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23684
|
-
payload: /* @__PURE__ */ looseObject({
|
|
23685
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23686
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23687
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
23688
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
23689
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23690
|
-
}),
|
|
23691
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23692
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23693
|
-
}),
|
|
23694
|
-
execute: (input, { client }) => {
|
|
23695
|
-
const data = input;
|
|
23696
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
23697
|
-
client.httpClient,
|
|
23698
|
-
client.organizationId,
|
|
23699
|
-
client.workspaceIdNumber,
|
|
23700
|
-
data.task_id,
|
|
23701
|
-
data.time_block_id,
|
|
23702
|
-
data.payload ?? data.data ?? data,
|
|
23703
|
-
void 0
|
|
23704
|
-
]));
|
|
23705
|
-
}
|
|
23706
|
-
},
|
|
23707
|
-
{
|
|
23708
|
-
id: "focus.time-blocks.restore",
|
|
23709
|
-
family: "focus",
|
|
23710
|
-
resource: "time-blocks",
|
|
23711
|
-
action: "restore",
|
|
23712
|
-
title: "Restore Time Blocks",
|
|
23713
|
-
description: "Restore Time Blocks.",
|
|
23714
|
-
safety: "update",
|
|
23715
|
-
destructive: false,
|
|
23716
|
-
cli: {
|
|
23717
|
-
group: ["time-blocks"],
|
|
23718
|
-
command: "restore",
|
|
23719
|
-
interactive: "default"
|
|
23720
|
-
},
|
|
23721
|
-
mcp: { entityTool: "time-blocks" },
|
|
23722
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23723
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23724
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23725
|
-
}),
|
|
23726
|
-
execute: (input, { client }) => {
|
|
23727
|
-
const data = input;
|
|
23728
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
23729
|
-
client.httpClient,
|
|
23730
|
-
client.organizationId,
|
|
23731
|
-
client.workspaceIdNumber,
|
|
23732
|
-
data.task_id,
|
|
23733
|
-
data.time_block_id,
|
|
23734
|
-
void 0
|
|
23735
|
-
]));
|
|
23736
|
-
}
|
|
23737
|
-
},
|
|
23738
|
-
{
|
|
23739
|
-
id: "focus.time-blocks.unarchive",
|
|
23740
|
-
family: "focus",
|
|
23741
|
-
resource: "time-blocks",
|
|
23742
|
-
action: "unarchive",
|
|
23743
|
-
title: "Unarchive Time Blocks",
|
|
23744
|
-
description: "Unarchive Time Blocks.",
|
|
23745
|
-
safety: "update",
|
|
23746
|
-
destructive: false,
|
|
23747
|
-
cli: {
|
|
23748
|
-
group: ["time-blocks"],
|
|
23749
|
-
command: "unarchive",
|
|
23750
|
-
interactive: "default"
|
|
23751
|
-
},
|
|
23752
|
-
mcp: { entityTool: "time-blocks" },
|
|
23753
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
23754
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23755
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
23756
|
-
}),
|
|
23757
|
-
execute: (input, { client }) => {
|
|
23758
|
-
const data = input;
|
|
23759
|
-
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
23760
|
-
client.httpClient,
|
|
23761
|
-
client.organizationId,
|
|
23762
|
-
client.workspaceIdNumber,
|
|
23763
|
-
data.task_id,
|
|
23764
|
-
data.time_block_id,
|
|
23765
|
-
void 0
|
|
23766
|
-
]));
|
|
23767
|
-
}
|
|
23768
|
-
},
|
|
23769
|
-
{
|
|
23770
|
-
id: "focus.time-blocks.update",
|
|
23771
|
-
family: "focus",
|
|
23772
|
-
resource: "time-blocks",
|
|
23773
|
-
action: "update",
|
|
23774
|
-
title: "Update Time Blocks",
|
|
23775
|
-
description: "Update Time Blocks.",
|
|
23776
|
-
safety: "update",
|
|
23777
|
-
destructive: false,
|
|
23778
|
-
cli: {
|
|
23779
|
-
group: ["time-blocks"],
|
|
23780
|
-
command: "update",
|
|
23781
|
-
interactive: "default"
|
|
23782
|
-
},
|
|
23783
|
-
mcp: { entityTool: "time-blocks" },
|
|
24201
|
+
mcp: { entityTool: "tasks" },
|
|
23784
24202
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23785
|
-
|
|
23786
|
-
|
|
23787
|
-
|
|
23788
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23789
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23790
|
-
}),
|
|
23791
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
23792
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
24203
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
24204
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
24205
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23793
24206
|
}),
|
|
23794
24207
|
execute: (input, { client }) => {
|
|
23795
24208
|
const data = input;
|
|
23796
|
-
return client.runGeneratedRequest("
|
|
24209
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
23797
24210
|
client.httpClient,
|
|
23798
24211
|
client.organizationId,
|
|
23799
24212
|
client.workspaceIdNumber,
|
|
23800
|
-
data.
|
|
23801
|
-
data.
|
|
23802
|
-
data.
|
|
24213
|
+
data.date_from,
|
|
24214
|
+
data.date_to,
|
|
24215
|
+
data.skip_provider_refresh,
|
|
23803
24216
|
void 0
|
|
23804
24217
|
]));
|
|
23805
24218
|
}
|
|
@@ -24019,7 +24432,8 @@ const generatedFocusOperations = [
|
|
|
24019
24432
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24020
24433
|
"project",
|
|
24021
24434
|
"task",
|
|
24022
|
-
"description"
|
|
24435
|
+
"description",
|
|
24436
|
+
"tags"
|
|
24023
24437
|
]) })),
|
|
24024
24438
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24025
24439
|
}) }),
|
|
@@ -24049,6 +24463,7 @@ const generatedFocusOperations = [
|
|
|
24049
24463
|
},
|
|
24050
24464
|
mcp: { entityTool: "time-entries" },
|
|
24051
24465
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24466
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24052
24467
|
payload: /* @__PURE__ */ looseObject({
|
|
24053
24468
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24054
24469
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24059,11 +24474,12 @@ const generatedFocusOperations = [
|
|
|
24059
24474
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24060
24475
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24061
24476
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24477
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24062
24478
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24063
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24064
24479
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24065
24480
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24066
24481
|
}),
|
|
24482
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24067
24483
|
task_id: /* @__PURE__ */ number$2()
|
|
24068
24484
|
}),
|
|
24069
24485
|
execute: (input, { client }) => {
|
|
@@ -24074,6 +24490,8 @@ const generatedFocusOperations = [
|
|
|
24074
24490
|
client.workspaceIdNumber,
|
|
24075
24491
|
data.task_id,
|
|
24076
24492
|
data.payload ?? data.data ?? data,
|
|
24493
|
+
data.from_recurring_task_id,
|
|
24494
|
+
data.return_occurrence,
|
|
24077
24495
|
void 0
|
|
24078
24496
|
]));
|
|
24079
24497
|
}
|
|
@@ -24093,21 +24511,25 @@ const generatedFocusOperations = [
|
|
|
24093
24511
|
interactive: "default"
|
|
24094
24512
|
},
|
|
24095
24513
|
mcp: { entityTool: "time-entries" },
|
|
24096
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24097
|
-
|
|
24098
|
-
|
|
24099
|
-
|
|
24100
|
-
|
|
24101
|
-
|
|
24102
|
-
|
|
24103
|
-
|
|
24104
|
-
|
|
24105
|
-
|
|
24106
|
-
|
|
24107
|
-
|
|
24108
|
-
|
|
24109
|
-
|
|
24110
|
-
|
|
24514
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24515
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24516
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24517
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24518
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24519
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24520
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24521
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24522
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24523
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24524
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24525
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24526
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24527
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24528
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24529
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24530
|
+
}),
|
|
24531
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24532
|
+
}),
|
|
24111
24533
|
execute: (input, { client }) => {
|
|
24112
24534
|
const data = input;
|
|
24113
24535
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24115,6 +24537,8 @@ const generatedFocusOperations = [
|
|
|
24115
24537
|
client.organizationId,
|
|
24116
24538
|
client.workspaceIdNumber,
|
|
24117
24539
|
data.payload ?? data.data ?? data,
|
|
24540
|
+
data.from_recurring_task_id,
|
|
24541
|
+
data.return_occurrence,
|
|
24118
24542
|
void 0
|
|
24119
24543
|
]));
|
|
24120
24544
|
}
|
|
@@ -24134,7 +24558,11 @@ const generatedFocusOperations = [
|
|
|
24134
24558
|
interactive: "default"
|
|
24135
24559
|
},
|
|
24136
24560
|
mcp: { entityTool: "time-entries" },
|
|
24137
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24561
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24562
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24563
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24564
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24565
|
+
}),
|
|
24138
24566
|
execute: (input, { client }) => {
|
|
24139
24567
|
const data = input;
|
|
24140
24568
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24142,6 +24570,8 @@ const generatedFocusOperations = [
|
|
|
24142
24570
|
client.organizationId,
|
|
24143
24571
|
client.workspaceIdNumber,
|
|
24144
24572
|
data.time_entry_id,
|
|
24573
|
+
data.from_recurring_task_id,
|
|
24574
|
+
data.return_occurrence,
|
|
24145
24575
|
void 0
|
|
24146
24576
|
]));
|
|
24147
24577
|
}
|
|
@@ -24222,6 +24652,7 @@ const generatedFocusOperations = [
|
|
|
24222
24652
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24223
24653
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24224
24654
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24655
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24225
24656
|
status_id: /* @__PURE__ */ number$2(),
|
|
24226
24657
|
task_id: /* @__PURE__ */ number$2(),
|
|
24227
24658
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24237,33 +24668,6 @@ const generatedFocusOperations = [
|
|
|
24237
24668
|
]));
|
|
24238
24669
|
}
|
|
24239
24670
|
},
|
|
24240
|
-
{
|
|
24241
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
24242
|
-
family: "focus",
|
|
24243
|
-
resource: "time-entries",
|
|
24244
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
24245
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
24246
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
24247
|
-
safety: "read",
|
|
24248
|
-
destructive: false,
|
|
24249
|
-
cli: {
|
|
24250
|
-
group: ["time-entries"],
|
|
24251
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
24252
|
-
interactive: "available"
|
|
24253
|
-
},
|
|
24254
|
-
mcp: { entityTool: "time-entries" },
|
|
24255
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
24256
|
-
execute: (input, { client }) => {
|
|
24257
|
-
const data = input;
|
|
24258
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
24259
|
-
client.httpClient,
|
|
24260
|
-
client.organizationId,
|
|
24261
|
-
client.workspaceIdNumber,
|
|
24262
|
-
data,
|
|
24263
|
-
void 0
|
|
24264
|
-
]));
|
|
24265
|
-
}
|
|
24266
|
-
},
|
|
24267
24671
|
{
|
|
24268
24672
|
id: "focus.time-entries.get-task-time-entries",
|
|
24269
24673
|
family: "focus",
|
|
@@ -24285,7 +24689,6 @@ const generatedFocusOperations = [
|
|
|
24285
24689
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24286
24690
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
24287
24691
|
task_id: /* @__PURE__ */ number$2(),
|
|
24288
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24289
24692
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
24290
24693
|
}),
|
|
24291
24694
|
execute: (input, { client }) => {
|
|
@@ -24398,12 +24801,14 @@ const generatedFocusOperations = [
|
|
|
24398
24801
|
},
|
|
24399
24802
|
mcp: { entityTool: "time-entries" },
|
|
24400
24803
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24804
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24401
24805
|
payload: /* @__PURE__ */ looseObject({
|
|
24402
24806
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24403
24807
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24404
24808
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24405
24809
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24406
24810
|
}),
|
|
24811
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24407
24812
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24408
24813
|
}),
|
|
24409
24814
|
execute: (input, { client }) => {
|
|
@@ -24414,6 +24819,8 @@ const generatedFocusOperations = [
|
|
|
24414
24819
|
client.workspaceIdNumber,
|
|
24415
24820
|
data.time_entry_id,
|
|
24416
24821
|
data.payload ?? data.data ?? data,
|
|
24822
|
+
data.from_recurring_task_id,
|
|
24823
|
+
data.return_occurrence,
|
|
24417
24824
|
void 0
|
|
24418
24825
|
]));
|
|
24419
24826
|
}
|
|
@@ -24671,6 +25078,7 @@ const generatedFocusOperations = [
|
|
|
24671
25078
|
},
|
|
24672
25079
|
mcp: { entityTool: "time-entries" },
|
|
24673
25080
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
25081
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24674
25082
|
payload: /* @__PURE__ */ looseObject({
|
|
24675
25083
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24676
25084
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24680,9 +25088,9 @@ const generatedFocusOperations = [
|
|
|
24680
25088
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24681
25089
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24682
25090
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24683
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24684
25091
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24685
25092
|
}),
|
|
25093
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24686
25094
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24687
25095
|
}),
|
|
24688
25096
|
execute: (input, { client }) => {
|
|
@@ -24693,6 +25101,8 @@ const generatedFocusOperations = [
|
|
|
24693
25101
|
client.workspaceIdNumber,
|
|
24694
25102
|
data.time_entry_id,
|
|
24695
25103
|
data.payload ?? data.data ?? data,
|
|
25104
|
+
data.from_recurring_task_id,
|
|
25105
|
+
data.return_occurrence,
|
|
24696
25106
|
void 0
|
|
24697
25107
|
]));
|
|
24698
25108
|
}
|
|
@@ -24757,6 +25167,118 @@ const generatedFocusOperations = [
|
|
|
24757
25167
|
]));
|
|
24758
25168
|
}
|
|
24759
25169
|
},
|
|
25170
|
+
{
|
|
25171
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
25172
|
+
family: "focus",
|
|
25173
|
+
resource: "time-off",
|
|
25174
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
25175
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
25176
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
25177
|
+
safety: "read",
|
|
25178
|
+
destructive: false,
|
|
25179
|
+
cli: {
|
|
25180
|
+
group: ["time-off"],
|
|
25181
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
25182
|
+
interactive: "hidden"
|
|
25183
|
+
},
|
|
25184
|
+
mcp: { entityTool: "time-off" },
|
|
25185
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25186
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
25187
|
+
page: /* @__PURE__ */ number$2(),
|
|
25188
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
25189
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
25190
|
+
year: /* @__PURE__ */ unknown$1()
|
|
25191
|
+
}),
|
|
25192
|
+
execute: (input, { client }) => {
|
|
25193
|
+
const data = input;
|
|
25194
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
25195
|
+
client.httpClient,
|
|
25196
|
+
client.organizationId,
|
|
25197
|
+
data.user_id,
|
|
25198
|
+
data,
|
|
25199
|
+
void 0
|
|
25200
|
+
]));
|
|
25201
|
+
}
|
|
25202
|
+
},
|
|
25203
|
+
{
|
|
25204
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
25205
|
+
family: "focus",
|
|
25206
|
+
resource: "time-off",
|
|
25207
|
+
action: "get-timeoff-balances-for-user",
|
|
25208
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
25209
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
25210
|
+
safety: "read",
|
|
25211
|
+
destructive: false,
|
|
25212
|
+
cli: {
|
|
25213
|
+
group: ["time-off"],
|
|
25214
|
+
command: "get-timeoff-balances-for-user",
|
|
25215
|
+
interactive: "available"
|
|
25216
|
+
},
|
|
25217
|
+
mcp: { entityTool: "time-off" },
|
|
25218
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25219
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
25220
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
25221
|
+
user_id: /* @__PURE__ */ number$2()
|
|
25222
|
+
}),
|
|
25223
|
+
execute: (input, { client }) => {
|
|
25224
|
+
const data = input;
|
|
25225
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
25226
|
+
client.httpClient,
|
|
25227
|
+
client.organizationId,
|
|
25228
|
+
data.user_id,
|
|
25229
|
+
data,
|
|
25230
|
+
void 0
|
|
25231
|
+
]));
|
|
25232
|
+
}
|
|
25233
|
+
},
|
|
25234
|
+
{
|
|
25235
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
25236
|
+
family: "focus",
|
|
25237
|
+
resource: "time-off",
|
|
25238
|
+
action: "get-timeoff-categories",
|
|
25239
|
+
title: "Get Timeoff Categories Time Off",
|
|
25240
|
+
description: "Get Timeoff Categories Time Off.",
|
|
25241
|
+
safety: "read",
|
|
25242
|
+
destructive: false,
|
|
25243
|
+
cli: {
|
|
25244
|
+
group: ["time-off"],
|
|
25245
|
+
command: "get-timeoff-categories",
|
|
25246
|
+
interactive: "hidden"
|
|
25247
|
+
},
|
|
25248
|
+
mcp: { entityTool: "time-off" },
|
|
25249
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
25250
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
25251
|
+
client.httpClient,
|
|
25252
|
+
client.organizationId,
|
|
25253
|
+
void 0
|
|
25254
|
+
]))
|
|
25255
|
+
},
|
|
25256
|
+
{
|
|
25257
|
+
id: "focus.time-off.get-timeoff-category",
|
|
25258
|
+
family: "focus",
|
|
25259
|
+
resource: "time-off",
|
|
25260
|
+
action: "get-timeoff-category",
|
|
25261
|
+
title: "Get Timeoff Category Time Off",
|
|
25262
|
+
description: "Get Timeoff Category Time Off.",
|
|
25263
|
+
safety: "read",
|
|
25264
|
+
destructive: false,
|
|
25265
|
+
cli: {
|
|
25266
|
+
group: ["time-off"],
|
|
25267
|
+
command: "get-timeoff-category",
|
|
25268
|
+
interactive: "available"
|
|
25269
|
+
},
|
|
25270
|
+
mcp: { entityTool: "time-off" },
|
|
25271
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
25272
|
+
execute: (input, { client }) => {
|
|
25273
|
+
const data = input;
|
|
25274
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
25275
|
+
client.httpClient,
|
|
25276
|
+
client.organizationId,
|
|
25277
|
+
data.category_id,
|
|
25278
|
+
void 0
|
|
25279
|
+
]));
|
|
25280
|
+
}
|
|
25281
|
+
},
|
|
24760
25282
|
{
|
|
24761
25283
|
id: "focus.time-off.get-timeoff-for-user",
|
|
24762
25284
|
family: "focus",
|
|
@@ -25208,6 +25730,40 @@ const generatedFocusOperations = [
|
|
|
25208
25730
|
]));
|
|
25209
25731
|
}
|
|
25210
25732
|
},
|
|
25733
|
+
{
|
|
25734
|
+
id: "focus.timesheets.get-status-counts",
|
|
25735
|
+
family: "focus",
|
|
25736
|
+
resource: "timesheets",
|
|
25737
|
+
action: "get-status-counts",
|
|
25738
|
+
title: "Get Status Counts Timesheets",
|
|
25739
|
+
description: "Get Status Counts Timesheets.",
|
|
25740
|
+
safety: "read",
|
|
25741
|
+
destructive: false,
|
|
25742
|
+
cli: {
|
|
25743
|
+
group: ["timesheets"],
|
|
25744
|
+
command: "get-status-counts",
|
|
25745
|
+
interactive: "hidden"
|
|
25746
|
+
},
|
|
25747
|
+
mcp: { entityTool: "timesheets" },
|
|
25748
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
25749
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
25750
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
25751
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
25752
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
25753
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
25754
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
25755
|
+
}),
|
|
25756
|
+
execute: (input, { client }) => {
|
|
25757
|
+
const data = input;
|
|
25758
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
25759
|
+
client.httpClient,
|
|
25760
|
+
client.organizationId,
|
|
25761
|
+
client.workspaceIdNumber,
|
|
25762
|
+
data,
|
|
25763
|
+
void 0
|
|
25764
|
+
]));
|
|
25765
|
+
}
|
|
25766
|
+
},
|
|
25211
25767
|
{
|
|
25212
25768
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
25213
25769
|
family: "focus",
|
|
@@ -25757,6 +26313,33 @@ const generatedFocusOperations = [
|
|
|
25757
26313
|
]));
|
|
25758
26314
|
}
|
|
25759
26315
|
},
|
|
26316
|
+
{
|
|
26317
|
+
id: "focus.track-team-invites.post",
|
|
26318
|
+
family: "focus",
|
|
26319
|
+
resource: "track-team-invites",
|
|
26320
|
+
action: "post",
|
|
26321
|
+
title: "Post Track Team Invites",
|
|
26322
|
+
description: "Post Track Team Invites.",
|
|
26323
|
+
safety: "create",
|
|
26324
|
+
destructive: false,
|
|
26325
|
+
cli: {
|
|
26326
|
+
group: ["track-team-invites"],
|
|
26327
|
+
command: "post",
|
|
26328
|
+
interactive: "default"
|
|
26329
|
+
},
|
|
26330
|
+
mcp: { entityTool: "track-team-invites" },
|
|
26331
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
26332
|
+
execute: (input, { client }) => {
|
|
26333
|
+
const data = input;
|
|
26334
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
26335
|
+
client.httpClient,
|
|
26336
|
+
client.organizationId,
|
|
26337
|
+
client.workspaceIdNumber,
|
|
26338
|
+
data.payload ?? data.data ?? data,
|
|
26339
|
+
void 0
|
|
26340
|
+
]));
|
|
26341
|
+
}
|
|
26342
|
+
},
|
|
25760
26343
|
{
|
|
25761
26344
|
id: "focus.users.list",
|
|
25762
26345
|
family: "focus",
|
|
@@ -25778,6 +26361,56 @@ const generatedFocusOperations = [
|
|
|
25778
26361
|
return client.listOrgUsers(data);
|
|
25779
26362
|
}
|
|
25780
26363
|
},
|
|
26364
|
+
{
|
|
26365
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
26366
|
+
family: "focus",
|
|
26367
|
+
resource: "users",
|
|
26368
|
+
action: "settings-email-unsubscribe",
|
|
26369
|
+
title: "Settings Email Unsubscribe Users",
|
|
26370
|
+
description: "Settings Email Unsubscribe Users.",
|
|
26371
|
+
safety: "update",
|
|
26372
|
+
destructive: false,
|
|
26373
|
+
cli: {
|
|
26374
|
+
group: ["users", "settings"],
|
|
26375
|
+
command: "email-unsubscribe",
|
|
26376
|
+
interactive: "default"
|
|
26377
|
+
},
|
|
26378
|
+
mcp: { entityTool: "users" },
|
|
26379
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26380
|
+
execute: (input, { client }) => {
|
|
26381
|
+
const data = input;
|
|
26382
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
26383
|
+
client.httpClient,
|
|
26384
|
+
data.token,
|
|
26385
|
+
void 0
|
|
26386
|
+
]));
|
|
26387
|
+
}
|
|
26388
|
+
},
|
|
26389
|
+
{
|
|
26390
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
26391
|
+
family: "focus",
|
|
26392
|
+
resource: "users",
|
|
26393
|
+
action: "settings-email-unsubscribe-page",
|
|
26394
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
26395
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
26396
|
+
safety: "read",
|
|
26397
|
+
destructive: false,
|
|
26398
|
+
cli: {
|
|
26399
|
+
group: ["users", "settings"],
|
|
26400
|
+
command: "email-unsubscribe-page",
|
|
26401
|
+
interactive: "available"
|
|
26402
|
+
},
|
|
26403
|
+
mcp: { entityTool: "users" },
|
|
26404
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
26405
|
+
execute: (input, { client }) => {
|
|
26406
|
+
const data = input;
|
|
26407
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
26408
|
+
client.httpClient,
|
|
26409
|
+
data.token,
|
|
26410
|
+
void 0
|
|
26411
|
+
]));
|
|
26412
|
+
}
|
|
26413
|
+
},
|
|
25781
26414
|
{
|
|
25782
26415
|
id: "focus.users.settings-list",
|
|
25783
26416
|
family: "focus",
|
|
@@ -25839,6 +26472,9 @@ const generatedFocusOperations = [
|
|
|
25839
26472
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25840
26473
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25841
26474
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26475
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26476
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26477
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25842
26478
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25843
26479
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25844
26480
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -26037,6 +26673,38 @@ const generatedFocusOperations = [
|
|
|
26037
26673
|
]));
|
|
26038
26674
|
}
|
|
26039
26675
|
},
|
|
26676
|
+
{
|
|
26677
|
+
id: "focus.working-hours.replace-working-hours-for-users",
|
|
26678
|
+
family: "focus",
|
|
26679
|
+
resource: "working-hours",
|
|
26680
|
+
action: "replace-working-hours-for-users",
|
|
26681
|
+
title: "Replace Working Hours For Users Working Hours",
|
|
26682
|
+
description: "Replace Working Hours For Users Working Hours.",
|
|
26683
|
+
safety: "update",
|
|
26684
|
+
destructive: false,
|
|
26685
|
+
cli: {
|
|
26686
|
+
group: ["working-hours"],
|
|
26687
|
+
command: "replace-working-hours-for-users",
|
|
26688
|
+
interactive: "default"
|
|
26689
|
+
},
|
|
26690
|
+
mcp: { entityTool: "working-hours" },
|
|
26691
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
26692
|
+
schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
26693
|
+
working_hours: /* @__PURE__ */ number$2(),
|
|
26694
|
+
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
26695
|
+
})),
|
|
26696
|
+
user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
26697
|
+
}) }),
|
|
26698
|
+
execute: (input, { client }) => {
|
|
26699
|
+
const data = input;
|
|
26700
|
+
return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
|
|
26701
|
+
client.httpClient,
|
|
26702
|
+
client.organizationId,
|
|
26703
|
+
data.payload ?? data.data ?? data,
|
|
26704
|
+
void 0
|
|
26705
|
+
]));
|
|
26706
|
+
}
|
|
26707
|
+
},
|
|
26040
26708
|
{
|
|
26041
26709
|
id: "focus.working-hours.update-for-user",
|
|
26042
26710
|
family: "focus",
|
|
@@ -27894,4 +28562,4 @@ Common commands:
|
|
|
27894
28562
|
//#endregion
|
|
27895
28563
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27896
28564
|
|
|
27897
|
-
//# sourceMappingURL=program-
|
|
28565
|
+
//# sourceMappingURL=program-DZRPb9Vl.js.map
|