@togglhq/mcp 1.11.93 → 1.11.94
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 +2 -2
- package/build/index.js +1 -1
- package/build/{src-Bxq_orDH.js → src-CTYPIYWG.js} +930 -1598
- package/package.json +1 -1
|
@@ -34683,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34683
34683
|
name: /* @__PURE__ */ string(),
|
|
34684
34684
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34685
34685
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34686
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34687
34686
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34688
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34689
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34770,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34770
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34771
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34772
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34773
|
-
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."))),
|
|
34774
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34775
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34776
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34832,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34832
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34833
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34834
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34835
|
-
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."))),
|
|
34836
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34837
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34838
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34993,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34993
34990
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34994
34991
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34995
34992
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34996
|
-
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."))),
|
|
34997
|
-
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."))),
|
|
34998
34993
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34999
34994
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35000
34995
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35009,21 +35004,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
35009
35004
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
35010
35005
|
});
|
|
35011
35006
|
const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
|
|
35012
|
-
aggregation: /* @__PURE__ */
|
|
35007
|
+
aggregation: /* @__PURE__ */ object({
|
|
35013
35008
|
function: /* @__PURE__ */ string(),
|
|
35014
35009
|
property: /* @__PURE__ */ string()
|
|
35015
|
-
})
|
|
35016
|
-
conditions: /* @__PURE__ */
|
|
35017
|
-
operator: /* @__PURE__ */
|
|
35018
|
-
property: /* @__PURE__ */
|
|
35019
|
-
value: /* @__PURE__ */
|
|
35010
|
+
}),
|
|
35011
|
+
conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
|
|
35012
|
+
operator: /* @__PURE__ */ string(),
|
|
35013
|
+
property: /* @__PURE__ */ string(),
|
|
35014
|
+
value: /* @__PURE__ */ unknown()
|
|
35020
35015
|
});
|
|
35021
35016
|
const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
|
|
35022
35017
|
const DtoFilterRequestSchema = /* @__PURE__ */ object({
|
|
35023
|
-
conditions: /* @__PURE__ */
|
|
35024
|
-
operator: /* @__PURE__ */
|
|
35025
|
-
property: /* @__PURE__ */
|
|
35026
|
-
value: /* @__PURE__ */
|
|
35018
|
+
conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
|
|
35019
|
+
operator: /* @__PURE__ */ string(),
|
|
35020
|
+
property: /* @__PURE__ */ string(),
|
|
35021
|
+
value: /* @__PURE__ */ unknown()
|
|
35027
35022
|
});
|
|
35028
35023
|
const ClientSchema = /* @__PURE__ */ object({
|
|
35029
35024
|
active: /* @__PURE__ */ boolean(),
|
|
@@ -35080,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35080
35075
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35081
35076
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35082
35077
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35083
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35084
35078
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35085
35079
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35086
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35087
35080
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35088
35081
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35089
35082
|
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)."))),
|
|
@@ -35139,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35139
35132
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35140
35133
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35141
35134
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35142
|
-
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."))),
|
|
35143
|
-
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."))),
|
|
35144
35135
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35145
35136
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35146
35137
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35313,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35313
35304
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35314
35305
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35315
35306
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35307
|
+
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
|
+
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35316
35309
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35317
35310
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35318
35311
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35369,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35369
35362
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35370
35363
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35371
35364
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35372
|
-
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."))),
|
|
35373
35365
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35374
35366
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35375
35367
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35406,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35406
35398
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35407
35399
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35408
35400
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
-
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."))),
|
|
35410
35401
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35411
35402
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35412
35403
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35427,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35427
35418
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35428
35419
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35429
35420
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35430
35422
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35431
35423
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35432
35424
|
});
|
|
@@ -35455,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35455
35447
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35456
35448
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35457
35449
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35458
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35450
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35451
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35459
35452
|
});
|
|
35460
35453
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35461
35454
|
//#endregion
|
|
@@ -37329,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37329
37322
|
})
|
|
37330
37323
|
}).json();
|
|
37331
37324
|
}
|
|
37332
|
-
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,
|
|
37325
|
+
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) {
|
|
37333
37326
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37334
37327
|
signal,
|
|
37335
37328
|
searchParams: buildSearchParams$2({
|
|
@@ -37350,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37350
37343
|
include_rates,
|
|
37351
37344
|
pinned_ids,
|
|
37352
37345
|
has_group,
|
|
37353
|
-
track_without_focus,
|
|
37354
37346
|
cf_filter,
|
|
37355
37347
|
include_custom_fields,
|
|
37356
37348
|
include_calendar_integration
|
|
@@ -37452,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37452
37444
|
}
|
|
37453
37445
|
//#endregion
|
|
37454
37446
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37455
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, {
|
|
37447
|
+
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) {
|
|
37456
37448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37457
37449
|
signal,
|
|
37458
37450
|
searchParams: buildSearchParams$2({
|
|
37459
|
-
include_task_counts,
|
|
37460
|
-
include_picker_parent_group_counts,
|
|
37461
|
-
task_archived,
|
|
37462
|
-
task_recurring,
|
|
37463
|
-
task_state,
|
|
37464
|
-
task_source,
|
|
37465
|
-
task_assignee_user_id,
|
|
37466
|
-
task_assignee_team_id,
|
|
37467
|
-
task_include_unassigned,
|
|
37468
|
-
task_name,
|
|
37469
37451
|
page,
|
|
37470
37452
|
per_page,
|
|
37471
37453
|
order_by,
|
|
@@ -37715,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37715
37697
|
}
|
|
37716
37698
|
//#endregion
|
|
37717
37699
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37718
|
-
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
|
|
37700
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, timeblock_start_from, timeblock_start_until, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter } = {}, signal) {
|
|
37719
37701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37720
37702
|
signal,
|
|
37721
37703
|
searchParams: buildSearchParams$2({
|
|
@@ -37728,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37728
37710
|
toggl_user_id,
|
|
37729
37711
|
name,
|
|
37730
37712
|
has_time_entries,
|
|
37713
|
+
has_time_blocks,
|
|
37731
37714
|
has_dates,
|
|
37732
37715
|
private: private_,
|
|
37733
37716
|
archived,
|
|
@@ -37750,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37750
37733
|
priority,
|
|
37751
37734
|
is_priority,
|
|
37752
37735
|
state,
|
|
37736
|
+
timeblock_start_from,
|
|
37737
|
+
timeblock_start_until,
|
|
37738
|
+
time_block_id,
|
|
37739
|
+
time_block_completed,
|
|
37753
37740
|
team_id,
|
|
37754
37741
|
assignee_team_id,
|
|
37755
37742
|
assignee_user_id,
|
|
@@ -37761,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37761
37748
|
include_assignees,
|
|
37762
37749
|
include_parent_matches,
|
|
37763
37750
|
disable_aggregations,
|
|
37764
|
-
cf_filter
|
|
37765
|
-
recurring_occurrences_after,
|
|
37766
|
-
max_recurring_occurrences_after,
|
|
37767
|
-
recurring_task_read,
|
|
37768
|
-
include_projected_occurrences
|
|
37751
|
+
cf_filter
|
|
37769
37752
|
})
|
|
37770
37753
|
}).json();
|
|
37771
37754
|
}
|
|
@@ -37840,46 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37840
37823
|
})
|
|
37841
37824
|
}).json();
|
|
37842
37825
|
}
|
|
37843
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
37826
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37844
37827
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37845
37828
|
signal,
|
|
37846
37829
|
searchParams: buildSearchParams$2({
|
|
37847
37830
|
date_from,
|
|
37848
|
-
date_to
|
|
37849
|
-
skip_provider_refresh
|
|
37850
|
-
})
|
|
37851
|
-
}).json();
|
|
37852
|
-
}
|
|
37853
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37854
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37855
|
-
signal,
|
|
37856
|
-
searchParams: buildSearchParams$2({
|
|
37857
|
-
project_id,
|
|
37858
|
-
without_project,
|
|
37859
|
-
pinned_only,
|
|
37860
|
-
include_unassigned,
|
|
37861
|
-
search,
|
|
37862
|
-
only_me,
|
|
37863
|
-
page,
|
|
37864
|
-
per_page
|
|
37865
|
-
})
|
|
37866
|
-
}).json();
|
|
37867
|
-
}
|
|
37868
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37869
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37870
|
-
signal,
|
|
37871
|
-
searchParams: buildSearchParams$2({
|
|
37872
|
-
project_id,
|
|
37873
|
-
without_project,
|
|
37874
|
-
include_unassigned,
|
|
37875
|
-
search,
|
|
37876
|
-
only_me,
|
|
37877
|
-
page,
|
|
37878
|
-
per_page
|
|
37831
|
+
date_to
|
|
37879
37832
|
})
|
|
37880
37833
|
}).json();
|
|
37881
37834
|
}
|
|
37882
|
-
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
|
|
37835
|
+
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) {
|
|
37883
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37884
37837
|
signal,
|
|
37885
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37895,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37895
37848
|
assignee_team_id,
|
|
37896
37849
|
assignee_user_id,
|
|
37897
37850
|
tag_id,
|
|
37898
|
-
include_assignees
|
|
37899
|
-
recurring_occurrences_after,
|
|
37900
|
-
max_recurring_occurrences_after,
|
|
37901
|
-
recurring_task_read,
|
|
37902
|
-
include_projected_occurrences
|
|
37851
|
+
include_assignees
|
|
37903
37852
|
})
|
|
37904
37853
|
}).json();
|
|
37905
37854
|
}
|
|
37906
|
-
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
|
|
37855
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter } = {}, signal) {
|
|
37907
37856
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37908
37857
|
signal,
|
|
37909
37858
|
searchParams: buildSearchParams$2({
|
|
@@ -37915,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37915
37864
|
name,
|
|
37916
37865
|
include_parent_matches,
|
|
37917
37866
|
has_time_entries,
|
|
37867
|
+
has_time_blocks,
|
|
37918
37868
|
has_dates,
|
|
37919
37869
|
private: private_,
|
|
37920
37870
|
archived,
|
|
@@ -37937,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37937
37887
|
priority,
|
|
37938
37888
|
is_priority,
|
|
37939
37889
|
state,
|
|
37890
|
+
time_block_id,
|
|
37891
|
+
time_block_completed,
|
|
37940
37892
|
team_id,
|
|
37941
37893
|
assignee_team_id,
|
|
37942
37894
|
assignee_user_id,
|
|
@@ -37945,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37945
37897
|
recurring_task_ids,
|
|
37946
37898
|
client_id,
|
|
37947
37899
|
include_assignees,
|
|
37948
|
-
cf_filter
|
|
37949
|
-
recurring_occurrences_after,
|
|
37950
|
-
max_recurring_occurrences_after,
|
|
37951
|
-
recurring_task_read,
|
|
37952
|
-
include_projected_occurrences
|
|
37900
|
+
cf_filter
|
|
37953
37901
|
})
|
|
37954
37902
|
}).json();
|
|
37955
37903
|
}
|
|
@@ -38004,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38004
37952
|
})
|
|
38005
37953
|
}).json();
|
|
38006
37954
|
}
|
|
38007
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38008
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38009
|
-
signal,
|
|
38010
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38011
|
-
}).json();
|
|
38012
|
-
}
|
|
38013
37955
|
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) {
|
|
38014
37956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38015
37957
|
signal,
|
|
@@ -38035,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
38035
37977
|
}
|
|
38036
37978
|
//#endregion
|
|
38037
37979
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
38038
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37980
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived, time_block_id } = {}, signal) {
|
|
38039
37981
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38040
37982
|
signal,
|
|
38041
37983
|
searchParams: buildSearchParams$2({
|
|
@@ -38043,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38043
37985
|
per_page,
|
|
38044
37986
|
order_by,
|
|
38045
37987
|
type,
|
|
38046
|
-
archived
|
|
37988
|
+
archived,
|
|
37989
|
+
time_block_id
|
|
38047
37990
|
})
|
|
38048
37991
|
}).json();
|
|
38049
37992
|
}
|
|
38050
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
37993
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38051
37994
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38052
37995
|
signal,
|
|
38053
|
-
json: data
|
|
38054
|
-
searchParams: buildSearchParams$2({
|
|
38055
|
-
from_recurring_task_id,
|
|
38056
|
-
return_occurrence
|
|
38057
|
-
})
|
|
37996
|
+
json: data
|
|
38058
37997
|
}).json();
|
|
38059
37998
|
}
|
|
38060
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
37999
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38061
38000
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38062
38001
|
signal,
|
|
38063
|
-
json: data
|
|
38064
|
-
searchParams: buildSearchParams$2({
|
|
38065
|
-
from_recurring_task_id,
|
|
38066
|
-
return_occurrence
|
|
38067
|
-
})
|
|
38002
|
+
json: data
|
|
38068
38003
|
}).json();
|
|
38069
38004
|
}
|
|
38070
38005
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38115,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38115
38050
|
json: data
|
|
38116
38051
|
}).json();
|
|
38117
38052
|
}
|
|
38118
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id,
|
|
38053
|
+
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) {
|
|
38119
38054
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38120
38055
|
signal,
|
|
38121
38056
|
searchParams: buildSearchParams$2({
|
|
@@ -38123,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38123
38058
|
date_to,
|
|
38124
38059
|
task_id,
|
|
38125
38060
|
status_id,
|
|
38126
|
-
project_id,
|
|
38127
38061
|
type,
|
|
38128
38062
|
order_by,
|
|
38129
38063
|
archived,
|
|
@@ -38138,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38138
38072
|
json: data
|
|
38139
38073
|
}).json();
|
|
38140
38074
|
}
|
|
38075
|
+
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
|
+
signal,
|
|
38078
|
+
searchParams: buildSearchParams$2({ time_block_id })
|
|
38079
|
+
}).json();
|
|
38080
|
+
}
|
|
38141
38081
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38142
38082
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38143
38083
|
}
|
|
38144
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38084
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38145
38085
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38146
38086
|
signal,
|
|
38147
|
-
json: data
|
|
38148
|
-
searchParams: buildSearchParams$2({
|
|
38149
|
-
from_recurring_task_id,
|
|
38150
|
-
return_occurrence
|
|
38151
|
-
})
|
|
38087
|
+
json: data
|
|
38152
38088
|
}).json();
|
|
38153
38089
|
}
|
|
38154
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38155
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38156
|
-
signal,
|
|
38157
|
-
searchParams: buildSearchParams$2({
|
|
38158
|
-
from_recurring_task_id,
|
|
38159
|
-
return_occurrence
|
|
38160
|
-
})
|
|
38161
|
-
}).json();
|
|
38090
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38091
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38162
38092
|
}
|
|
38163
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data,
|
|
38093
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38164
38094
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38165
38095
|
signal,
|
|
38166
|
-
json: data
|
|
38167
|
-
searchParams: buildSearchParams$2({
|
|
38168
|
-
from_recurring_task_id,
|
|
38169
|
-
return_occurrence
|
|
38170
|
-
})
|
|
38096
|
+
json: data
|
|
38171
38097
|
}).json();
|
|
38172
38098
|
}
|
|
38173
38099
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -41993,15 +41919,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41993
41919
|
}
|
|
41994
41920
|
//#endregion
|
|
41995
41921
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41996
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id,
|
|
41922
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41997
41923
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41998
41924
|
signal,
|
|
41999
41925
|
searchParams: buildSearchParams$2({
|
|
42000
41926
|
workspace_id,
|
|
42001
41927
|
entity_type,
|
|
42002
41928
|
entity_id,
|
|
42003
|
-
project_id,
|
|
42004
|
-
custom_field_id,
|
|
42005
41929
|
action,
|
|
42006
41930
|
user_id,
|
|
42007
41931
|
page_size,
|
|
@@ -42010,14 +41934,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42010
41934
|
})
|
|
42011
41935
|
}).json();
|
|
42012
41936
|
}
|
|
42013
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id,
|
|
41937
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42014
41938
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42015
41939
|
signal,
|
|
42016
41940
|
searchParams: buildSearchParams$2({
|
|
42017
41941
|
entity_type,
|
|
42018
41942
|
entity_id,
|
|
42019
|
-
project_id,
|
|
42020
|
-
custom_field_id,
|
|
42021
41943
|
action,
|
|
42022
41944
|
user_id,
|
|
42023
41945
|
page_size,
|
|
@@ -42170,14 +42092,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42170
42092
|
}
|
|
42171
42093
|
//#endregion
|
|
42172
42094
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42173
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date,
|
|
42095
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { user_id, start_date, end_date, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42174
42096
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42175
42097
|
signal,
|
|
42176
42098
|
searchParams: buildSearchParams$2({
|
|
42099
|
+
user_id,
|
|
42177
42100
|
start_date,
|
|
42178
42101
|
end_date,
|
|
42179
|
-
user_id,
|
|
42180
|
-
team_id,
|
|
42181
42102
|
private: private_,
|
|
42182
42103
|
task_source,
|
|
42183
42104
|
unit,
|
|
@@ -42237,15 +42158,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42237
42158
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42238
42159
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42239
42160
|
}
|
|
42240
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42241
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42242
|
-
}
|
|
42243
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42244
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42245
|
-
signal,
|
|
42246
|
-
json: data
|
|
42247
|
-
}).json();
|
|
42248
|
-
}
|
|
42249
42161
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42250
42162
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42251
42163
|
signal,
|
|
@@ -42285,61 +42197,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
42285
42197
|
}).json();
|
|
42286
42198
|
}
|
|
42287
42199
|
//#endregion
|
|
42288
|
-
//#region ../focus-queries/dist/designations/requests.ts
|
|
42289
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42290
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42291
|
-
signal,
|
|
42292
|
-
searchParams: buildSearchParams$2({
|
|
42293
|
-
name,
|
|
42294
|
-
page,
|
|
42295
|
-
per_page,
|
|
42296
|
-
order_by
|
|
42297
|
-
})
|
|
42298
|
-
}).json();
|
|
42299
|
-
}
|
|
42300
|
-
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
42301
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42302
|
-
signal,
|
|
42303
|
-
json: data
|
|
42304
|
-
}).json();
|
|
42305
|
-
}
|
|
42306
|
-
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42307
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42308
|
-
signal,
|
|
42309
|
-
json: data
|
|
42310
|
-
}).json();
|
|
42311
|
-
}
|
|
42312
|
-
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
42313
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42314
|
-
signal,
|
|
42315
|
-
searchParams: buildSearchParams$2({
|
|
42316
|
-
ids,
|
|
42317
|
-
all_or_none
|
|
42318
|
-
})
|
|
42319
|
-
}).json();
|
|
42320
|
-
}
|
|
42321
|
-
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42322
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42323
|
-
signal,
|
|
42324
|
-
json: data
|
|
42325
|
-
}).json();
|
|
42326
|
-
}
|
|
42327
|
-
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
42328
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
42329
|
-
signal,
|
|
42330
|
-
json: data
|
|
42331
|
-
}).json();
|
|
42332
|
-
}
|
|
42333
|
-
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
42334
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
42335
|
-
}
|
|
42336
|
-
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
42337
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
42338
|
-
signal,
|
|
42339
|
-
json: data
|
|
42340
|
-
}).json();
|
|
42341
|
-
}
|
|
42342
|
-
//#endregion
|
|
42343
42200
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42344
42201
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
42345
42202
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -42564,7 +42421,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42564
42421
|
}
|
|
42565
42422
|
//#endregion
|
|
42566
42423
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42567
|
-
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,
|
|
42424
|
+
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) {
|
|
42568
42425
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42569
42426
|
signal,
|
|
42570
42427
|
searchParams: buildSearchParams$2({
|
|
@@ -42590,7 +42447,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42590
42447
|
user_id,
|
|
42591
42448
|
only_me,
|
|
42592
42449
|
include_drafts,
|
|
42593
|
-
include_recurring_series,
|
|
42594
42450
|
cf_filter
|
|
42595
42451
|
})
|
|
42596
42452
|
}).json();
|
|
@@ -42609,6 +42465,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42609
42465
|
json: data
|
|
42610
42466
|
}).json();
|
|
42611
42467
|
}
|
|
42468
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42469
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42470
|
+
}
|
|
42612
42471
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42613
42472
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42614
42473
|
}
|
|
@@ -42634,37 +42493,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42634
42493
|
}).json();
|
|
42635
42494
|
}
|
|
42636
42495
|
//#endregion
|
|
42637
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42638
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42639
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42640
|
-
}
|
|
42641
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42642
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42643
|
-
signal,
|
|
42644
|
-
json: data,
|
|
42645
|
-
searchParams: buildSearchParams$2({
|
|
42646
|
-
response_format,
|
|
42647
|
-
include_dicts
|
|
42648
|
-
})
|
|
42649
|
-
}).json();
|
|
42650
|
-
}
|
|
42651
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42652
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
42653
|
-
signal,
|
|
42654
|
-
json: data,
|
|
42655
|
-
searchParams: buildSearchParams$2({
|
|
42656
|
-
response_format,
|
|
42657
|
-
include_dicts
|
|
42658
|
-
})
|
|
42659
|
-
}).json();
|
|
42660
|
-
}
|
|
42661
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42662
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
42663
|
-
signal,
|
|
42664
|
-
json: data
|
|
42665
|
-
}).json();
|
|
42666
|
-
}
|
|
42667
|
-
//#endregion
|
|
42668
42496
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42669
42497
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42670
42498
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42826,7 +42654,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42826
42654
|
}
|
|
42827
42655
|
//#endregion
|
|
42828
42656
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42829
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id,
|
|
42657
|
+
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) {
|
|
42830
42658
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42831
42659
|
signal,
|
|
42832
42660
|
searchParams: buildSearchParams$2({
|
|
@@ -42834,7 +42662,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42834
42662
|
per_group,
|
|
42835
42663
|
assignee_user_id,
|
|
42836
42664
|
assignee_team_id,
|
|
42837
|
-
include_unassigned,
|
|
42838
42665
|
project_id,
|
|
42839
42666
|
task_id,
|
|
42840
42667
|
include_drafts,
|
|
@@ -42879,18 +42706,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42879
42706
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42880
42707
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42881
42708
|
}
|
|
42882
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42883
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42884
|
-
}
|
|
42885
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42886
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42887
|
-
}
|
|
42888
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42889
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42890
|
-
signal,
|
|
42891
|
-
json: data
|
|
42892
|
-
}).json();
|
|
42893
|
-
}
|
|
42894
42709
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42895
42710
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42896
42711
|
signal,
|
|
@@ -42900,21 +42715,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42900
42715
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42901
42716
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42902
42717
|
}
|
|
42903
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42904
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42905
|
-
signal,
|
|
42906
|
-
json: data
|
|
42907
|
-
}).json();
|
|
42908
|
-
}
|
|
42909
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42910
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42911
|
-
}
|
|
42912
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42913
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42914
|
-
signal,
|
|
42915
|
-
json: data
|
|
42916
|
-
}).json();
|
|
42917
|
-
}
|
|
42918
42718
|
//#endregion
|
|
42919
42719
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42920
42720
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42971,10 +42771,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42971
42771
|
}
|
|
42972
42772
|
//#endregion
|
|
42973
42773
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42974
|
-
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
|
|
42774
|
+
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) {
|
|
42975
42775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42976
42776
|
signal,
|
|
42977
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42978
42777
|
searchParams: buildSearchParams$2({
|
|
42979
42778
|
project_id,
|
|
42980
42779
|
source,
|
|
@@ -43003,18 +42802,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43003
42802
|
min_days,
|
|
43004
42803
|
include_drafts,
|
|
43005
42804
|
cf_filter,
|
|
43006
|
-
user_cf_filter
|
|
43007
|
-
recurring_occurrences_after,
|
|
43008
|
-
max_recurring_occurrences_after,
|
|
43009
|
-
recurring_task_read,
|
|
43010
|
-
include_projected_occurrences
|
|
42805
|
+
user_cf_filter
|
|
43011
42806
|
})
|
|
43012
42807
|
}).json();
|
|
43013
42808
|
}
|
|
43014
|
-
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
|
|
42809
|
+
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) {
|
|
43015
42810
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43016
42811
|
signal,
|
|
43017
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43018
42812
|
searchParams: buildSearchParams$2({
|
|
43019
42813
|
team_id,
|
|
43020
42814
|
project_id,
|
|
@@ -43043,18 +42837,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43043
42837
|
min_days,
|
|
43044
42838
|
include_drafts,
|
|
43045
42839
|
cf_filter,
|
|
43046
|
-
user_cf_filter
|
|
43047
|
-
recurring_occurrences_after,
|
|
43048
|
-
max_recurring_occurrences_after,
|
|
43049
|
-
recurring_task_read,
|
|
43050
|
-
include_projected_occurrences
|
|
42840
|
+
user_cf_filter
|
|
43051
42841
|
})
|
|
43052
42842
|
}).json();
|
|
43053
42843
|
}
|
|
43054
|
-
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,
|
|
42844
|
+
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) {
|
|
43055
42845
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43056
42846
|
signal,
|
|
43057
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43058
42847
|
searchParams: buildSearchParams$2({
|
|
43059
42848
|
source,
|
|
43060
42849
|
priority,
|
|
@@ -43084,10 +42873,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43084
42873
|
include_drafts,
|
|
43085
42874
|
cf_filter,
|
|
43086
42875
|
user_cf_filter,
|
|
43087
|
-
recurring_occurrences_after,
|
|
43088
|
-
max_recurring_occurrences_after,
|
|
43089
|
-
recurring_task_read,
|
|
43090
|
-
include_projected_occurrences,
|
|
43091
42876
|
page,
|
|
43092
42877
|
per_page,
|
|
43093
42878
|
order_by
|
|
@@ -43115,6 +42900,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
43115
42900
|
}).json();
|
|
43116
42901
|
}
|
|
43117
42902
|
//#endregion
|
|
42903
|
+
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42904
|
+
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42905
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42906
|
+
signal,
|
|
42907
|
+
searchParams: buildSearchParams$2({
|
|
42908
|
+
page,
|
|
42909
|
+
per_page,
|
|
42910
|
+
order_by,
|
|
42911
|
+
archived
|
|
42912
|
+
})
|
|
42913
|
+
}).json();
|
|
42914
|
+
}
|
|
42915
|
+
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42916
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42917
|
+
signal,
|
|
42918
|
+
json: data
|
|
42919
|
+
}).json();
|
|
42920
|
+
}
|
|
42921
|
+
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42922
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42923
|
+
}
|
|
42924
|
+
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42925
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42926
|
+
signal,
|
|
42927
|
+
json: data
|
|
42928
|
+
}).json();
|
|
42929
|
+
}
|
|
42930
|
+
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42931
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42932
|
+
signal,
|
|
42933
|
+
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42934
|
+
}).json();
|
|
42935
|
+
}
|
|
42936
|
+
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42937
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42938
|
+
signal,
|
|
42939
|
+
json: data
|
|
42940
|
+
}).json();
|
|
42941
|
+
}
|
|
42942
|
+
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42943
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42944
|
+
}
|
|
42945
|
+
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42946
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42947
|
+
}
|
|
42948
|
+
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42949
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42950
|
+
}
|
|
42951
|
+
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42952
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42953
|
+
signal,
|
|
42954
|
+
searchParams: buildSearchParams$2({
|
|
42955
|
+
date_from,
|
|
42956
|
+
date_to,
|
|
42957
|
+
task_id,
|
|
42958
|
+
status_id,
|
|
42959
|
+
page,
|
|
42960
|
+
per_page,
|
|
42961
|
+
archived,
|
|
42962
|
+
order_by
|
|
42963
|
+
})
|
|
42964
|
+
}).json();
|
|
42965
|
+
}
|
|
42966
|
+
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42967
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42968
|
+
signal,
|
|
42969
|
+
json: data
|
|
42970
|
+
}).json();
|
|
42971
|
+
}
|
|
42972
|
+
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42973
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42974
|
+
signal,
|
|
42975
|
+
searchParams: buildSearchParams$2({
|
|
42976
|
+
ids,
|
|
42977
|
+
outbound_sync
|
|
42978
|
+
})
|
|
42979
|
+
}).json();
|
|
42980
|
+
}
|
|
42981
|
+
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42982
|
+
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42983
|
+
signal,
|
|
42984
|
+
json: data
|
|
42985
|
+
}).json();
|
|
42986
|
+
}
|
|
42987
|
+
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42988
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42989
|
+
signal,
|
|
42990
|
+
searchParams: buildSearchParams$2({
|
|
42991
|
+
date_from,
|
|
42992
|
+
date_to,
|
|
42993
|
+
task_id,
|
|
42994
|
+
status_id,
|
|
42995
|
+
archived,
|
|
42996
|
+
order_by
|
|
42997
|
+
})
|
|
42998
|
+
}).json();
|
|
42999
|
+
}
|
|
43000
|
+
//#endregion
|
|
43118
43001
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
43119
43002
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
43120
43003
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43152,12 +43035,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
43152
43035
|
})
|
|
43153
43036
|
}).json();
|
|
43154
43037
|
}
|
|
43155
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
43156
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
43157
|
-
}
|
|
43158
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
43159
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
43160
|
-
}
|
|
43161
43038
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
43162
43039
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
43163
43040
|
signal,
|
|
@@ -43185,26 +43062,6 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43185
43062
|
json: data
|
|
43186
43063
|
}).json();
|
|
43187
43064
|
}
|
|
43188
|
-
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
43189
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
43190
|
-
signal,
|
|
43191
|
-
searchParams: buildSearchParams$2({
|
|
43192
|
-
category_id,
|
|
43193
|
-
date
|
|
43194
|
-
})
|
|
43195
|
-
}).json();
|
|
43196
|
-
}
|
|
43197
|
-
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
43198
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
43199
|
-
signal,
|
|
43200
|
-
searchParams: buildSearchParams$2({
|
|
43201
|
-
category_id,
|
|
43202
|
-
year,
|
|
43203
|
-
page,
|
|
43204
|
-
rows
|
|
43205
|
-
})
|
|
43206
|
-
}).json();
|
|
43207
|
-
}
|
|
43208
43065
|
//#endregion
|
|
43209
43066
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43210
43067
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43305,19 +43162,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43305
43162
|
json: data
|
|
43306
43163
|
}).json();
|
|
43307
43164
|
}
|
|
43308
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43309
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43310
|
-
signal,
|
|
43311
|
-
searchParams: buildSearchParams$2({
|
|
43312
|
-
date_from,
|
|
43313
|
-
date_to,
|
|
43314
|
-
setup_id,
|
|
43315
|
-
user_account_ids,
|
|
43316
|
-
approver_user_account_ids,
|
|
43317
|
-
team_ids
|
|
43318
|
-
})
|
|
43319
|
-
}).json();
|
|
43320
|
-
}
|
|
43321
43165
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43322
43166
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43323
43167
|
}
|
|
@@ -43361,21 +43205,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43361
43205
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43362
43206
|
}
|
|
43363
43207
|
//#endregion
|
|
43364
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43365
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43366
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43367
|
-
signal,
|
|
43368
|
-
json: data
|
|
43369
|
-
}).json();
|
|
43370
|
-
}
|
|
43371
|
-
//#endregion
|
|
43372
43208
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43373
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43374
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43375
|
-
}
|
|
43376
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43377
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43378
|
-
}
|
|
43379
43209
|
async function getUserSettings(httpClient, signal) {
|
|
43380
43210
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43381
43211
|
}
|
|
@@ -43403,12 +43233,6 @@ async function serviceVersion(httpClient, signal) {
|
|
|
43403
43233
|
}
|
|
43404
43234
|
//#endregion
|
|
43405
43235
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
43406
|
-
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
43407
|
-
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
43408
|
-
signal,
|
|
43409
|
-
json: data
|
|
43410
|
-
}).json();
|
|
43411
|
-
}
|
|
43412
43236
|
async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
|
|
43413
43237
|
return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
|
|
43414
43238
|
}
|
|
@@ -43621,7 +43445,6 @@ const generatedFocusOperations = [
|
|
|
43621
43445
|
mcp: { entityTool: "audit-log" },
|
|
43622
43446
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43623
43447
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43624
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43625
43448
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43626
43449
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43627
43450
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43629,7 +43452,6 @@ const generatedFocusOperations = [
|
|
|
43629
43452
|
from: /* @__PURE__ */ string$1(),
|
|
43630
43453
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43631
43454
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43632
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43633
43455
|
to: /* @__PURE__ */ string$1(),
|
|
43634
43456
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43635
43457
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43663,7 +43485,6 @@ const generatedFocusOperations = [
|
|
|
43663
43485
|
mcp: { entityTool: "audit-log" },
|
|
43664
43486
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43665
43487
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43666
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43667
43488
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43668
43489
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43669
43490
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43671,7 +43492,6 @@ const generatedFocusOperations = [
|
|
|
43671
43492
|
from: /* @__PURE__ */ string$1(),
|
|
43672
43493
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43673
43494
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43674
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43675
43495
|
to: /* @__PURE__ */ string$1(),
|
|
43676
43496
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43677
43497
|
}),
|
|
@@ -43711,7 +43531,6 @@ const generatedFocusOperations = [
|
|
|
43711
43531
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43712
43532
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43713
43533
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43714
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43715
43534
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43716
43535
|
user_id: /* @__PURE__ */ number$2()
|
|
43717
43536
|
}),
|
|
@@ -43961,6 +43780,8 @@ const generatedFocusOperations = [
|
|
|
43961
43780
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43962
43781
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43963
43782
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43783
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43784
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43964
43785
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43965
43786
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43966
43787
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43994,6 +43815,8 @@ const generatedFocusOperations = [
|
|
|
43994
43815
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43995
43816
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43996
43817
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43818
|
+
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43819
|
+
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43997
43820
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43998
43821
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43999
43822
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -44009,6 +43832,12 @@ const generatedFocusOperations = [
|
|
|
44009
43832
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44010
43833
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44011
43834
|
}))),
|
|
43835
|
+
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43836
|
+
start: apiDateTimeString,
|
|
43837
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43838
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43839
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43840
|
+
}))),
|
|
44012
43841
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
44013
43842
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
44014
43843
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -44018,6 +43847,13 @@ const generatedFocusOperations = [
|
|
|
44018
43847
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44019
43848
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44020
43849
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43850
|
+
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43851
|
+
start: apiDateTimeString,
|
|
43852
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43853
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43854
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43855
|
+
})),
|
|
43856
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44021
43857
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
44022
43858
|
}))
|
|
44023
43859
|
}) }),
|
|
@@ -44135,33 +43971,6 @@ const generatedFocusOperations = [
|
|
|
44135
43971
|
]));
|
|
44136
43972
|
}
|
|
44137
43973
|
},
|
|
44138
|
-
{
|
|
44139
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44140
|
-
family: "focus",
|
|
44141
|
-
resource: "custom-fields",
|
|
44142
|
-
action: "get-allowed-users",
|
|
44143
|
-
title: "Get Allowed Users Custom Fields",
|
|
44144
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44145
|
-
safety: "read",
|
|
44146
|
-
destructive: false,
|
|
44147
|
-
cli: {
|
|
44148
|
-
group: ["custom-fields"],
|
|
44149
|
-
command: "get-allowed-users",
|
|
44150
|
-
interactive: "available"
|
|
44151
|
-
},
|
|
44152
|
-
mcp: { entityTool: "custom-fields" },
|
|
44153
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44154
|
-
execute: (input, { client }) => {
|
|
44155
|
-
const data = input;
|
|
44156
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44157
|
-
client.httpClient,
|
|
44158
|
-
client.organizationId,
|
|
44159
|
-
client.workspaceIdNumber,
|
|
44160
|
-
data.custom_field_id,
|
|
44161
|
-
void 0
|
|
44162
|
-
]));
|
|
44163
|
-
}
|
|
44164
|
-
},
|
|
44165
43974
|
{
|
|
44166
43975
|
id: "focus.custom-fields.list",
|
|
44167
43976
|
family: "focus",
|
|
@@ -44331,37 +44140,6 @@ const generatedFocusOperations = [
|
|
|
44331
44140
|
]));
|
|
44332
44141
|
}
|
|
44333
44142
|
},
|
|
44334
|
-
{
|
|
44335
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44336
|
-
family: "focus",
|
|
44337
|
-
resource: "custom-fields",
|
|
44338
|
-
action: "replace-custom-field-allowed-users",
|
|
44339
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44340
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44341
|
-
safety: "update",
|
|
44342
|
-
destructive: false,
|
|
44343
|
-
cli: {
|
|
44344
|
-
group: ["custom-fields"],
|
|
44345
|
-
command: "replace-custom-field-allowed-users",
|
|
44346
|
-
interactive: "default"
|
|
44347
|
-
},
|
|
44348
|
-
mcp: { entityTool: "custom-fields" },
|
|
44349
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44350
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44351
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44352
|
-
}),
|
|
44353
|
-
execute: (input, { client }) => {
|
|
44354
|
-
const data = input;
|
|
44355
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44356
|
-
client.httpClient,
|
|
44357
|
-
client.organizationId,
|
|
44358
|
-
client.workspaceIdNumber,
|
|
44359
|
-
data.custom_field_id,
|
|
44360
|
-
data.payload ?? data.data ?? data,
|
|
44361
|
-
void 0
|
|
44362
|
-
]));
|
|
44363
|
-
}
|
|
44364
|
-
},
|
|
44365
44143
|
{
|
|
44366
44144
|
id: "focus.custom-fields.update",
|
|
44367
44145
|
family: "focus",
|
|
@@ -44492,256 +44270,6 @@ const generatedFocusOperations = [
|
|
|
44492
44270
|
]));
|
|
44493
44271
|
}
|
|
44494
44272
|
},
|
|
44495
|
-
{
|
|
44496
|
-
id: "focus.designations.bulk-create-workspace",
|
|
44497
|
-
family: "focus",
|
|
44498
|
-
resource: "designations",
|
|
44499
|
-
action: "bulk-create-workspace",
|
|
44500
|
-
title: "Bulk Create Workspace Designations",
|
|
44501
|
-
description: "Bulk Create Workspace Designations.",
|
|
44502
|
-
safety: "create",
|
|
44503
|
-
destructive: false,
|
|
44504
|
-
cli: {
|
|
44505
|
-
group: ["designations", "bulk"],
|
|
44506
|
-
command: "create-workspace",
|
|
44507
|
-
interactive: "default"
|
|
44508
|
-
},
|
|
44509
|
-
mcp: { entityTool: "designations" },
|
|
44510
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44511
|
-
name: /* @__PURE__ */ string$1(),
|
|
44512
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44513
|
-
})) }) }),
|
|
44514
|
-
execute: (input, { client }) => {
|
|
44515
|
-
const data = input;
|
|
44516
|
-
return client.runGeneratedRequest("bulkCreateWorkspaceDesignations", () => callGeneratedRequest(bulkCreateWorkspaceDesignations, [
|
|
44517
|
-
client.httpClient,
|
|
44518
|
-
client.organizationId,
|
|
44519
|
-
client.workspaceIdNumber,
|
|
44520
|
-
data.payload ?? data.data ?? data,
|
|
44521
|
-
void 0
|
|
44522
|
-
]));
|
|
44523
|
-
}
|
|
44524
|
-
},
|
|
44525
|
-
{
|
|
44526
|
-
id: "focus.designations.bulk-delete-workspace",
|
|
44527
|
-
family: "focus",
|
|
44528
|
-
resource: "designations",
|
|
44529
|
-
action: "bulk-delete-workspace",
|
|
44530
|
-
title: "Bulk Delete Workspace Designations",
|
|
44531
|
-
description: "Bulk Delete Workspace Designations.",
|
|
44532
|
-
safety: "delete",
|
|
44533
|
-
destructive: true,
|
|
44534
|
-
cli: {
|
|
44535
|
-
group: ["designations", "bulk"],
|
|
44536
|
-
command: "delete-workspace",
|
|
44537
|
-
interactive: "default"
|
|
44538
|
-
},
|
|
44539
|
-
mcp: { entityTool: "designations" },
|
|
44540
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44541
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44542
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44543
|
-
}),
|
|
44544
|
-
execute: (input, { client }) => {
|
|
44545
|
-
const data = input;
|
|
44546
|
-
return client.runGeneratedRequest("bulkDeleteWorkspaceDesignations", () => callGeneratedRequest(bulkDeleteWorkspaceDesignations, [
|
|
44547
|
-
client.httpClient,
|
|
44548
|
-
client.organizationId,
|
|
44549
|
-
client.workspaceIdNumber,
|
|
44550
|
-
data.ids,
|
|
44551
|
-
data.all_or_none,
|
|
44552
|
-
void 0
|
|
44553
|
-
]));
|
|
44554
|
-
}
|
|
44555
|
-
},
|
|
44556
|
-
{
|
|
44557
|
-
id: "focus.designations.bulk-update-workspace",
|
|
44558
|
-
family: "focus",
|
|
44559
|
-
resource: "designations",
|
|
44560
|
-
action: "bulk-update-workspace",
|
|
44561
|
-
title: "Bulk Update Workspace Designations",
|
|
44562
|
-
description: "Bulk Update Workspace Designations.",
|
|
44563
|
-
safety: "update",
|
|
44564
|
-
destructive: false,
|
|
44565
|
-
cli: {
|
|
44566
|
-
group: ["designations", "bulk"],
|
|
44567
|
-
command: "update-workspace",
|
|
44568
|
-
interactive: "default"
|
|
44569
|
-
},
|
|
44570
|
-
mcp: { entityTool: "designations" },
|
|
44571
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44572
|
-
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44573
|
-
id: /* @__PURE__ */ number$2(),
|
|
44574
|
-
name: /* @__PURE__ */ string$1()
|
|
44575
|
-
})),
|
|
44576
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
44577
|
-
}) }),
|
|
44578
|
-
execute: (input, { client }) => {
|
|
44579
|
-
const data = input;
|
|
44580
|
-
return client.runGeneratedRequest("bulkUpdateWorkspaceDesignations", () => callGeneratedRequest(bulkUpdateWorkspaceDesignations, [
|
|
44581
|
-
client.httpClient,
|
|
44582
|
-
client.organizationId,
|
|
44583
|
-
client.workspaceIdNumber,
|
|
44584
|
-
data.payload ?? data.data ?? data,
|
|
44585
|
-
void 0
|
|
44586
|
-
]));
|
|
44587
|
-
}
|
|
44588
|
-
},
|
|
44589
|
-
{
|
|
44590
|
-
id: "focus.designations.create-workspace",
|
|
44591
|
-
family: "focus",
|
|
44592
|
-
resource: "designations",
|
|
44593
|
-
action: "create-workspace",
|
|
44594
|
-
title: "Create Workspace Designations",
|
|
44595
|
-
description: "Create Workspace Designations.",
|
|
44596
|
-
safety: "create",
|
|
44597
|
-
destructive: false,
|
|
44598
|
-
cli: {
|
|
44599
|
-
group: ["designations"],
|
|
44600
|
-
command: "create-workspace",
|
|
44601
|
-
interactive: "default"
|
|
44602
|
-
},
|
|
44603
|
-
mcp: { entityTool: "designations" },
|
|
44604
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44605
|
-
name: /* @__PURE__ */ string$1(),
|
|
44606
|
-
member_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44607
|
-
}) }),
|
|
44608
|
-
execute: (input, { client }) => {
|
|
44609
|
-
const data = input;
|
|
44610
|
-
return client.runGeneratedRequest("createWorkspaceDesignation", () => callGeneratedRequest(createWorkspaceDesignation, [
|
|
44611
|
-
client.httpClient,
|
|
44612
|
-
client.organizationId,
|
|
44613
|
-
client.workspaceIdNumber,
|
|
44614
|
-
data.payload ?? data.data ?? data,
|
|
44615
|
-
void 0
|
|
44616
|
-
]));
|
|
44617
|
-
}
|
|
44618
|
-
},
|
|
44619
|
-
{
|
|
44620
|
-
id: "focus.designations.delete-workspace",
|
|
44621
|
-
family: "focus",
|
|
44622
|
-
resource: "designations",
|
|
44623
|
-
action: "delete-workspace",
|
|
44624
|
-
title: "Delete Workspace Designations",
|
|
44625
|
-
description: "Delete Workspace Designations.",
|
|
44626
|
-
safety: "delete",
|
|
44627
|
-
destructive: true,
|
|
44628
|
-
cli: {
|
|
44629
|
-
group: ["designations"],
|
|
44630
|
-
command: "delete-workspace",
|
|
44631
|
-
interactive: "default"
|
|
44632
|
-
},
|
|
44633
|
-
mcp: { entityTool: "designations" },
|
|
44634
|
-
inputSchema: /* @__PURE__ */ looseObject({ designation_id: /* @__PURE__ */ number$2() }),
|
|
44635
|
-
execute: (input, { client }) => {
|
|
44636
|
-
const data = input;
|
|
44637
|
-
return client.runGeneratedRequest("deleteWorkspaceDesignation", () => callGeneratedRequest(deleteWorkspaceDesignation, [
|
|
44638
|
-
client.httpClient,
|
|
44639
|
-
client.organizationId,
|
|
44640
|
-
client.workspaceIdNumber,
|
|
44641
|
-
data.designation_id,
|
|
44642
|
-
void 0
|
|
44643
|
-
]));
|
|
44644
|
-
}
|
|
44645
|
-
},
|
|
44646
|
-
{
|
|
44647
|
-
id: "focus.designations.get-workspace-designations",
|
|
44648
|
-
family: "focus",
|
|
44649
|
-
resource: "designations",
|
|
44650
|
-
action: "get-workspace-designations",
|
|
44651
|
-
title: "Get Workspace Designations Designations",
|
|
44652
|
-
description: "Get Workspace Designations Designations.",
|
|
44653
|
-
safety: "read",
|
|
44654
|
-
destructive: false,
|
|
44655
|
-
cli: {
|
|
44656
|
-
group: ["designations"],
|
|
44657
|
-
command: "get-workspace-designations",
|
|
44658
|
-
interactive: "hidden"
|
|
44659
|
-
},
|
|
44660
|
-
mcp: { entityTool: "designations" },
|
|
44661
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44662
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44663
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44664
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44665
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44666
|
-
}),
|
|
44667
|
-
execute: (input, { client }) => {
|
|
44668
|
-
const data = input;
|
|
44669
|
-
return client.runGeneratedRequest("getWorkspaceDesignationsClassic", () => callGeneratedRequest(getWorkspaceDesignationsClassic, [
|
|
44670
|
-
client.httpClient,
|
|
44671
|
-
client.organizationId,
|
|
44672
|
-
client.workspaceIdNumber,
|
|
44673
|
-
data,
|
|
44674
|
-
void 0
|
|
44675
|
-
]));
|
|
44676
|
-
}
|
|
44677
|
-
},
|
|
44678
|
-
{
|
|
44679
|
-
id: "focus.designations.update-workspace",
|
|
44680
|
-
family: "focus",
|
|
44681
|
-
resource: "designations",
|
|
44682
|
-
action: "update-workspace",
|
|
44683
|
-
title: "Update Workspace Designations",
|
|
44684
|
-
description: "Update Workspace Designations.",
|
|
44685
|
-
safety: "update",
|
|
44686
|
-
destructive: false,
|
|
44687
|
-
cli: {
|
|
44688
|
-
group: ["designations"],
|
|
44689
|
-
command: "update-workspace",
|
|
44690
|
-
interactive: "default"
|
|
44691
|
-
},
|
|
44692
|
-
mcp: { entityTool: "designations" },
|
|
44693
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44694
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44695
|
-
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
44696
|
-
}),
|
|
44697
|
-
execute: (input, { client }) => {
|
|
44698
|
-
const data = input;
|
|
44699
|
-
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
44700
|
-
client.httpClient,
|
|
44701
|
-
client.organizationId,
|
|
44702
|
-
client.workspaceIdNumber,
|
|
44703
|
-
data.designation_id,
|
|
44704
|
-
data.payload ?? data.data ?? data,
|
|
44705
|
-
void 0
|
|
44706
|
-
]));
|
|
44707
|
-
}
|
|
44708
|
-
},
|
|
44709
|
-
{
|
|
44710
|
-
id: "focus.designations.update-workspace-designation-members",
|
|
44711
|
-
family: "focus",
|
|
44712
|
-
resource: "designations",
|
|
44713
|
-
action: "update-workspace-designation-members",
|
|
44714
|
-
title: "Update Workspace Designation Members Designations",
|
|
44715
|
-
description: "Update Workspace Designation Members Designations.",
|
|
44716
|
-
safety: "update",
|
|
44717
|
-
destructive: false,
|
|
44718
|
-
cli: {
|
|
44719
|
-
group: ["designations"],
|
|
44720
|
-
command: "update-workspace-designation-members",
|
|
44721
|
-
interactive: "default"
|
|
44722
|
-
},
|
|
44723
|
-
mcp: { entityTool: "designations" },
|
|
44724
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44725
|
-
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44726
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44727
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44728
|
-
}))),
|
|
44729
|
-
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44730
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44731
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44732
|
-
})))
|
|
44733
|
-
}) }),
|
|
44734
|
-
execute: (input, { client }) => {
|
|
44735
|
-
const data = input;
|
|
44736
|
-
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
44737
|
-
client.httpClient,
|
|
44738
|
-
client.organizationId,
|
|
44739
|
-
client.workspaceIdNumber,
|
|
44740
|
-
data.payload ?? data.data ?? data,
|
|
44741
|
-
void 0
|
|
44742
|
-
]));
|
|
44743
|
-
}
|
|
44744
|
-
},
|
|
44745
44273
|
{
|
|
44746
44274
|
id: "focus.goals.create",
|
|
44747
44275
|
family: "focus",
|
|
@@ -44758,7 +44286,13 @@ const generatedFocusOperations = [
|
|
|
44758
44286
|
},
|
|
44759
44287
|
mcp: { entityTool: "goals" },
|
|
44760
44288
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44289
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44761
44290
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44291
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44292
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44293
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44294
|
+
name: /* @__PURE__ */ string$1(),
|
|
44295
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44762
44296
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44763
44297
|
"daily",
|
|
44764
44298
|
"weekly",
|
|
@@ -44766,18 +44300,12 @@ const generatedFocusOperations = [
|
|
|
44766
44300
|
"monthly"
|
|
44767
44301
|
]),
|
|
44768
44302
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44303
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44769
44304
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44770
|
-
|
|
44305
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44306
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44771
44307
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44772
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44773
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44774
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44775
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44776
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44777
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44778
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44779
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44780
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44308
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44781
44309
|
}) }),
|
|
44782
44310
|
execute: (input, { client }) => {
|
|
44783
44311
|
const data = input;
|
|
@@ -44883,6 +44411,13 @@ const generatedFocusOperations = [
|
|
|
44883
44411
|
},
|
|
44884
44412
|
mcp: { entityTool: "goals" },
|
|
44885
44413
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44414
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
44415
|
+
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44416
|
+
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44417
|
+
icon: /* @__PURE__ */ string$1(),
|
|
44418
|
+
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44419
|
+
name: /* @__PURE__ */ string$1(),
|
|
44420
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44886
44421
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44887
44422
|
"daily",
|
|
44888
44423
|
"weekly",
|
|
@@ -44890,19 +44425,12 @@ const generatedFocusOperations = [
|
|
|
44890
44425
|
"monthly"
|
|
44891
44426
|
]),
|
|
44892
44427
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44893
|
-
|
|
44428
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44429
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44430
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44431
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44894
44432
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44895
|
-
|
|
44896
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44897
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44898
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44899
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44900
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44901
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44902
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44903
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44904
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44905
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44433
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44906
44434
|
}) }),
|
|
44907
44435
|
execute: (input, { client }) => {
|
|
44908
44436
|
const data = input;
|
|
@@ -45869,17 +45397,9 @@ const generatedFocusOperations = [
|
|
|
45869
45397
|
mcp: { entityTool: "projects" },
|
|
45870
45398
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45871
45399
|
payload: /* @__PURE__ */ looseObject({
|
|
45872
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45873
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45874
45400
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45875
45401
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45876
45402
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45877
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45878
|
-
"expire",
|
|
45879
|
-
"carry_all",
|
|
45880
|
-
"carry_over"
|
|
45881
|
-
])),
|
|
45882
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45883
45403
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45884
45404
|
}),
|
|
45885
45405
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46323,7 +45843,6 @@ const generatedFocusOperations = [
|
|
|
46323
45843
|
group: /* @__PURE__ */ string$1(),
|
|
46324
45844
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46325
45845
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46326
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46327
45846
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46328
45847
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46329
45848
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46426,6 +45945,29 @@ const generatedFocusOperations = [
|
|
|
46426
45945
|
]));
|
|
46427
45946
|
}
|
|
46428
45947
|
},
|
|
45948
|
+
{
|
|
45949
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
45950
|
+
family: "focus",
|
|
45951
|
+
resource: "projects",
|
|
45952
|
+
action: "margin-targets-clear-workspace",
|
|
45953
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
45954
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
45955
|
+
safety: "delete",
|
|
45956
|
+
destructive: true,
|
|
45957
|
+
cli: {
|
|
45958
|
+
group: ["projects", "margin-targets"],
|
|
45959
|
+
command: "clear-workspace",
|
|
45960
|
+
interactive: "default"
|
|
45961
|
+
},
|
|
45962
|
+
mcp: { entityTool: "projects" },
|
|
45963
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45964
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45965
|
+
client.httpClient,
|
|
45966
|
+
client.organizationId,
|
|
45967
|
+
client.workspaceIdNumber,
|
|
45968
|
+
void 0
|
|
45969
|
+
]))
|
|
45970
|
+
},
|
|
46429
45971
|
{
|
|
46430
45972
|
id: "focus.projects.margin-targets-get",
|
|
46431
45973
|
family: "focus",
|
|
@@ -46870,130 +46412,6 @@ const generatedFocusOperations = [
|
|
|
46870
46412
|
]));
|
|
46871
46413
|
}
|
|
46872
46414
|
},
|
|
46873
|
-
{
|
|
46874
|
-
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46875
|
-
family: "focus",
|
|
46876
|
-
resource: "publicsharedreports",
|
|
46877
|
-
action: "open-public-shared-report",
|
|
46878
|
-
title: "Open Public Shared Report Publicsharedreports",
|
|
46879
|
-
description: "Open Public Shared Report Publicsharedreports.",
|
|
46880
|
-
safety: "read",
|
|
46881
|
-
destructive: false,
|
|
46882
|
-
cli: {
|
|
46883
|
-
group: ["publicsharedreports"],
|
|
46884
|
-
command: "open-public-shared-report",
|
|
46885
|
-
interactive: "available"
|
|
46886
|
-
},
|
|
46887
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46888
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46889
|
-
execute: (input, { client }) => {
|
|
46890
|
-
const data = input;
|
|
46891
|
-
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46892
|
-
client.httpClient,
|
|
46893
|
-
data.token,
|
|
46894
|
-
void 0
|
|
46895
|
-
]));
|
|
46896
|
-
}
|
|
46897
|
-
},
|
|
46898
|
-
{
|
|
46899
|
-
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46900
|
-
family: "focus",
|
|
46901
|
-
resource: "publicsharedreports",
|
|
46902
|
-
action: "profitability-public-shared-report",
|
|
46903
|
-
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46904
|
-
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46905
|
-
safety: "update",
|
|
46906
|
-
destructive: false,
|
|
46907
|
-
cli: {
|
|
46908
|
-
group: ["publicsharedreports"],
|
|
46909
|
-
command: "profitability-public-shared-report",
|
|
46910
|
-
interactive: "default"
|
|
46911
|
-
},
|
|
46912
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46913
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46914
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46915
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46916
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46917
|
-
token: /* @__PURE__ */ string$1()
|
|
46918
|
-
}),
|
|
46919
|
-
execute: (input, { client }) => {
|
|
46920
|
-
const data = input;
|
|
46921
|
-
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46922
|
-
client.httpClient,
|
|
46923
|
-
data.token,
|
|
46924
|
-
data.payload ?? data.data ?? data,
|
|
46925
|
-
data.response_format,
|
|
46926
|
-
data.include_dicts,
|
|
46927
|
-
void 0
|
|
46928
|
-
]));
|
|
46929
|
-
}
|
|
46930
|
-
},
|
|
46931
|
-
{
|
|
46932
|
-
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46933
|
-
family: "focus",
|
|
46934
|
-
resource: "publicsharedreports",
|
|
46935
|
-
action: "query-public-shared-report",
|
|
46936
|
-
title: "Query Public Shared Report Publicsharedreports",
|
|
46937
|
-
description: "Query Public Shared Report Publicsharedreports.",
|
|
46938
|
-
safety: "update",
|
|
46939
|
-
destructive: false,
|
|
46940
|
-
cli: {
|
|
46941
|
-
group: ["publicsharedreports"],
|
|
46942
|
-
command: "query-public-shared-report",
|
|
46943
|
-
interactive: "default"
|
|
46944
|
-
},
|
|
46945
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46946
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46947
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46948
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46949
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46950
|
-
"json_row",
|
|
46951
|
-
"table",
|
|
46952
|
-
"hierarchical"
|
|
46953
|
-
])),
|
|
46954
|
-
token: /* @__PURE__ */ string$1()
|
|
46955
|
-
}),
|
|
46956
|
-
execute: (input, { client }) => {
|
|
46957
|
-
const data = input;
|
|
46958
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46959
|
-
client.httpClient,
|
|
46960
|
-
data.token,
|
|
46961
|
-
data.payload ?? data.data ?? data,
|
|
46962
|
-
data.response_format,
|
|
46963
|
-
data.include_dicts,
|
|
46964
|
-
void 0
|
|
46965
|
-
]));
|
|
46966
|
-
}
|
|
46967
|
-
},
|
|
46968
|
-
{
|
|
46969
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46970
|
-
family: "focus",
|
|
46971
|
-
resource: "publicsharedreports",
|
|
46972
|
-
action: "workload-public-shared-report",
|
|
46973
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
46974
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46975
|
-
safety: "update",
|
|
46976
|
-
destructive: false,
|
|
46977
|
-
cli: {
|
|
46978
|
-
group: ["publicsharedreports"],
|
|
46979
|
-
command: "workload-public-shared-report",
|
|
46980
|
-
interactive: "default"
|
|
46981
|
-
},
|
|
46982
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46983
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46984
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46985
|
-
token: /* @__PURE__ */ string$1()
|
|
46986
|
-
}),
|
|
46987
|
-
execute: (input, { client }) => {
|
|
46988
|
-
const data = input;
|
|
46989
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46990
|
-
client.httpClient,
|
|
46991
|
-
data.token,
|
|
46992
|
-
data.payload ?? data.data ?? data,
|
|
46993
|
-
void 0
|
|
46994
|
-
]));
|
|
46995
|
-
}
|
|
46996
|
-
},
|
|
46997
46415
|
{
|
|
46998
46416
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46999
46417
|
family: "focus",
|
|
@@ -48571,51 +47989,51 @@ const generatedFocusOperations = [
|
|
|
48571
47989
|
mcp: { entityTool: "reports" },
|
|
48572
47990
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48573
47991
|
payload: /* @__PURE__ */ looseObject({
|
|
48574
|
-
aggregation_filters: /* @__PURE__ */
|
|
48575
|
-
aggregation: /* @__PURE__ */
|
|
47992
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47993
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48576
47994
|
function: /* @__PURE__ */ string$1(),
|
|
48577
47995
|
property: /* @__PURE__ */ string$1()
|
|
48578
|
-
})
|
|
48579
|
-
operator: /* @__PURE__ */
|
|
48580
|
-
property: /* @__PURE__ */
|
|
48581
|
-
}))
|
|
48582
|
-
aggregations: /* @__PURE__ */
|
|
47996
|
+
}),
|
|
47997
|
+
operator: /* @__PURE__ */ string$1(),
|
|
47998
|
+
property: /* @__PURE__ */ string$1()
|
|
47999
|
+
})),
|
|
48000
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48583
48001
|
function: /* @__PURE__ */ string$1(),
|
|
48584
48002
|
property: /* @__PURE__ */ string$1()
|
|
48585
|
-
}))
|
|
48586
|
-
attributes: /* @__PURE__ */
|
|
48587
|
-
|
|
48588
|
-
|
|
48589
|
-
|
|
48590
|
-
|
|
48591
|
-
|
|
48592
|
-
|
|
48593
|
-
|
|
48594
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48595
|
-
property: /* @__PURE__ */ string$1(),
|
|
48596
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48597
|
-
}))),
|
|
48598
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48599
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48003
|
+
})),
|
|
48004
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48005
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48006
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48007
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48008
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48009
|
+
property: /* @__PURE__ */ string$1()
|
|
48010
|
+
})),
|
|
48011
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48600
48012
|
property: /* @__PURE__ */ string$1(),
|
|
48601
|
-
|
|
48602
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48603
|
-
}))),
|
|
48604
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48605
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48606
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48013
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48607
48014
|
})),
|
|
48608
|
-
|
|
48609
|
-
|
|
48610
|
-
|
|
48611
|
-
|
|
48015
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48016
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48017
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48018
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48019
|
+
property: /* @__PURE__ */ string$1()
|
|
48612
48020
|
})),
|
|
48613
|
-
|
|
48614
|
-
|
|
48021
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48022
|
+
page: /* @__PURE__ */ number$2(),
|
|
48023
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48024
|
+
}),
|
|
48025
|
+
period: /* @__PURE__ */ looseObject({
|
|
48026
|
+
from: /* @__PURE__ */ string$1(),
|
|
48027
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48028
|
+
to: /* @__PURE__ */ string$1()
|
|
48029
|
+
}),
|
|
48030
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48615
48031
|
name: /* @__PURE__ */ string$1(),
|
|
48616
48032
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48617
|
-
}))
|
|
48618
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
48033
|
+
})),
|
|
48034
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48035
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48036
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48619
48037
|
}),
|
|
48620
48038
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48621
48039
|
}),
|
|
@@ -48696,51 +48114,51 @@ const generatedFocusOperations = [
|
|
|
48696
48114
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48697
48115
|
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
48698
48116
|
payload: /* @__PURE__ */ looseObject({
|
|
48699
|
-
aggregation_filters: /* @__PURE__ */
|
|
48700
|
-
aggregation: /* @__PURE__ */
|
|
48117
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48118
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48701
48119
|
function: /* @__PURE__ */ string$1(),
|
|
48702
48120
|
property: /* @__PURE__ */ string$1()
|
|
48703
|
-
})
|
|
48704
|
-
operator: /* @__PURE__ */
|
|
48705
|
-
property: /* @__PURE__ */
|
|
48706
|
-
}))
|
|
48707
|
-
aggregations: /* @__PURE__ */
|
|
48121
|
+
}),
|
|
48122
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48123
|
+
property: /* @__PURE__ */ string$1()
|
|
48124
|
+
})),
|
|
48125
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48708
48126
|
function: /* @__PURE__ */ string$1(),
|
|
48709
48127
|
property: /* @__PURE__ */ string$1()
|
|
48710
|
-
}))
|
|
48711
|
-
attributes: /* @__PURE__ */
|
|
48712
|
-
|
|
48713
|
-
|
|
48714
|
-
|
|
48715
|
-
|
|
48716
|
-
|
|
48717
|
-
|
|
48718
|
-
|
|
48719
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48720
|
-
property: /* @__PURE__ */ string$1(),
|
|
48721
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48722
|
-
}))),
|
|
48723
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48724
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48128
|
+
})),
|
|
48129
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48130
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48131
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48132
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48133
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48134
|
+
property: /* @__PURE__ */ string$1()
|
|
48135
|
+
})),
|
|
48136
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48725
48137
|
property: /* @__PURE__ */ string$1(),
|
|
48726
|
-
|
|
48727
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48728
|
-
}))),
|
|
48729
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48730
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48731
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48138
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48732
48139
|
})),
|
|
48733
|
-
|
|
48734
|
-
|
|
48735
|
-
|
|
48736
|
-
|
|
48140
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48141
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48142
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48143
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48144
|
+
property: /* @__PURE__ */ string$1()
|
|
48737
48145
|
})),
|
|
48738
|
-
|
|
48739
|
-
|
|
48146
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48147
|
+
page: /* @__PURE__ */ number$2(),
|
|
48148
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48149
|
+
}),
|
|
48150
|
+
period: /* @__PURE__ */ looseObject({
|
|
48151
|
+
from: /* @__PURE__ */ string$1(),
|
|
48152
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48153
|
+
to: /* @__PURE__ */ string$1()
|
|
48154
|
+
}),
|
|
48155
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48740
48156
|
name: /* @__PURE__ */ string$1(),
|
|
48741
48157
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48742
|
-
}))
|
|
48743
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
48158
|
+
})),
|
|
48159
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48160
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48161
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48744
48162
|
}),
|
|
48745
48163
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48746
48164
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -48778,51 +48196,51 @@ const generatedFocusOperations = [
|
|
|
48778
48196
|
},
|
|
48779
48197
|
mcp: { entityTool: "reports" },
|
|
48780
48198
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48781
|
-
aggregation_filters: /* @__PURE__ */
|
|
48782
|
-
aggregation: /* @__PURE__ */
|
|
48199
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48200
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48783
48201
|
function: /* @__PURE__ */ string$1(),
|
|
48784
48202
|
property: /* @__PURE__ */ string$1()
|
|
48785
|
-
})
|
|
48786
|
-
operator: /* @__PURE__ */
|
|
48787
|
-
property: /* @__PURE__ */
|
|
48788
|
-
}))
|
|
48789
|
-
aggregations: /* @__PURE__ */
|
|
48203
|
+
}),
|
|
48204
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48205
|
+
property: /* @__PURE__ */ string$1()
|
|
48206
|
+
})),
|
|
48207
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48790
48208
|
function: /* @__PURE__ */ string$1(),
|
|
48791
48209
|
property: /* @__PURE__ */ string$1()
|
|
48792
|
-
}))
|
|
48793
|
-
attributes: /* @__PURE__ */
|
|
48794
|
-
|
|
48795
|
-
|
|
48796
|
-
|
|
48797
|
-
|
|
48798
|
-
|
|
48799
|
-
|
|
48800
|
-
|
|
48801
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48802
|
-
property: /* @__PURE__ */ string$1(),
|
|
48803
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48804
|
-
}))),
|
|
48805
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48806
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48210
|
+
})),
|
|
48211
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48212
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48213
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48214
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48215
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48216
|
+
property: /* @__PURE__ */ string$1()
|
|
48217
|
+
})),
|
|
48218
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48807
48219
|
property: /* @__PURE__ */ string$1(),
|
|
48808
|
-
|
|
48809
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48810
|
-
}))),
|
|
48811
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48812
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48813
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48220
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48814
48221
|
})),
|
|
48815
|
-
|
|
48816
|
-
|
|
48817
|
-
|
|
48818
|
-
|
|
48222
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48223
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48224
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48225
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48226
|
+
property: /* @__PURE__ */ string$1()
|
|
48819
48227
|
})),
|
|
48820
|
-
|
|
48821
|
-
|
|
48228
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48229
|
+
page: /* @__PURE__ */ number$2(),
|
|
48230
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48231
|
+
}),
|
|
48232
|
+
period: /* @__PURE__ */ looseObject({
|
|
48233
|
+
from: /* @__PURE__ */ string$1(),
|
|
48234
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48235
|
+
to: /* @__PURE__ */ string$1()
|
|
48236
|
+
}),
|
|
48237
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48822
48238
|
name: /* @__PURE__ */ string$1(),
|
|
48823
48239
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48824
|
-
}))
|
|
48825
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
48240
|
+
})),
|
|
48241
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48242
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48243
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48826
48244
|
}) }),
|
|
48827
48245
|
execute: (input, { client }) => {
|
|
48828
48246
|
const data = input;
|
|
@@ -48851,51 +48269,51 @@ const generatedFocusOperations = [
|
|
|
48851
48269
|
mcp: { entityTool: "reports" },
|
|
48852
48270
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48853
48271
|
payload: /* @__PURE__ */ looseObject({
|
|
48854
|
-
aggregation_filters: /* @__PURE__ */
|
|
48855
|
-
aggregation: /* @__PURE__ */
|
|
48272
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48273
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48856
48274
|
function: /* @__PURE__ */ string$1(),
|
|
48857
48275
|
property: /* @__PURE__ */ string$1()
|
|
48858
|
-
})
|
|
48859
|
-
operator: /* @__PURE__ */
|
|
48860
|
-
property: /* @__PURE__ */
|
|
48861
|
-
}))
|
|
48862
|
-
aggregations: /* @__PURE__ */
|
|
48276
|
+
}),
|
|
48277
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48278
|
+
property: /* @__PURE__ */ string$1()
|
|
48279
|
+
})),
|
|
48280
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48863
48281
|
function: /* @__PURE__ */ string$1(),
|
|
48864
48282
|
property: /* @__PURE__ */ string$1()
|
|
48865
|
-
}))
|
|
48866
|
-
attributes: /* @__PURE__ */
|
|
48867
|
-
|
|
48868
|
-
|
|
48869
|
-
|
|
48870
|
-
|
|
48871
|
-
|
|
48872
|
-
|
|
48873
|
-
|
|
48874
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48875
|
-
property: /* @__PURE__ */ string$1(),
|
|
48876
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48877
|
-
}))),
|
|
48878
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48879
|
-
ordinations: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48283
|
+
})),
|
|
48284
|
+
attributes: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ property: /* @__PURE__ */ string$1() })),
|
|
48285
|
+
currency: /* @__PURE__ */ string$1(),
|
|
48286
|
+
filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48287
|
+
conditions: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1()),
|
|
48288
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48289
|
+
property: /* @__PURE__ */ string$1()
|
|
48290
|
+
})),
|
|
48291
|
+
groupings: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48880
48292
|
property: /* @__PURE__ */ string$1(),
|
|
48881
|
-
|
|
48882
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48883
|
-
}))),
|
|
48884
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48885
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48886
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48293
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48887
48294
|
})),
|
|
48888
|
-
|
|
48889
|
-
|
|
48890
|
-
|
|
48891
|
-
|
|
48295
|
+
limit: /* @__PURE__ */ number$2(),
|
|
48296
|
+
ordinations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48297
|
+
direction: /* @__PURE__ */ string$1(),
|
|
48298
|
+
nulls: /* @__PURE__ */ string$1(),
|
|
48299
|
+
property: /* @__PURE__ */ string$1()
|
|
48892
48300
|
})),
|
|
48893
|
-
|
|
48894
|
-
|
|
48301
|
+
pagination: /* @__PURE__ */ looseObject({
|
|
48302
|
+
page: /* @__PURE__ */ number$2(),
|
|
48303
|
+
per_page: /* @__PURE__ */ number$2()
|
|
48304
|
+
}),
|
|
48305
|
+
period: /* @__PURE__ */ looseObject({
|
|
48306
|
+
from: /* @__PURE__ */ string$1(),
|
|
48307
|
+
preset: /* @__PURE__ */ string$1(),
|
|
48308
|
+
to: /* @__PURE__ */ string$1()
|
|
48309
|
+
}),
|
|
48310
|
+
transformations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48895
48311
|
name: /* @__PURE__ */ string$1(),
|
|
48896
48312
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48897
|
-
}))
|
|
48898
|
-
view_in_my_timezone: /* @__PURE__ */
|
|
48313
|
+
})),
|
|
48314
|
+
view_in_my_timezone: /* @__PURE__ */ boolean$1(),
|
|
48315
|
+
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48316
|
+
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48899
48317
|
}),
|
|
48900
48318
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48901
48319
|
"csv",
|
|
@@ -48952,7 +48370,7 @@ const generatedFocusOperations = [
|
|
|
48952
48370
|
cli: {
|
|
48953
48371
|
group: ["reportschedules"],
|
|
48954
48372
|
command: "upsert-saved-view-schedule",
|
|
48955
|
-
interactive: "
|
|
48373
|
+
interactive: "default"
|
|
48956
48374
|
},
|
|
48957
48375
|
mcp: { entityTool: "reportschedules" },
|
|
48958
48376
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48963,10 +48381,8 @@ const generatedFocusOperations = [
|
|
|
48963
48381
|
"weekly",
|
|
48964
48382
|
"monthly"
|
|
48965
48383
|
]),
|
|
48966
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48967
48384
|
time: /* @__PURE__ */ string$1(),
|
|
48968
48385
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48969
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48970
48386
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48971
48387
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48972
48388
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -49299,32 +48715,6 @@ const generatedFocusOperations = [
|
|
|
49299
48715
|
]));
|
|
49300
48716
|
}
|
|
49301
48717
|
},
|
|
49302
|
-
{
|
|
49303
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
49304
|
-
family: "focus",
|
|
49305
|
-
resource: "sharedreports",
|
|
49306
|
-
action: "get-shared-report-dates",
|
|
49307
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
49308
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
49309
|
-
safety: "read",
|
|
49310
|
-
destructive: false,
|
|
49311
|
-
cli: {
|
|
49312
|
-
group: ["sharedreports"],
|
|
49313
|
-
command: "get-shared-report-dates",
|
|
49314
|
-
interactive: "available"
|
|
49315
|
-
},
|
|
49316
|
-
mcp: { entityTool: "sharedreports" },
|
|
49317
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49318
|
-
execute: (input, { client }) => {
|
|
49319
|
-
const data = input;
|
|
49320
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
49321
|
-
client.httpClient,
|
|
49322
|
-
client.workspaceIdNumber,
|
|
49323
|
-
data.id,
|
|
49324
|
-
void 0
|
|
49325
|
-
]));
|
|
49326
|
-
}
|
|
49327
|
-
},
|
|
49328
48718
|
{
|
|
49329
48719
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
49330
48720
|
family: "focus",
|
|
@@ -49395,36 +48785,6 @@ const generatedFocusOperations = [
|
|
|
49395
48785
|
void 0
|
|
49396
48786
|
]))
|
|
49397
48787
|
},
|
|
49398
|
-
{
|
|
49399
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
49400
|
-
family: "focus",
|
|
49401
|
-
resource: "sharedreports",
|
|
49402
|
-
action: "mint-shared-report-link",
|
|
49403
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
49404
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
49405
|
-
safety: "update",
|
|
49406
|
-
destructive: false,
|
|
49407
|
-
cli: {
|
|
49408
|
-
group: ["sharedreports"],
|
|
49409
|
-
command: "mint-shared-report-link",
|
|
49410
|
-
interactive: "default"
|
|
49411
|
-
},
|
|
49412
|
-
mcp: { entityTool: "sharedreports" },
|
|
49413
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49414
|
-
id: /* @__PURE__ */ number$2(),
|
|
49415
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49416
|
-
}),
|
|
49417
|
-
execute: (input, { client }) => {
|
|
49418
|
-
const data = input;
|
|
49419
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
49420
|
-
client.httpClient,
|
|
49421
|
-
client.workspaceIdNumber,
|
|
49422
|
-
data.id,
|
|
49423
|
-
data.payload ?? data.data ?? data,
|
|
49424
|
-
void 0
|
|
49425
|
-
]));
|
|
49426
|
-
}
|
|
49427
|
-
},
|
|
49428
48788
|
{
|
|
49429
48789
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49430
48790
|
family: "focus",
|
|
@@ -49456,53 +48816,33 @@ const generatedFocusOperations = [
|
|
|
49456
48816
|
}
|
|
49457
48817
|
},
|
|
49458
48818
|
{
|
|
49459
|
-
id: "focus.sharedreports.
|
|
49460
|
-
family: "focus",
|
|
49461
|
-
resource: "sharedreports",
|
|
49462
|
-
action: "revoke-shared-report-link",
|
|
49463
|
-
title: "Revoke Shared Report Link Sharedreports",
|
|
49464
|
-
description: "Revoke Shared Report Link Sharedreports.",
|
|
49465
|
-
safety: "delete",
|
|
49466
|
-
destructive: true,
|
|
49467
|
-
cli: {
|
|
49468
|
-
group: ["sharedreports"],
|
|
49469
|
-
command: "revoke-shared-report-link",
|
|
49470
|
-
interactive: "default"
|
|
49471
|
-
},
|
|
49472
|
-
mcp: { entityTool: "sharedreports" },
|
|
49473
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49474
|
-
execute: (input, { client }) => {
|
|
49475
|
-
const data = input;
|
|
49476
|
-
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
49477
|
-
client.httpClient,
|
|
49478
|
-
client.workspaceIdNumber,
|
|
49479
|
-
data.id,
|
|
49480
|
-
void 0
|
|
49481
|
-
]));
|
|
49482
|
-
}
|
|
49483
|
-
},
|
|
49484
|
-
{
|
|
49485
|
-
id: "focus.sharedreports.rotate-shared-report-link",
|
|
48819
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49486
48820
|
family: "focus",
|
|
49487
48821
|
resource: "sharedreports",
|
|
49488
|
-
action: "
|
|
49489
|
-
title: "
|
|
49490
|
-
description: "
|
|
48822
|
+
action: "share-saved-view",
|
|
48823
|
+
title: "Share Saved View Sharedreports",
|
|
48824
|
+
description: "Share Saved View Sharedreports.",
|
|
49491
48825
|
safety: "update",
|
|
49492
48826
|
destructive: false,
|
|
49493
48827
|
cli: {
|
|
49494
48828
|
group: ["sharedreports"],
|
|
49495
|
-
command: "
|
|
49496
|
-
interactive: "
|
|
48829
|
+
command: "share-saved-view",
|
|
48830
|
+
interactive: "hidden"
|
|
49497
48831
|
},
|
|
49498
48832
|
mcp: { entityTool: "sharedreports" },
|
|
49499
48833
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49500
48834
|
id: /* @__PURE__ */ number$2(),
|
|
49501
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48835
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48836
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48837
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48838
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48839
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48840
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48841
|
+
})
|
|
49502
48842
|
}),
|
|
49503
48843
|
execute: (input, { client }) => {
|
|
49504
48844
|
const data = input;
|
|
49505
|
-
return client.runGeneratedRequest("
|
|
48845
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49506
48846
|
client.httpClient,
|
|
49507
48847
|
client.workspaceIdNumber,
|
|
49508
48848
|
data.id,
|
|
@@ -49512,27 +48852,35 @@ const generatedFocusOperations = [
|
|
|
49512
48852
|
}
|
|
49513
48853
|
},
|
|
49514
48854
|
{
|
|
49515
|
-
id: "focus.sharedreports.
|
|
48855
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49516
48856
|
family: "focus",
|
|
49517
48857
|
resource: "sharedreports",
|
|
49518
|
-
action: "
|
|
49519
|
-
title: "
|
|
49520
|
-
description: "
|
|
48858
|
+
action: "share-saved-view-many",
|
|
48859
|
+
title: "Share Saved View Many Sharedreports",
|
|
48860
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49521
48861
|
safety: "update",
|
|
49522
48862
|
destructive: false,
|
|
49523
48863
|
cli: {
|
|
49524
48864
|
group: ["sharedreports"],
|
|
49525
|
-
command: "
|
|
49526
|
-
interactive: "
|
|
48865
|
+
command: "share-saved-view-many",
|
|
48866
|
+
interactive: "hidden"
|
|
49527
48867
|
},
|
|
49528
48868
|
mcp: { entityTool: "sharedreports" },
|
|
49529
48869
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49530
48870
|
id: /* @__PURE__ */ number$2(),
|
|
49531
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48871
|
+
payload: /* @__PURE__ */ looseObject({
|
|
48872
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48873
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48874
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48875
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48876
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48877
|
+
})),
|
|
48878
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48879
|
+
})
|
|
49532
48880
|
}),
|
|
49533
48881
|
execute: (input, { client }) => {
|
|
49534
48882
|
const data = input;
|
|
49535
|
-
return client.runGeneratedRequest("
|
|
48883
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49536
48884
|
client.httpClient,
|
|
49537
48885
|
client.workspaceIdNumber,
|
|
49538
48886
|
data.id,
|
|
@@ -49542,107 +48890,7 @@ const generatedFocusOperations = [
|
|
|
49542
48890
|
}
|
|
49543
48891
|
},
|
|
49544
48892
|
{
|
|
49545
|
-
id: "focus.
|
|
49546
|
-
family: "focus",
|
|
49547
|
-
resource: "sharedreports",
|
|
49548
|
-
action: "share-saved-view",
|
|
49549
|
-
title: "Share Saved View Sharedreports",
|
|
49550
|
-
description: "Share Saved View Sharedreports.",
|
|
49551
|
-
safety: "update",
|
|
49552
|
-
destructive: false,
|
|
49553
|
-
cli: {
|
|
49554
|
-
group: ["sharedreports"],
|
|
49555
|
-
command: "share-saved-view",
|
|
49556
|
-
interactive: "hidden"
|
|
49557
|
-
},
|
|
49558
|
-
mcp: { entityTool: "sharedreports" },
|
|
49559
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49560
|
-
id: /* @__PURE__ */ number$2(),
|
|
49561
|
-
payload: /* @__PURE__ */ looseObject({
|
|
49562
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
49563
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49564
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49565
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49566
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49567
|
-
})
|
|
49568
|
-
}),
|
|
49569
|
-
execute: (input, { client }) => {
|
|
49570
|
-
const data = input;
|
|
49571
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49572
|
-
client.httpClient,
|
|
49573
|
-
client.workspaceIdNumber,
|
|
49574
|
-
data.id,
|
|
49575
|
-
data.payload ?? data.data ?? data,
|
|
49576
|
-
void 0
|
|
49577
|
-
]));
|
|
49578
|
-
}
|
|
49579
|
-
},
|
|
49580
|
-
{
|
|
49581
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
49582
|
-
family: "focus",
|
|
49583
|
-
resource: "sharedreports",
|
|
49584
|
-
action: "share-saved-view-many",
|
|
49585
|
-
title: "Share Saved View Many Sharedreports",
|
|
49586
|
-
description: "Share Saved View Many Sharedreports.",
|
|
49587
|
-
safety: "update",
|
|
49588
|
-
destructive: false,
|
|
49589
|
-
cli: {
|
|
49590
|
-
group: ["sharedreports"],
|
|
49591
|
-
command: "share-saved-view-many",
|
|
49592
|
-
interactive: "hidden"
|
|
49593
|
-
},
|
|
49594
|
-
mcp: { entityTool: "sharedreports" },
|
|
49595
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49596
|
-
id: /* @__PURE__ */ number$2(),
|
|
49597
|
-
payload: /* @__PURE__ */ looseObject({
|
|
49598
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
49599
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49600
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49601
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49602
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49603
|
-
})),
|
|
49604
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49605
|
-
})
|
|
49606
|
-
}),
|
|
49607
|
-
execute: (input, { client }) => {
|
|
49608
|
-
const data = input;
|
|
49609
|
-
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49610
|
-
client.httpClient,
|
|
49611
|
-
client.workspaceIdNumber,
|
|
49612
|
-
data.id,
|
|
49613
|
-
data.payload ?? data.data ?? data,
|
|
49614
|
-
void 0
|
|
49615
|
-
]));
|
|
49616
|
-
}
|
|
49617
|
-
},
|
|
49618
|
-
{
|
|
49619
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
49620
|
-
family: "focus",
|
|
49621
|
-
resource: "sharedreports",
|
|
49622
|
-
action: "unshare-shared-report",
|
|
49623
|
-
title: "Unshare Shared Report Sharedreports",
|
|
49624
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
49625
|
-
safety: "delete",
|
|
49626
|
-
destructive: true,
|
|
49627
|
-
cli: {
|
|
49628
|
-
group: ["sharedreports"],
|
|
49629
|
-
command: "unshare-shared-report",
|
|
49630
|
-
interactive: "default"
|
|
49631
|
-
},
|
|
49632
|
-
mcp: { entityTool: "sharedreports" },
|
|
49633
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49634
|
-
execute: (input, { client }) => {
|
|
49635
|
-
const data = input;
|
|
49636
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49637
|
-
client.httpClient,
|
|
49638
|
-
client.workspaceIdNumber,
|
|
49639
|
-
data.id,
|
|
49640
|
-
void 0
|
|
49641
|
-
]));
|
|
49642
|
-
}
|
|
49643
|
-
},
|
|
49644
|
-
{
|
|
49645
|
-
id: "focus.statuses.create-status",
|
|
48893
|
+
id: "focus.statuses.create-status",
|
|
49646
48894
|
family: "focus",
|
|
49647
48895
|
resource: "statuses",
|
|
49648
48896
|
action: "create-status",
|
|
@@ -50683,37 +49931,6 @@ const generatedFocusOperations = [
|
|
|
50683
49931
|
return client.createTask(data);
|
|
50684
49932
|
}
|
|
50685
49933
|
},
|
|
50686
|
-
{
|
|
50687
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50688
|
-
family: "focus",
|
|
50689
|
-
resource: "tasks",
|
|
50690
|
-
action: "create-recurring-occurrence",
|
|
50691
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50692
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50693
|
-
safety: "create",
|
|
50694
|
-
destructive: false,
|
|
50695
|
-
cli: {
|
|
50696
|
-
group: ["tasks"],
|
|
50697
|
-
command: "create-recurring-occurrence",
|
|
50698
|
-
interactive: "default"
|
|
50699
|
-
},
|
|
50700
|
-
mcp: { entityTool: "tasks" },
|
|
50701
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50702
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50703
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50704
|
-
}),
|
|
50705
|
-
execute: (input, { client }) => {
|
|
50706
|
-
const data = input;
|
|
50707
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50708
|
-
client.httpClient,
|
|
50709
|
-
client.organizationId,
|
|
50710
|
-
client.workspaceIdNumber,
|
|
50711
|
-
data.task_id,
|
|
50712
|
-
data.return_occurrence,
|
|
50713
|
-
void 0
|
|
50714
|
-
]));
|
|
50715
|
-
}
|
|
50716
|
-
},
|
|
50717
49934
|
{
|
|
50718
49935
|
id: "focus.tasks.delete",
|
|
50719
49936
|
family: "focus",
|
|
@@ -50938,79 +50155,6 @@ const generatedFocusOperations = [
|
|
|
50938
50155
|
]));
|
|
50939
50156
|
}
|
|
50940
50157
|
},
|
|
50941
|
-
{
|
|
50942
|
-
id: "focus.tasks.get-picker-task-children",
|
|
50943
|
-
family: "focus",
|
|
50944
|
-
resource: "tasks",
|
|
50945
|
-
action: "get-picker-task-children",
|
|
50946
|
-
title: "Get Picker Task Children Tasks",
|
|
50947
|
-
description: "Get Picker Task Children Tasks.",
|
|
50948
|
-
safety: "read",
|
|
50949
|
-
destructive: false,
|
|
50950
|
-
cli: {
|
|
50951
|
-
group: ["tasks"],
|
|
50952
|
-
command: "get-picker-task-children",
|
|
50953
|
-
interactive: "hidden"
|
|
50954
|
-
},
|
|
50955
|
-
mcp: { entityTool: "tasks" },
|
|
50956
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50957
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50958
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50959
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50960
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50961
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50962
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50963
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50964
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50965
|
-
}),
|
|
50966
|
-
execute: (input, { client }) => {
|
|
50967
|
-
const data = input;
|
|
50968
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50969
|
-
client.httpClient,
|
|
50970
|
-
client.organizationId,
|
|
50971
|
-
client.workspaceIdNumber,
|
|
50972
|
-
data.parent_task_id,
|
|
50973
|
-
data,
|
|
50974
|
-
void 0
|
|
50975
|
-
]));
|
|
50976
|
-
}
|
|
50977
|
-
},
|
|
50978
|
-
{
|
|
50979
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
50980
|
-
family: "focus",
|
|
50981
|
-
resource: "tasks",
|
|
50982
|
-
action: "get-picker-task-groups",
|
|
50983
|
-
title: "Get Picker Task Groups Tasks",
|
|
50984
|
-
description: "Get Picker Task Groups Tasks.",
|
|
50985
|
-
safety: "read",
|
|
50986
|
-
destructive: false,
|
|
50987
|
-
cli: {
|
|
50988
|
-
group: ["tasks"],
|
|
50989
|
-
command: "get-picker-task-groups",
|
|
50990
|
-
interactive: "hidden"
|
|
50991
|
-
},
|
|
50992
|
-
mcp: { entityTool: "tasks" },
|
|
50993
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50994
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50995
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50996
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50997
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50998
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50999
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51000
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51001
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51002
|
-
}),
|
|
51003
|
-
execute: (input, { client }) => {
|
|
51004
|
-
const data = input;
|
|
51005
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
51006
|
-
client.httpClient,
|
|
51007
|
-
client.organizationId,
|
|
51008
|
-
client.workspaceIdNumber,
|
|
51009
|
-
data,
|
|
51010
|
-
void 0
|
|
51011
|
-
]));
|
|
51012
|
-
}
|
|
51013
|
-
},
|
|
51014
50158
|
{
|
|
51015
50159
|
id: "focus.tasks.get-recurring-instances",
|
|
51016
50160
|
family: "focus",
|
|
@@ -51034,13 +50178,9 @@ const generatedFocusOperations = [
|
|
|
51034
50178
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51035
50179
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51036
50180
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51037
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51038
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51039
50181
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51040
50182
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51041
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51042
50183
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51043
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51044
50184
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51045
50185
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51046
50186
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -51086,14 +50226,13 @@ const generatedFocusOperations = [
|
|
|
51086
50226
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51087
50227
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51088
50228
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50229
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51089
50230
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51090
50231
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51091
50232
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51092
50233
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51093
50234
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51094
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51095
50235
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51096
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51097
50236
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51098
50237
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51099
50238
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -51102,9 +50241,7 @@ const generatedFocusOperations = [
|
|
|
51102
50241
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51103
50242
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51104
50243
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51105
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51106
50244
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51107
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51108
50245
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51109
50246
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51110
50247
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51113,6 +50250,8 @@ const generatedFocusOperations = [
|
|
|
51113
50250
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51114
50251
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51115
50252
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50253
|
+
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50254
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51116
50255
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51117
50256
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51118
50257
|
}),
|
|
@@ -51240,10 +50379,8 @@ const generatedFocusOperations = [
|
|
|
51240
50379
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51241
50380
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51242
50381
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51243
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51244
50382
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51245
50383
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51246
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51247
50384
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51248
50385
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51249
50386
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51252,8 +50389,6 @@ const generatedFocusOperations = [
|
|
|
51252
50389
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51253
50390
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51254
50391
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51255
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51256
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51257
50392
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51258
50393
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51259
50394
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51262,8 +50397,7 @@ const generatedFocusOperations = [
|
|
|
51262
50397
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51263
50398
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51264
50399
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51265
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51266
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50400
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51267
50401
|
}),
|
|
51268
50402
|
execute: (input, { client }) => {
|
|
51269
50403
|
const data = input;
|
|
@@ -51305,17 +50439,13 @@ const generatedFocusOperations = [
|
|
|
51305
50439
|
group_id: /* @__PURE__ */ number$2(),
|
|
51306
50440
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
51307
50441
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51308
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
51309
50442
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
51310
50443
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51311
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51312
50444
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
51313
50445
|
name: /* @__PURE__ */ unknown$1(),
|
|
51314
50446
|
priority: /* @__PURE__ */ unknown$1(),
|
|
51315
50447
|
private_: /* @__PURE__ */ unknown$1(),
|
|
51316
50448
|
project_id: /* @__PURE__ */ number$2(),
|
|
51317
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51318
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
51319
50449
|
source: /* @__PURE__ */ unknown$1(),
|
|
51320
50450
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51321
50451
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -51324,8 +50454,7 @@ const generatedFocusOperations = [
|
|
|
51324
50454
|
tag_id: /* @__PURE__ */ number$2(),
|
|
51325
50455
|
team_id: /* @__PURE__ */ number$2(),
|
|
51326
50456
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
51327
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51328
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50457
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
51329
50458
|
}),
|
|
51330
50459
|
execute: (input, { client }) => {
|
|
51331
50460
|
const data = input;
|
|
@@ -51366,17 +50495,13 @@ const generatedFocusOperations = [
|
|
|
51366
50495
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51367
50496
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51368
50497
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51369
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51370
50498
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51371
50499
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51372
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51373
50500
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51374
50501
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51375
50502
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51376
50503
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51377
50504
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51378
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51379
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51380
50505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51381
50506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51382
50507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51385,8 +50510,7 @@ const generatedFocusOperations = [
|
|
|
51385
50510
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51386
50511
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51387
50512
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51388
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51389
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50513
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51390
50514
|
}),
|
|
51391
50515
|
execute: (input, { client }) => {
|
|
51392
50516
|
const data = input;
|
|
@@ -51654,21 +50778,484 @@ const generatedFocusOperations = [
|
|
|
51654
50778
|
command: "update-calendar-range",
|
|
51655
50779
|
interactive: "default"
|
|
51656
50780
|
},
|
|
51657
|
-
mcp: { entityTool: "tasks" },
|
|
50781
|
+
mcp: { entityTool: "tasks" },
|
|
50782
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50783
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
50784
|
+
date_to: /* @__PURE__ */ string$1()
|
|
50785
|
+
}),
|
|
50786
|
+
execute: (input, { client }) => {
|
|
50787
|
+
const data = input;
|
|
50788
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
50789
|
+
client.httpClient,
|
|
50790
|
+
client.organizationId,
|
|
50791
|
+
client.workspaceIdNumber,
|
|
50792
|
+
data.date_from,
|
|
50793
|
+
data.date_to,
|
|
50794
|
+
void 0
|
|
50795
|
+
]));
|
|
50796
|
+
}
|
|
50797
|
+
},
|
|
50798
|
+
{
|
|
50799
|
+
id: "focus.time-blocks.archive",
|
|
50800
|
+
family: "focus",
|
|
50801
|
+
resource: "time-blocks",
|
|
50802
|
+
action: "archive",
|
|
50803
|
+
title: "Archive Time Blocks",
|
|
50804
|
+
description: "Archive Time Blocks.",
|
|
50805
|
+
safety: "update",
|
|
50806
|
+
destructive: false,
|
|
50807
|
+
cli: {
|
|
50808
|
+
group: ["time-blocks"],
|
|
50809
|
+
command: "archive",
|
|
50810
|
+
interactive: "default"
|
|
50811
|
+
},
|
|
50812
|
+
mcp: { entityTool: "time-blocks" },
|
|
50813
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50814
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50815
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50816
|
+
}),
|
|
50817
|
+
execute: (input, { client }) => {
|
|
50818
|
+
const data = input;
|
|
50819
|
+
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
50820
|
+
client.httpClient,
|
|
50821
|
+
client.organizationId,
|
|
50822
|
+
client.workspaceIdNumber,
|
|
50823
|
+
data.task_id,
|
|
50824
|
+
data.time_block_id,
|
|
50825
|
+
void 0
|
|
50826
|
+
]));
|
|
50827
|
+
}
|
|
50828
|
+
},
|
|
50829
|
+
{
|
|
50830
|
+
id: "focus.time-blocks.bulk-create",
|
|
50831
|
+
family: "focus",
|
|
50832
|
+
resource: "time-blocks",
|
|
50833
|
+
action: "bulk-create",
|
|
50834
|
+
title: "Bulk Create Time Blocks",
|
|
50835
|
+
description: "Bulk Create Time Blocks.",
|
|
50836
|
+
safety: "create",
|
|
50837
|
+
destructive: false,
|
|
50838
|
+
cli: {
|
|
50839
|
+
group: ["time-blocks", "bulk"],
|
|
50840
|
+
command: "create",
|
|
50841
|
+
interactive: "default"
|
|
50842
|
+
},
|
|
50843
|
+
mcp: { entityTool: "time-blocks" },
|
|
50844
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50845
|
+
start: apiDateTimeString,
|
|
50846
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50847
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50848
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50849
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50850
|
+
})) }) }),
|
|
50851
|
+
execute: (input, { client }) => {
|
|
50852
|
+
const data = input;
|
|
50853
|
+
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
50854
|
+
client.httpClient,
|
|
50855
|
+
client.organizationId,
|
|
50856
|
+
client.workspaceIdNumber,
|
|
50857
|
+
data.payload ?? data.data ?? data,
|
|
50858
|
+
void 0
|
|
50859
|
+
]));
|
|
50860
|
+
}
|
|
50861
|
+
},
|
|
50862
|
+
{
|
|
50863
|
+
id: "focus.time-blocks.bulk-delete",
|
|
50864
|
+
family: "focus",
|
|
50865
|
+
resource: "time-blocks",
|
|
50866
|
+
action: "bulk-delete",
|
|
50867
|
+
title: "Bulk Delete Time Blocks",
|
|
50868
|
+
description: "Bulk Delete Time Blocks.",
|
|
50869
|
+
safety: "delete",
|
|
50870
|
+
destructive: true,
|
|
50871
|
+
cli: {
|
|
50872
|
+
group: ["time-blocks", "bulk"],
|
|
50873
|
+
command: "delete",
|
|
50874
|
+
interactive: "default"
|
|
50875
|
+
},
|
|
50876
|
+
mcp: { entityTool: "time-blocks" },
|
|
50877
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50878
|
+
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50879
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50880
|
+
}),
|
|
50881
|
+
execute: (input, { client }) => {
|
|
50882
|
+
const data = input;
|
|
50883
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
50884
|
+
client.httpClient,
|
|
50885
|
+
client.organizationId,
|
|
50886
|
+
client.workspaceIdNumber,
|
|
50887
|
+
data.ids,
|
|
50888
|
+
data.outbound_sync,
|
|
50889
|
+
void 0
|
|
50890
|
+
]));
|
|
50891
|
+
}
|
|
50892
|
+
},
|
|
50893
|
+
{
|
|
50894
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
50895
|
+
family: "focus",
|
|
50896
|
+
resource: "time-blocks",
|
|
50897
|
+
action: "bulk-partial-update",
|
|
50898
|
+
title: "Bulk Partial Update Time Blocks",
|
|
50899
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
50900
|
+
safety: "update",
|
|
50901
|
+
destructive: false,
|
|
50902
|
+
cli: {
|
|
50903
|
+
group: ["time-blocks", "bulk"],
|
|
50904
|
+
command: "partial-update",
|
|
50905
|
+
interactive: "hidden"
|
|
50906
|
+
},
|
|
50907
|
+
mcp: { entityTool: "time-blocks" },
|
|
50908
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50909
|
+
execute: (input, { client }) => {
|
|
50910
|
+
const data = input;
|
|
50911
|
+
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50912
|
+
client.httpClient,
|
|
50913
|
+
client.organizationId,
|
|
50914
|
+
client.workspaceIdNumber,
|
|
50915
|
+
data.payload ?? data.data ?? data,
|
|
50916
|
+
void 0
|
|
50917
|
+
]));
|
|
50918
|
+
}
|
|
50919
|
+
},
|
|
50920
|
+
{
|
|
50921
|
+
id: "focus.time-blocks.create",
|
|
50922
|
+
family: "focus",
|
|
50923
|
+
resource: "time-blocks",
|
|
50924
|
+
action: "create",
|
|
50925
|
+
title: "Create Time Blocks",
|
|
50926
|
+
description: "Create Time Blocks.",
|
|
50927
|
+
safety: "create",
|
|
50928
|
+
destructive: false,
|
|
50929
|
+
cli: {
|
|
50930
|
+
group: ["time-blocks"],
|
|
50931
|
+
command: "create",
|
|
50932
|
+
interactive: "default"
|
|
50933
|
+
},
|
|
50934
|
+
mcp: { entityTool: "time-blocks" },
|
|
50935
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50936
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50937
|
+
start: apiDateTimeString,
|
|
50938
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50939
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50940
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50941
|
+
}),
|
|
50942
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50943
|
+
}),
|
|
50944
|
+
execute: (input, { client }) => {
|
|
50945
|
+
const data = input;
|
|
50946
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50947
|
+
client.httpClient,
|
|
50948
|
+
client.organizationId,
|
|
50949
|
+
client.workspaceIdNumber,
|
|
50950
|
+
data.task_id,
|
|
50951
|
+
data.payload ?? data.data ?? data,
|
|
50952
|
+
void 0
|
|
50953
|
+
]));
|
|
50954
|
+
}
|
|
50955
|
+
},
|
|
50956
|
+
{
|
|
50957
|
+
id: "focus.time-blocks.delete",
|
|
50958
|
+
family: "focus",
|
|
50959
|
+
resource: "time-blocks",
|
|
50960
|
+
action: "delete",
|
|
50961
|
+
title: "Delete Time Blocks",
|
|
50962
|
+
description: "Delete Time Blocks.",
|
|
50963
|
+
safety: "delete",
|
|
50964
|
+
destructive: true,
|
|
50965
|
+
cli: {
|
|
50966
|
+
group: ["time-blocks"],
|
|
50967
|
+
command: "delete",
|
|
50968
|
+
interactive: "default"
|
|
50969
|
+
},
|
|
50970
|
+
mcp: { entityTool: "time-blocks" },
|
|
50971
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50972
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50973
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
50974
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
50975
|
+
}),
|
|
50976
|
+
execute: (input, { client }) => {
|
|
50977
|
+
const data = input;
|
|
50978
|
+
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50979
|
+
client.httpClient,
|
|
50980
|
+
client.organizationId,
|
|
50981
|
+
client.workspaceIdNumber,
|
|
50982
|
+
data.task_id,
|
|
50983
|
+
data.time_block_id,
|
|
50984
|
+
data.outbound_sync,
|
|
50985
|
+
void 0
|
|
50986
|
+
]));
|
|
50987
|
+
}
|
|
50988
|
+
},
|
|
50989
|
+
{
|
|
50990
|
+
id: "focus.time-blocks.get",
|
|
50991
|
+
family: "focus",
|
|
50992
|
+
resource: "time-blocks",
|
|
50993
|
+
action: "get",
|
|
50994
|
+
title: "Get Time Blocks",
|
|
50995
|
+
description: "Get Time Blocks.",
|
|
50996
|
+
safety: "read",
|
|
50997
|
+
destructive: false,
|
|
50998
|
+
cli: {
|
|
50999
|
+
group: ["time-blocks"],
|
|
51000
|
+
command: "get",
|
|
51001
|
+
interactive: "available"
|
|
51002
|
+
},
|
|
51003
|
+
mcp: { entityTool: "time-blocks" },
|
|
51004
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51005
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51006
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51007
|
+
}),
|
|
51008
|
+
execute: (input, { client }) => {
|
|
51009
|
+
const data = input;
|
|
51010
|
+
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
51011
|
+
client.httpClient,
|
|
51012
|
+
client.organizationId,
|
|
51013
|
+
client.workspaceIdNumber,
|
|
51014
|
+
data.task_id,
|
|
51015
|
+
data.time_block_id,
|
|
51016
|
+
void 0
|
|
51017
|
+
]));
|
|
51018
|
+
}
|
|
51019
|
+
},
|
|
51020
|
+
{
|
|
51021
|
+
id: "focus.time-blocks.get-range",
|
|
51022
|
+
family: "focus",
|
|
51023
|
+
resource: "time-blocks",
|
|
51024
|
+
action: "get-range",
|
|
51025
|
+
title: "Get Range Time Blocks",
|
|
51026
|
+
description: "Get Range Time Blocks.",
|
|
51027
|
+
safety: "read",
|
|
51028
|
+
destructive: false,
|
|
51029
|
+
cli: {
|
|
51030
|
+
group: ["time-blocks"],
|
|
51031
|
+
command: "get-range",
|
|
51032
|
+
interactive: "hidden"
|
|
51033
|
+
},
|
|
51034
|
+
mcp: { entityTool: "time-blocks" },
|
|
51035
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51036
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51037
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51038
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51039
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51040
|
+
page: /* @__PURE__ */ number$2(),
|
|
51041
|
+
per_page: /* @__PURE__ */ unknown$1(),
|
|
51042
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51043
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51044
|
+
}),
|
|
51045
|
+
execute: (input, { client }) => {
|
|
51046
|
+
const data = input;
|
|
51047
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
51048
|
+
client.httpClient,
|
|
51049
|
+
client.organizationId,
|
|
51050
|
+
client.workspaceIdNumber,
|
|
51051
|
+
data,
|
|
51052
|
+
void 0
|
|
51053
|
+
]));
|
|
51054
|
+
}
|
|
51055
|
+
},
|
|
51056
|
+
{
|
|
51057
|
+
id: "focus.time-blocks.get-range-stream",
|
|
51058
|
+
family: "focus",
|
|
51059
|
+
resource: "time-blocks",
|
|
51060
|
+
action: "get-range-stream",
|
|
51061
|
+
title: "Get Range Stream Time Blocks",
|
|
51062
|
+
description: "Get Range Stream Time Blocks.",
|
|
51063
|
+
safety: "read",
|
|
51064
|
+
destructive: false,
|
|
51065
|
+
cli: {
|
|
51066
|
+
group: ["time-blocks"],
|
|
51067
|
+
command: "get-range-stream",
|
|
51068
|
+
interactive: "hidden"
|
|
51069
|
+
},
|
|
51070
|
+
mcp: { entityTool: "time-blocks" },
|
|
51071
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51072
|
+
archived: /* @__PURE__ */ unknown$1(),
|
|
51073
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
51074
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
51075
|
+
order_by: /* @__PURE__ */ unknown$1(),
|
|
51076
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
51077
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51078
|
+
}),
|
|
51079
|
+
execute: (input, { client }) => {
|
|
51080
|
+
const data = input;
|
|
51081
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
51082
|
+
client.httpClient,
|
|
51083
|
+
client.organizationId,
|
|
51084
|
+
client.workspaceIdNumber,
|
|
51085
|
+
data,
|
|
51086
|
+
void 0
|
|
51087
|
+
]));
|
|
51088
|
+
}
|
|
51089
|
+
},
|
|
51090
|
+
{
|
|
51091
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
51092
|
+
family: "focus",
|
|
51093
|
+
resource: "time-blocks",
|
|
51094
|
+
action: "get-task-time-blocks",
|
|
51095
|
+
title: "Get Task Time Blocks Time Blocks",
|
|
51096
|
+
description: "Get Task Time Blocks Time Blocks.",
|
|
51097
|
+
safety: "read",
|
|
51098
|
+
destructive: false,
|
|
51099
|
+
cli: {
|
|
51100
|
+
group: ["time-blocks"],
|
|
51101
|
+
command: "get-task-time-blocks",
|
|
51102
|
+
interactive: "hidden"
|
|
51103
|
+
},
|
|
51104
|
+
mcp: { entityTool: "time-blocks" },
|
|
51105
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51106
|
+
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51107
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51108
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51109
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51110
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51111
|
+
}),
|
|
51112
|
+
execute: (input, { client }) => {
|
|
51113
|
+
const data = input;
|
|
51114
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51115
|
+
client.httpClient,
|
|
51116
|
+
client.organizationId,
|
|
51117
|
+
client.workspaceIdNumber,
|
|
51118
|
+
data.task_id,
|
|
51119
|
+
data,
|
|
51120
|
+
void 0
|
|
51121
|
+
]));
|
|
51122
|
+
}
|
|
51123
|
+
},
|
|
51124
|
+
{
|
|
51125
|
+
id: "focus.time-blocks.partial-update",
|
|
51126
|
+
family: "focus",
|
|
51127
|
+
resource: "time-blocks",
|
|
51128
|
+
action: "partial-update",
|
|
51129
|
+
title: "Partial Update Time Blocks",
|
|
51130
|
+
description: "Partial Update Time Blocks.",
|
|
51131
|
+
safety: "update",
|
|
51132
|
+
destructive: false,
|
|
51133
|
+
cli: {
|
|
51134
|
+
group: ["time-blocks"],
|
|
51135
|
+
command: "partial-update",
|
|
51136
|
+
interactive: "default"
|
|
51137
|
+
},
|
|
51138
|
+
mcp: { entityTool: "time-blocks" },
|
|
51139
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51140
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51141
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51142
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51143
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51144
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51145
|
+
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51146
|
+
}),
|
|
51147
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51148
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51149
|
+
}),
|
|
51150
|
+
execute: (input, { client }) => {
|
|
51151
|
+
const data = input;
|
|
51152
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51153
|
+
client.httpClient,
|
|
51154
|
+
client.organizationId,
|
|
51155
|
+
client.workspaceIdNumber,
|
|
51156
|
+
data.task_id,
|
|
51157
|
+
data.time_block_id,
|
|
51158
|
+
data.payload ?? data.data ?? data,
|
|
51159
|
+
void 0
|
|
51160
|
+
]));
|
|
51161
|
+
}
|
|
51162
|
+
},
|
|
51163
|
+
{
|
|
51164
|
+
id: "focus.time-blocks.restore",
|
|
51165
|
+
family: "focus",
|
|
51166
|
+
resource: "time-blocks",
|
|
51167
|
+
action: "restore",
|
|
51168
|
+
title: "Restore Time Blocks",
|
|
51169
|
+
description: "Restore Time Blocks.",
|
|
51170
|
+
safety: "update",
|
|
51171
|
+
destructive: false,
|
|
51172
|
+
cli: {
|
|
51173
|
+
group: ["time-blocks"],
|
|
51174
|
+
command: "restore",
|
|
51175
|
+
interactive: "default"
|
|
51176
|
+
},
|
|
51177
|
+
mcp: { entityTool: "time-blocks" },
|
|
51178
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51179
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51180
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51181
|
+
}),
|
|
51182
|
+
execute: (input, { client }) => {
|
|
51183
|
+
const data = input;
|
|
51184
|
+
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51185
|
+
client.httpClient,
|
|
51186
|
+
client.organizationId,
|
|
51187
|
+
client.workspaceIdNumber,
|
|
51188
|
+
data.task_id,
|
|
51189
|
+
data.time_block_id,
|
|
51190
|
+
void 0
|
|
51191
|
+
]));
|
|
51192
|
+
}
|
|
51193
|
+
},
|
|
51194
|
+
{
|
|
51195
|
+
id: "focus.time-blocks.unarchive",
|
|
51196
|
+
family: "focus",
|
|
51197
|
+
resource: "time-blocks",
|
|
51198
|
+
action: "unarchive",
|
|
51199
|
+
title: "Unarchive Time Blocks",
|
|
51200
|
+
description: "Unarchive Time Blocks.",
|
|
51201
|
+
safety: "update",
|
|
51202
|
+
destructive: false,
|
|
51203
|
+
cli: {
|
|
51204
|
+
group: ["time-blocks"],
|
|
51205
|
+
command: "unarchive",
|
|
51206
|
+
interactive: "default"
|
|
51207
|
+
},
|
|
51208
|
+
mcp: { entityTool: "time-blocks" },
|
|
51209
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51210
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51211
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51212
|
+
}),
|
|
51213
|
+
execute: (input, { client }) => {
|
|
51214
|
+
const data = input;
|
|
51215
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51216
|
+
client.httpClient,
|
|
51217
|
+
client.organizationId,
|
|
51218
|
+
client.workspaceIdNumber,
|
|
51219
|
+
data.task_id,
|
|
51220
|
+
data.time_block_id,
|
|
51221
|
+
void 0
|
|
51222
|
+
]));
|
|
51223
|
+
}
|
|
51224
|
+
},
|
|
51225
|
+
{
|
|
51226
|
+
id: "focus.time-blocks.update",
|
|
51227
|
+
family: "focus",
|
|
51228
|
+
resource: "time-blocks",
|
|
51229
|
+
action: "update",
|
|
51230
|
+
title: "Update Time Blocks",
|
|
51231
|
+
description: "Update Time Blocks.",
|
|
51232
|
+
safety: "update",
|
|
51233
|
+
destructive: false,
|
|
51234
|
+
cli: {
|
|
51235
|
+
group: ["time-blocks"],
|
|
51236
|
+
command: "update",
|
|
51237
|
+
interactive: "default"
|
|
51238
|
+
},
|
|
51239
|
+
mcp: { entityTool: "time-blocks" },
|
|
51658
51240
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51659
|
-
|
|
51660
|
-
|
|
51661
|
-
|
|
51241
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51242
|
+
start: apiDateTimeString,
|
|
51243
|
+
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51244
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51245
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51246
|
+
}),
|
|
51247
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51248
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51662
51249
|
}),
|
|
51663
51250
|
execute: (input, { client }) => {
|
|
51664
51251
|
const data = input;
|
|
51665
|
-
return client.runGeneratedRequest("
|
|
51252
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51666
51253
|
client.httpClient,
|
|
51667
51254
|
client.organizationId,
|
|
51668
51255
|
client.workspaceIdNumber,
|
|
51669
|
-
data.
|
|
51670
|
-
data.
|
|
51671
|
-
data.
|
|
51256
|
+
data.task_id,
|
|
51257
|
+
data.time_block_id,
|
|
51258
|
+
data.payload ?? data.data ?? data,
|
|
51672
51259
|
void 0
|
|
51673
51260
|
]));
|
|
51674
51261
|
}
|
|
@@ -51888,8 +51475,7 @@ const generatedFocusOperations = [
|
|
|
51888
51475
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51889
51476
|
"project",
|
|
51890
51477
|
"task",
|
|
51891
|
-
"description"
|
|
51892
|
-
"tags"
|
|
51478
|
+
"description"
|
|
51893
51479
|
]) })),
|
|
51894
51480
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51895
51481
|
}) }),
|
|
@@ -51919,7 +51505,6 @@ const generatedFocusOperations = [
|
|
|
51919
51505
|
},
|
|
51920
51506
|
mcp: { entityTool: "time-entries" },
|
|
51921
51507
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51922
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51923
51508
|
payload: /* @__PURE__ */ looseObject({
|
|
51924
51509
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51925
51510
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51930,12 +51515,11 @@ const generatedFocusOperations = [
|
|
|
51930
51515
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51931
51516
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51932
51517
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51933
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51934
51518
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51519
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51935
51520
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51936
51521
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51937
51522
|
}),
|
|
51938
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51939
51523
|
task_id: /* @__PURE__ */ number$2()
|
|
51940
51524
|
}),
|
|
51941
51525
|
execute: (input, { client }) => {
|
|
@@ -51946,8 +51530,6 @@ const generatedFocusOperations = [
|
|
|
51946
51530
|
client.workspaceIdNumber,
|
|
51947
51531
|
data.task_id,
|
|
51948
51532
|
data.payload ?? data.data ?? data,
|
|
51949
|
-
data.from_recurring_task_id,
|
|
51950
|
-
data.return_occurrence,
|
|
51951
51533
|
void 0
|
|
51952
51534
|
]));
|
|
51953
51535
|
}
|
|
@@ -51967,25 +51549,21 @@ const generatedFocusOperations = [
|
|
|
51967
51549
|
interactive: "default"
|
|
51968
51550
|
},
|
|
51969
51551
|
mcp: { entityTool: "time-entries" },
|
|
51970
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51971
|
-
|
|
51972
|
-
|
|
51973
|
-
|
|
51974
|
-
|
|
51975
|
-
|
|
51976
|
-
|
|
51977
|
-
|
|
51978
|
-
|
|
51979
|
-
|
|
51980
|
-
|
|
51981
|
-
|
|
51982
|
-
|
|
51983
|
-
|
|
51984
|
-
|
|
51985
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51986
|
-
}),
|
|
51987
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51988
|
-
}),
|
|
51552
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
51553
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51554
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51555
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51556
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51557
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51558
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51559
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51560
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51561
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51562
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51563
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51564
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51565
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51566
|
+
}) }),
|
|
51989
51567
|
execute: (input, { client }) => {
|
|
51990
51568
|
const data = input;
|
|
51991
51569
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51993,8 +51571,6 @@ const generatedFocusOperations = [
|
|
|
51993
51571
|
client.organizationId,
|
|
51994
51572
|
client.workspaceIdNumber,
|
|
51995
51573
|
data.payload ?? data.data ?? data,
|
|
51996
|
-
data.from_recurring_task_id,
|
|
51997
|
-
data.return_occurrence,
|
|
51998
51574
|
void 0
|
|
51999
51575
|
]));
|
|
52000
51576
|
}
|
|
@@ -52014,11 +51590,7 @@ const generatedFocusOperations = [
|
|
|
52014
51590
|
interactive: "default"
|
|
52015
51591
|
},
|
|
52016
51592
|
mcp: { entityTool: "time-entries" },
|
|
52017
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52018
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52019
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52020
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
52021
|
-
}),
|
|
51593
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
52022
51594
|
execute: (input, { client }) => {
|
|
52023
51595
|
const data = input;
|
|
52024
51596
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -52026,8 +51598,6 @@ const generatedFocusOperations = [
|
|
|
52026
51598
|
client.organizationId,
|
|
52027
51599
|
client.workspaceIdNumber,
|
|
52028
51600
|
data.time_entry_id,
|
|
52029
|
-
data.from_recurring_task_id,
|
|
52030
|
-
data.return_occurrence,
|
|
52031
51601
|
void 0
|
|
52032
51602
|
]));
|
|
52033
51603
|
}
|
|
@@ -52108,7 +51678,6 @@ const generatedFocusOperations = [
|
|
|
52108
51678
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
52109
51679
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
52110
51680
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52111
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
52112
51681
|
status_id: /* @__PURE__ */ number$2(),
|
|
52113
51682
|
task_id: /* @__PURE__ */ number$2(),
|
|
52114
51683
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52124,6 +51693,33 @@ const generatedFocusOperations = [
|
|
|
52124
51693
|
]));
|
|
52125
51694
|
}
|
|
52126
51695
|
},
|
|
51696
|
+
{
|
|
51697
|
+
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51698
|
+
family: "focus",
|
|
51699
|
+
resource: "time-entries",
|
|
51700
|
+
action: "get-stream-time-entries-time-block-ids",
|
|
51701
|
+
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51702
|
+
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51703
|
+
safety: "read",
|
|
51704
|
+
destructive: false,
|
|
51705
|
+
cli: {
|
|
51706
|
+
group: ["time-entries"],
|
|
51707
|
+
command: "get-stream-time-entries-time-block-ids",
|
|
51708
|
+
interactive: "available"
|
|
51709
|
+
},
|
|
51710
|
+
mcp: { entityTool: "time-entries" },
|
|
51711
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51712
|
+
execute: (input, { client }) => {
|
|
51713
|
+
const data = input;
|
|
51714
|
+
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51715
|
+
client.httpClient,
|
|
51716
|
+
client.organizationId,
|
|
51717
|
+
client.workspaceIdNumber,
|
|
51718
|
+
data,
|
|
51719
|
+
void 0
|
|
51720
|
+
]));
|
|
51721
|
+
}
|
|
51722
|
+
},
|
|
52127
51723
|
{
|
|
52128
51724
|
id: "focus.time-entries.get-task-time-entries",
|
|
52129
51725
|
family: "focus",
|
|
@@ -52145,6 +51741,7 @@ const generatedFocusOperations = [
|
|
|
52145
51741
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52146
51742
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52147
51743
|
task_id: /* @__PURE__ */ number$2(),
|
|
51744
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52148
51745
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
52149
51746
|
}),
|
|
52150
51747
|
execute: (input, { client }) => {
|
|
@@ -52257,14 +51854,12 @@ const generatedFocusOperations = [
|
|
|
52257
51854
|
},
|
|
52258
51855
|
mcp: { entityTool: "time-entries" },
|
|
52259
51856
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52260
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52261
51857
|
payload: /* @__PURE__ */ looseObject({
|
|
52262
51858
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52263
51859
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52264
51860
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52265
51861
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52266
51862
|
}),
|
|
52267
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52268
51863
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52269
51864
|
}),
|
|
52270
51865
|
execute: (input, { client }) => {
|
|
@@ -52275,8 +51870,6 @@ const generatedFocusOperations = [
|
|
|
52275
51870
|
client.workspaceIdNumber,
|
|
52276
51871
|
data.time_entry_id,
|
|
52277
51872
|
data.payload ?? data.data ?? data,
|
|
52278
|
-
data.from_recurring_task_id,
|
|
52279
|
-
data.return_occurrence,
|
|
52280
51873
|
void 0
|
|
52281
51874
|
]));
|
|
52282
51875
|
}
|
|
@@ -52534,7 +52127,6 @@ const generatedFocusOperations = [
|
|
|
52534
52127
|
},
|
|
52535
52128
|
mcp: { entityTool: "time-entries" },
|
|
52536
52129
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52537
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52538
52130
|
payload: /* @__PURE__ */ looseObject({
|
|
52539
52131
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52540
52132
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52544,9 +52136,9 @@ const generatedFocusOperations = [
|
|
|
52544
52136
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52545
52137
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52546
52138
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52139
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52547
52140
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52548
52141
|
}),
|
|
52549
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52550
52142
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52551
52143
|
}),
|
|
52552
52144
|
execute: (input, { client }) => {
|
|
@@ -52557,8 +52149,6 @@ const generatedFocusOperations = [
|
|
|
52557
52149
|
client.workspaceIdNumber,
|
|
52558
52150
|
data.time_entry_id,
|
|
52559
52151
|
data.payload ?? data.data ?? data,
|
|
52560
|
-
data.from_recurring_task_id,
|
|
52561
|
-
data.return_occurrence,
|
|
52562
52152
|
void 0
|
|
52563
52153
|
]));
|
|
52564
52154
|
}
|
|
@@ -52623,118 +52213,6 @@ const generatedFocusOperations = [
|
|
|
52623
52213
|
]));
|
|
52624
52214
|
}
|
|
52625
52215
|
},
|
|
52626
|
-
{
|
|
52627
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52628
|
-
family: "focus",
|
|
52629
|
-
resource: "time-off",
|
|
52630
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
52631
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52632
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52633
|
-
safety: "read",
|
|
52634
|
-
destructive: false,
|
|
52635
|
-
cli: {
|
|
52636
|
-
group: ["time-off"],
|
|
52637
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
52638
|
-
interactive: "hidden"
|
|
52639
|
-
},
|
|
52640
|
-
mcp: { entityTool: "time-off" },
|
|
52641
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52642
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
52643
|
-
page: /* @__PURE__ */ number$2(),
|
|
52644
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
52645
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
52646
|
-
year: /* @__PURE__ */ unknown$1()
|
|
52647
|
-
}),
|
|
52648
|
-
execute: (input, { client }) => {
|
|
52649
|
-
const data = input;
|
|
52650
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52651
|
-
client.httpClient,
|
|
52652
|
-
client.organizationId,
|
|
52653
|
-
data.user_id,
|
|
52654
|
-
data,
|
|
52655
|
-
void 0
|
|
52656
|
-
]));
|
|
52657
|
-
}
|
|
52658
|
-
},
|
|
52659
|
-
{
|
|
52660
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52661
|
-
family: "focus",
|
|
52662
|
-
resource: "time-off",
|
|
52663
|
-
action: "get-timeoff-balances-for-user",
|
|
52664
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
52665
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
52666
|
-
safety: "read",
|
|
52667
|
-
destructive: false,
|
|
52668
|
-
cli: {
|
|
52669
|
-
group: ["time-off"],
|
|
52670
|
-
command: "get-timeoff-balances-for-user",
|
|
52671
|
-
interactive: "available"
|
|
52672
|
-
},
|
|
52673
|
-
mcp: { entityTool: "time-off" },
|
|
52674
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52675
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52676
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52677
|
-
user_id: /* @__PURE__ */ number$2()
|
|
52678
|
-
}),
|
|
52679
|
-
execute: (input, { client }) => {
|
|
52680
|
-
const data = input;
|
|
52681
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52682
|
-
client.httpClient,
|
|
52683
|
-
client.organizationId,
|
|
52684
|
-
data.user_id,
|
|
52685
|
-
data,
|
|
52686
|
-
void 0
|
|
52687
|
-
]));
|
|
52688
|
-
}
|
|
52689
|
-
},
|
|
52690
|
-
{
|
|
52691
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
52692
|
-
family: "focus",
|
|
52693
|
-
resource: "time-off",
|
|
52694
|
-
action: "get-timeoff-categories",
|
|
52695
|
-
title: "Get Timeoff Categories Time Off",
|
|
52696
|
-
description: "Get Timeoff Categories Time Off.",
|
|
52697
|
-
safety: "read",
|
|
52698
|
-
destructive: false,
|
|
52699
|
-
cli: {
|
|
52700
|
-
group: ["time-off"],
|
|
52701
|
-
command: "get-timeoff-categories",
|
|
52702
|
-
interactive: "hidden"
|
|
52703
|
-
},
|
|
52704
|
-
mcp: { entityTool: "time-off" },
|
|
52705
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52706
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52707
|
-
client.httpClient,
|
|
52708
|
-
client.organizationId,
|
|
52709
|
-
void 0
|
|
52710
|
-
]))
|
|
52711
|
-
},
|
|
52712
|
-
{
|
|
52713
|
-
id: "focus.time-off.get-timeoff-category",
|
|
52714
|
-
family: "focus",
|
|
52715
|
-
resource: "time-off",
|
|
52716
|
-
action: "get-timeoff-category",
|
|
52717
|
-
title: "Get Timeoff Category Time Off",
|
|
52718
|
-
description: "Get Timeoff Category Time Off.",
|
|
52719
|
-
safety: "read",
|
|
52720
|
-
destructive: false,
|
|
52721
|
-
cli: {
|
|
52722
|
-
group: ["time-off"],
|
|
52723
|
-
command: "get-timeoff-category",
|
|
52724
|
-
interactive: "available"
|
|
52725
|
-
},
|
|
52726
|
-
mcp: { entityTool: "time-off" },
|
|
52727
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52728
|
-
execute: (input, { client }) => {
|
|
52729
|
-
const data = input;
|
|
52730
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52731
|
-
client.httpClient,
|
|
52732
|
-
client.organizationId,
|
|
52733
|
-
data.category_id,
|
|
52734
|
-
void 0
|
|
52735
|
-
]));
|
|
52736
|
-
}
|
|
52737
|
-
},
|
|
52738
52216
|
{
|
|
52739
52217
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52740
52218
|
family: "focus",
|
|
@@ -53186,40 +52664,6 @@ const generatedFocusOperations = [
|
|
|
53186
52664
|
]));
|
|
53187
52665
|
}
|
|
53188
52666
|
},
|
|
53189
|
-
{
|
|
53190
|
-
id: "focus.timesheets.get-status-counts",
|
|
53191
|
-
family: "focus",
|
|
53192
|
-
resource: "timesheets",
|
|
53193
|
-
action: "get-status-counts",
|
|
53194
|
-
title: "Get Status Counts Timesheets",
|
|
53195
|
-
description: "Get Status Counts Timesheets.",
|
|
53196
|
-
safety: "read",
|
|
53197
|
-
destructive: false,
|
|
53198
|
-
cli: {
|
|
53199
|
-
group: ["timesheets"],
|
|
53200
|
-
command: "get-status-counts",
|
|
53201
|
-
interactive: "hidden"
|
|
53202
|
-
},
|
|
53203
|
-
mcp: { entityTool: "timesheets" },
|
|
53204
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
53205
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
53206
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
53207
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
53208
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
53209
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
53210
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
53211
|
-
}),
|
|
53212
|
-
execute: (input, { client }) => {
|
|
53213
|
-
const data = input;
|
|
53214
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
53215
|
-
client.httpClient,
|
|
53216
|
-
client.organizationId,
|
|
53217
|
-
client.workspaceIdNumber,
|
|
53218
|
-
data,
|
|
53219
|
-
void 0
|
|
53220
|
-
]));
|
|
53221
|
-
}
|
|
53222
|
-
},
|
|
53223
52667
|
{
|
|
53224
52668
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
53225
52669
|
family: "focus",
|
|
@@ -53769,33 +53213,6 @@ const generatedFocusOperations = [
|
|
|
53769
53213
|
]));
|
|
53770
53214
|
}
|
|
53771
53215
|
},
|
|
53772
|
-
{
|
|
53773
|
-
id: "focus.track-team-invites.post",
|
|
53774
|
-
family: "focus",
|
|
53775
|
-
resource: "track-team-invites",
|
|
53776
|
-
action: "post",
|
|
53777
|
-
title: "Post Track Team Invites",
|
|
53778
|
-
description: "Post Track Team Invites.",
|
|
53779
|
-
safety: "create",
|
|
53780
|
-
destructive: false,
|
|
53781
|
-
cli: {
|
|
53782
|
-
group: ["track-team-invites"],
|
|
53783
|
-
command: "post",
|
|
53784
|
-
interactive: "default"
|
|
53785
|
-
},
|
|
53786
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53787
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53788
|
-
execute: (input, { client }) => {
|
|
53789
|
-
const data = input;
|
|
53790
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53791
|
-
client.httpClient,
|
|
53792
|
-
client.organizationId,
|
|
53793
|
-
client.workspaceIdNumber,
|
|
53794
|
-
data.payload ?? data.data ?? data,
|
|
53795
|
-
void 0
|
|
53796
|
-
]));
|
|
53797
|
-
}
|
|
53798
|
-
},
|
|
53799
53216
|
{
|
|
53800
53217
|
id: "focus.users.list",
|
|
53801
53218
|
family: "focus",
|
|
@@ -53817,56 +53234,6 @@ const generatedFocusOperations = [
|
|
|
53817
53234
|
return client.listOrgUsers(data);
|
|
53818
53235
|
}
|
|
53819
53236
|
},
|
|
53820
|
-
{
|
|
53821
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53822
|
-
family: "focus",
|
|
53823
|
-
resource: "users",
|
|
53824
|
-
action: "settings-email-unsubscribe",
|
|
53825
|
-
title: "Settings Email Unsubscribe Users",
|
|
53826
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53827
|
-
safety: "update",
|
|
53828
|
-
destructive: false,
|
|
53829
|
-
cli: {
|
|
53830
|
-
group: ["users", "settings"],
|
|
53831
|
-
command: "email-unsubscribe",
|
|
53832
|
-
interactive: "default"
|
|
53833
|
-
},
|
|
53834
|
-
mcp: { entityTool: "users" },
|
|
53835
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53836
|
-
execute: (input, { client }) => {
|
|
53837
|
-
const data = input;
|
|
53838
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53839
|
-
client.httpClient,
|
|
53840
|
-
data.token,
|
|
53841
|
-
void 0
|
|
53842
|
-
]));
|
|
53843
|
-
}
|
|
53844
|
-
},
|
|
53845
|
-
{
|
|
53846
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53847
|
-
family: "focus",
|
|
53848
|
-
resource: "users",
|
|
53849
|
-
action: "settings-email-unsubscribe-page",
|
|
53850
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53851
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53852
|
-
safety: "read",
|
|
53853
|
-
destructive: false,
|
|
53854
|
-
cli: {
|
|
53855
|
-
group: ["users", "settings"],
|
|
53856
|
-
command: "email-unsubscribe-page",
|
|
53857
|
-
interactive: "available"
|
|
53858
|
-
},
|
|
53859
|
-
mcp: { entityTool: "users" },
|
|
53860
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53861
|
-
execute: (input, { client }) => {
|
|
53862
|
-
const data = input;
|
|
53863
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53864
|
-
client.httpClient,
|
|
53865
|
-
data.token,
|
|
53866
|
-
void 0
|
|
53867
|
-
]));
|
|
53868
|
-
}
|
|
53869
|
-
},
|
|
53870
53237
|
{
|
|
53871
53238
|
id: "focus.users.settings-list",
|
|
53872
53239
|
family: "focus",
|
|
@@ -53928,9 +53295,6 @@ const generatedFocusOperations = [
|
|
|
53928
53295
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53929
53296
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53930
53297
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53931
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53932
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53933
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53934
53298
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53935
53299
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53936
53300
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54129,38 +53493,6 @@ const generatedFocusOperations = [
|
|
|
54129
53493
|
]));
|
|
54130
53494
|
}
|
|
54131
53495
|
},
|
|
54132
|
-
{
|
|
54133
|
-
id: "focus.working-hours.replace-working-hours-for-users",
|
|
54134
|
-
family: "focus",
|
|
54135
|
-
resource: "working-hours",
|
|
54136
|
-
action: "replace-working-hours-for-users",
|
|
54137
|
-
title: "Replace Working Hours For Users Working Hours",
|
|
54138
|
-
description: "Replace Working Hours For Users Working Hours.",
|
|
54139
|
-
safety: "update",
|
|
54140
|
-
destructive: false,
|
|
54141
|
-
cli: {
|
|
54142
|
-
group: ["working-hours"],
|
|
54143
|
-
command: "replace-working-hours-for-users",
|
|
54144
|
-
interactive: "default"
|
|
54145
|
-
},
|
|
54146
|
-
mcp: { entityTool: "working-hours" },
|
|
54147
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
54148
|
-
schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
54149
|
-
working_hours: /* @__PURE__ */ number$2(),
|
|
54150
|
-
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
54151
|
-
})),
|
|
54152
|
-
user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
54153
|
-
}) }),
|
|
54154
|
-
execute: (input, { client }) => {
|
|
54155
|
-
const data = input;
|
|
54156
|
-
return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
|
|
54157
|
-
client.httpClient,
|
|
54158
|
-
client.organizationId,
|
|
54159
|
-
data.payload ?? data.data ?? data,
|
|
54160
|
-
void 0
|
|
54161
|
-
]));
|
|
54162
|
-
}
|
|
54163
|
-
},
|
|
54164
53496
|
{
|
|
54165
53497
|
id: "focus.working-hours.update-for-user",
|
|
54166
53498
|
family: "focus",
|
|
@@ -55505,7 +54837,7 @@ function registerWorkspaceTools(server) {
|
|
|
55505
54837
|
//#region src/package-version.ts
|
|
55506
54838
|
function mcpPackageVersion() {
|
|
55507
54839
|
try {
|
|
55508
|
-
return "1.11.
|
|
54840
|
+
return "1.11.94";
|
|
55509
54841
|
} catch {
|
|
55510
54842
|
return "unknown";
|
|
55511
54843
|
}
|
|
@@ -55680,7 +55012,7 @@ import_main.default.config({
|
|
|
55680
55012
|
quiet: true,
|
|
55681
55013
|
ignore: ["MISSING_ENV_FILE"]
|
|
55682
55014
|
});
|
|
55683
|
-
const packageVersion = "1.11.
|
|
55015
|
+
const packageVersion = "1.11.94";
|
|
55684
55016
|
function resolvePublicUrls() {
|
|
55685
55017
|
return {
|
|
55686
55018
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55745,4 +55077,4 @@ function bootstrapServer(options = {}) {
|
|
|
55745
55077
|
//#endregion
|
|
55746
55078
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55747
55079
|
|
|
55748
|
-
//# sourceMappingURL=src-
|
|
55080
|
+
//# sourceMappingURL=src-CTYPIYWG.js.map
|