@togglhq/mcp 1.11.92 → 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-C_xyRO0u.js → src-CTYPIYWG.js} +1346 -1994
- package/package.json +1 -1
|
@@ -32773,6 +32773,10 @@ function _joinExpects$1(values$1, separator) {
|
|
|
32773
32773
|
*/
|
|
32774
32774
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
32775
32775
|
/**
|
|
32776
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
32777
|
+
*/
|
|
32778
|
+
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
32779
|
+
/**
|
|
32776
32780
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
32777
32781
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
32778
32782
|
*/
|
|
@@ -32826,6 +32830,22 @@ function isoDate$1(message$1) {
|
|
|
32826
32830
|
};
|
|
32827
32831
|
}
|
|
32828
32832
|
/* @__NO_SIDE_EFFECTS__ */
|
|
32833
|
+
function isoDateTime$1(message$1) {
|
|
32834
|
+
return {
|
|
32835
|
+
kind: "validation",
|
|
32836
|
+
type: "iso_date_time",
|
|
32837
|
+
reference: isoDateTime$1,
|
|
32838
|
+
async: false,
|
|
32839
|
+
expects: null,
|
|
32840
|
+
requirement: ISO_DATE_TIME_REGEX$1,
|
|
32841
|
+
message: message$1,
|
|
32842
|
+
"~run"(dataset, config$1) {
|
|
32843
|
+
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
32844
|
+
return dataset;
|
|
32845
|
+
}
|
|
32846
|
+
};
|
|
32847
|
+
}
|
|
32848
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
32829
32849
|
function isoTimestamp(message$1) {
|
|
32830
32850
|
return {
|
|
32831
32851
|
kind: "validation",
|
|
@@ -34663,7 +34683,6 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34663
34683
|
name: /* @__PURE__ */ string(),
|
|
34664
34684
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34665
34685
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34666
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34667
34686
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34668
34687
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34669
34688
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34750,7 +34769,6 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34750
34769
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34751
34770
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34752
34771
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34753
|
-
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."))),
|
|
34754
34772
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34755
34773
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34756
34774
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34812,7 +34830,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34812
34830
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34813
34831
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34814
34832
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34815
|
-
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."))),
|
|
34816
34833
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34817
34834
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34818
34835
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34973,8 +34990,6 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34973
34990
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34974
34991
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34975
34992
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34976
|
-
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."))),
|
|
34977
|
-
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."))),
|
|
34978
34993
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34979
34994
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34980
34995
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -34989,21 +35004,21 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34989
35004
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
34990
35005
|
});
|
|
34991
35006
|
const DtoAggregationFilterRequestSchema = /* @__PURE__ */ object({
|
|
34992
|
-
aggregation: /* @__PURE__ */
|
|
35007
|
+
aggregation: /* @__PURE__ */ object({
|
|
34993
35008
|
function: /* @__PURE__ */ string(),
|
|
34994
35009
|
property: /* @__PURE__ */ string()
|
|
34995
|
-
})
|
|
34996
|
-
conditions: /* @__PURE__ */
|
|
34997
|
-
operator: /* @__PURE__ */
|
|
34998
|
-
property: /* @__PURE__ */
|
|
34999
|
-
value: /* @__PURE__ */
|
|
35010
|
+
}),
|
|
35011
|
+
conditions: /* @__PURE__ */ lazy(() => DtoAggregationsFilterRequestSchema),
|
|
35012
|
+
operator: /* @__PURE__ */ string(),
|
|
35013
|
+
property: /* @__PURE__ */ string(),
|
|
35014
|
+
value: /* @__PURE__ */ unknown()
|
|
35000
35015
|
});
|
|
35001
35016
|
const DtoAggregationsFilterRequestSchema = /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoAggregationFilterRequestSchema));
|
|
35002
35017
|
const DtoFilterRequestSchema = /* @__PURE__ */ object({
|
|
35003
|
-
conditions: /* @__PURE__ */
|
|
35004
|
-
operator: /* @__PURE__ */
|
|
35005
|
-
property: /* @__PURE__ */
|
|
35006
|
-
value: /* @__PURE__ */
|
|
35018
|
+
conditions: /* @__PURE__ */ array(/* @__PURE__ */ lazy(() => DtoFilterRequestSchema)),
|
|
35019
|
+
operator: /* @__PURE__ */ string(),
|
|
35020
|
+
property: /* @__PURE__ */ string(),
|
|
35021
|
+
value: /* @__PURE__ */ unknown()
|
|
35007
35022
|
});
|
|
35008
35023
|
const ClientSchema = /* @__PURE__ */ object({
|
|
35009
35024
|
active: /* @__PURE__ */ boolean(),
|
|
@@ -35060,10 +35075,8 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35060
35075
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35061
35076
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35062
35077
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35063
|
-
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35064
35078
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35065
35079
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35066
|
-
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35067
35080
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35068
35081
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35069
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)."))),
|
|
@@ -35119,8 +35132,6 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35119
35132
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35120
35133
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35121
35134
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35122
|
-
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."))),
|
|
35123
|
-
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."))),
|
|
35124
35135
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35125
35136
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35126
35137
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35293,6 +35304,8 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35293
35304
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35294
35305
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35295
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()),
|
|
35296
35309
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35297
35310
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35298
35311
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35349,7 +35362,6 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35349
35362
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35350
35363
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35351
35364
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35352
|
-
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."))),
|
|
35353
35365
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35354
35366
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35355
35367
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35386,7 +35398,6 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35386
35398
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35387
35399
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35388
35400
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35389
|
-
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."))),
|
|
35390
35401
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35391
35402
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35392
35403
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35407,6 +35418,7 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35407
35418
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35408
35419
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35409
35420
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35410
35422
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35411
35423
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35412
35424
|
});
|
|
@@ -35435,7 +35447,8 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35435
35447
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35436
35448
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35437
35449
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35438
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35450
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35451
|
+
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35439
35452
|
});
|
|
35440
35453
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35441
35454
|
//#endregion
|
|
@@ -37309,7 +37322,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37309
37322
|
})
|
|
37310
37323
|
}).json();
|
|
37311
37324
|
}
|
|
37312
|
-
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) {
|
|
37313
37326
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37314
37327
|
signal,
|
|
37315
37328
|
searchParams: buildSearchParams$2({
|
|
@@ -37330,7 +37343,6 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37330
37343
|
include_rates,
|
|
37331
37344
|
pinned_ids,
|
|
37332
37345
|
has_group,
|
|
37333
|
-
track_without_focus,
|
|
37334
37346
|
cf_filter,
|
|
37335
37347
|
include_custom_fields,
|
|
37336
37348
|
include_calendar_integration
|
|
@@ -37432,20 +37444,10 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37432
37444
|
}
|
|
37433
37445
|
//#endregion
|
|
37434
37446
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37435
|
-
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) {
|
|
37436
37448
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37437
37449
|
signal,
|
|
37438
37450
|
searchParams: buildSearchParams$2({
|
|
37439
|
-
include_task_counts,
|
|
37440
|
-
include_picker_parent_group_counts,
|
|
37441
|
-
task_archived,
|
|
37442
|
-
task_recurring,
|
|
37443
|
-
task_state,
|
|
37444
|
-
task_source,
|
|
37445
|
-
task_assignee_user_id,
|
|
37446
|
-
task_assignee_team_id,
|
|
37447
|
-
task_include_unassigned,
|
|
37448
|
-
task_name,
|
|
37449
37451
|
page,
|
|
37450
37452
|
per_page,
|
|
37451
37453
|
order_by,
|
|
@@ -37695,7 +37697,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37695
37697
|
}
|
|
37696
37698
|
//#endregion
|
|
37697
37699
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37698
|
-
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) {
|
|
37699
37701
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37700
37702
|
signal,
|
|
37701
37703
|
searchParams: buildSearchParams$2({
|
|
@@ -37708,6 +37710,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37708
37710
|
toggl_user_id,
|
|
37709
37711
|
name,
|
|
37710
37712
|
has_time_entries,
|
|
37713
|
+
has_time_blocks,
|
|
37711
37714
|
has_dates,
|
|
37712
37715
|
private: private_,
|
|
37713
37716
|
archived,
|
|
@@ -37730,6 +37733,10 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37730
37733
|
priority,
|
|
37731
37734
|
is_priority,
|
|
37732
37735
|
state,
|
|
37736
|
+
timeblock_start_from,
|
|
37737
|
+
timeblock_start_until,
|
|
37738
|
+
time_block_id,
|
|
37739
|
+
time_block_completed,
|
|
37733
37740
|
team_id,
|
|
37734
37741
|
assignee_team_id,
|
|
37735
37742
|
assignee_user_id,
|
|
@@ -37741,11 +37748,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37741
37748
|
include_assignees,
|
|
37742
37749
|
include_parent_matches,
|
|
37743
37750
|
disable_aggregations,
|
|
37744
|
-
cf_filter
|
|
37745
|
-
recurring_occurrences_after,
|
|
37746
|
-
max_recurring_occurrences_after,
|
|
37747
|
-
recurring_task_read,
|
|
37748
|
-
include_projected_occurrences
|
|
37751
|
+
cf_filter
|
|
37749
37752
|
})
|
|
37750
37753
|
}).json();
|
|
37751
37754
|
}
|
|
@@ -37820,46 +37823,16 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37820
37823
|
})
|
|
37821
37824
|
}).json();
|
|
37822
37825
|
}
|
|
37823
|
-
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) {
|
|
37824
37827
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37825
37828
|
signal,
|
|
37826
37829
|
searchParams: buildSearchParams$2({
|
|
37827
37830
|
date_from,
|
|
37828
|
-
date_to
|
|
37829
|
-
skip_provider_refresh
|
|
37830
|
-
})
|
|
37831
|
-
}).json();
|
|
37832
|
-
}
|
|
37833
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37834
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37835
|
-
signal,
|
|
37836
|
-
searchParams: buildSearchParams$2({
|
|
37837
|
-
project_id,
|
|
37838
|
-
without_project,
|
|
37839
|
-
pinned_only,
|
|
37840
|
-
include_unassigned,
|
|
37841
|
-
search,
|
|
37842
|
-
only_me,
|
|
37843
|
-
page,
|
|
37844
|
-
per_page
|
|
37845
|
-
})
|
|
37846
|
-
}).json();
|
|
37847
|
-
}
|
|
37848
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37849
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37850
|
-
signal,
|
|
37851
|
-
searchParams: buildSearchParams$2({
|
|
37852
|
-
project_id,
|
|
37853
|
-
without_project,
|
|
37854
|
-
include_unassigned,
|
|
37855
|
-
search,
|
|
37856
|
-
only_me,
|
|
37857
|
-
page,
|
|
37858
|
-
per_page
|
|
37831
|
+
date_to
|
|
37859
37832
|
})
|
|
37860
37833
|
}).json();
|
|
37861
37834
|
}
|
|
37862
|
-
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) {
|
|
37863
37836
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37864
37837
|
signal,
|
|
37865
37838
|
searchParams: buildSearchParams$2({
|
|
@@ -37875,15 +37848,11 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37875
37848
|
assignee_team_id,
|
|
37876
37849
|
assignee_user_id,
|
|
37877
37850
|
tag_id,
|
|
37878
|
-
include_assignees
|
|
37879
|
-
recurring_occurrences_after,
|
|
37880
|
-
max_recurring_occurrences_after,
|
|
37881
|
-
recurring_task_read,
|
|
37882
|
-
include_projected_occurrences
|
|
37851
|
+
include_assignees
|
|
37883
37852
|
})
|
|
37884
37853
|
}).json();
|
|
37885
37854
|
}
|
|
37886
|
-
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) {
|
|
37887
37856
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37888
37857
|
signal,
|
|
37889
37858
|
searchParams: buildSearchParams$2({
|
|
@@ -37895,6 +37864,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37895
37864
|
name,
|
|
37896
37865
|
include_parent_matches,
|
|
37897
37866
|
has_time_entries,
|
|
37867
|
+
has_time_blocks,
|
|
37898
37868
|
has_dates,
|
|
37899
37869
|
private: private_,
|
|
37900
37870
|
archived,
|
|
@@ -37917,6 +37887,8 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37917
37887
|
priority,
|
|
37918
37888
|
is_priority,
|
|
37919
37889
|
state,
|
|
37890
|
+
time_block_id,
|
|
37891
|
+
time_block_completed,
|
|
37920
37892
|
team_id,
|
|
37921
37893
|
assignee_team_id,
|
|
37922
37894
|
assignee_user_id,
|
|
@@ -37925,11 +37897,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37925
37897
|
recurring_task_ids,
|
|
37926
37898
|
client_id,
|
|
37927
37899
|
include_assignees,
|
|
37928
|
-
cf_filter
|
|
37929
|
-
recurring_occurrences_after,
|
|
37930
|
-
max_recurring_occurrences_after,
|
|
37931
|
-
recurring_task_read,
|
|
37932
|
-
include_projected_occurrences
|
|
37900
|
+
cf_filter
|
|
37933
37901
|
})
|
|
37934
37902
|
}).json();
|
|
37935
37903
|
}
|
|
@@ -37984,12 +37952,6 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37984
37952
|
})
|
|
37985
37953
|
}).json();
|
|
37986
37954
|
}
|
|
37987
|
-
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
37988
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
37989
|
-
signal,
|
|
37990
|
-
searchParams: buildSearchParams$2({ return_occurrence })
|
|
37991
|
-
}).json();
|
|
37992
|
-
}
|
|
37993
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) {
|
|
37994
37956
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37995
37957
|
signal,
|
|
@@ -38015,7 +37977,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
38015
37977
|
}
|
|
38016
37978
|
//#endregion
|
|
38017
37979
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
38018
|
-
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) {
|
|
38019
37981
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38020
37982
|
signal,
|
|
38021
37983
|
searchParams: buildSearchParams$2({
|
|
@@ -38023,28 +37985,21 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38023
37985
|
per_page,
|
|
38024
37986
|
order_by,
|
|
38025
37987
|
type,
|
|
38026
|
-
archived
|
|
37988
|
+
archived,
|
|
37989
|
+
time_block_id
|
|
38027
37990
|
})
|
|
38028
37991
|
}).json();
|
|
38029
37992
|
}
|
|
38030
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data,
|
|
37993
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38031
37994
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38032
37995
|
signal,
|
|
38033
|
-
json: data
|
|
38034
|
-
searchParams: buildSearchParams$2({
|
|
38035
|
-
from_recurring_task_id,
|
|
38036
|
-
return_occurrence
|
|
38037
|
-
})
|
|
37996
|
+
json: data
|
|
38038
37997
|
}).json();
|
|
38039
37998
|
}
|
|
38040
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data,
|
|
37999
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38041
38000
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38042
38001
|
signal,
|
|
38043
|
-
json: data
|
|
38044
|
-
searchParams: buildSearchParams$2({
|
|
38045
|
-
from_recurring_task_id,
|
|
38046
|
-
return_occurrence
|
|
38047
|
-
})
|
|
38002
|
+
json: data
|
|
38048
38003
|
}).json();
|
|
38049
38004
|
}
|
|
38050
38005
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38095,7 +38050,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38095
38050
|
json: data
|
|
38096
38051
|
}).json();
|
|
38097
38052
|
}
|
|
38098
|
-
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) {
|
|
38099
38054
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38100
38055
|
signal,
|
|
38101
38056
|
searchParams: buildSearchParams$2({
|
|
@@ -38103,7 +38058,6 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38103
38058
|
date_to,
|
|
38104
38059
|
task_id,
|
|
38105
38060
|
status_id,
|
|
38106
|
-
project_id,
|
|
38107
38061
|
type,
|
|
38108
38062
|
order_by,
|
|
38109
38063
|
archived,
|
|
@@ -38118,36 +38072,28 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38118
38072
|
json: data
|
|
38119
38073
|
}).json();
|
|
38120
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
|
+
}
|
|
38121
38081
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38122
38082
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38123
38083
|
}
|
|
38124
|
-
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) {
|
|
38125
38085
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38126
38086
|
signal,
|
|
38127
|
-
json: data
|
|
38128
|
-
searchParams: buildSearchParams$2({
|
|
38129
|
-
from_recurring_task_id,
|
|
38130
|
-
return_occurrence
|
|
38131
|
-
})
|
|
38087
|
+
json: data
|
|
38132
38088
|
}).json();
|
|
38133
38089
|
}
|
|
38134
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id,
|
|
38135
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38136
|
-
signal,
|
|
38137
|
-
searchParams: buildSearchParams$2({
|
|
38138
|
-
from_recurring_task_id,
|
|
38139
|
-
return_occurrence
|
|
38140
|
-
})
|
|
38141
|
-
}).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();
|
|
38142
38092
|
}
|
|
38143
|
-
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) {
|
|
38144
38094
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38145
38095
|
signal,
|
|
38146
|
-
json: data
|
|
38147
|
-
searchParams: buildSearchParams$2({
|
|
38148
|
-
from_recurring_task_id,
|
|
38149
|
-
return_occurrence
|
|
38150
|
-
})
|
|
38096
|
+
json: data
|
|
38151
38097
|
}).json();
|
|
38152
38098
|
}
|
|
38153
38099
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38262,7 +38208,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38262
38208
|
]))
|
|
38263
38209
|
});
|
|
38264
38210
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38211
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38266
38212
|
async function getInvitations(httpClient, signal) {
|
|
38267
38213
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38268
38214
|
}
|
|
@@ -38279,7 +38225,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38279
38225
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38280
38226
|
}
|
|
38281
38227
|
//#endregion
|
|
38282
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38228
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38283
38229
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38284
38230
|
const searchParams = new URLSearchParams();
|
|
38285
38231
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38291,7 +38237,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38291
38237
|
return searchParams;
|
|
38292
38238
|
}
|
|
38293
38239
|
//#endregion
|
|
38294
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38240
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38295
38241
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38296
38242
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38297
38243
|
}
|
|
@@ -38305,7 +38251,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38305
38251
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38306
38252
|
}
|
|
38307
38253
|
//#endregion
|
|
38308
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38254
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38309
38255
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38310
38256
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38311
38257
|
}
|
|
@@ -38314,7 +38260,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
|
|
|
38314
38260
|
}
|
|
38315
38261
|
const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
|
|
38316
38262
|
working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
|
|
38317
|
-
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
|
|
38263
|
+
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
|
|
38318
38264
|
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
|
|
38319
38265
|
});
|
|
38320
38266
|
const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
@@ -38325,7 +38271,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38325
38271
|
});
|
|
38326
38272
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38327
38273
|
//#endregion
|
|
38328
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38274
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38329
38275
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38330
38276
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38331
38277
|
signal,
|
|
@@ -38336,12 +38282,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38336
38282
|
})).json();
|
|
38337
38283
|
}
|
|
38338
38284
|
//#endregion
|
|
38339
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38285
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38340
38286
|
async function getStatus(httpClient, signal) {
|
|
38341
38287
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38342
38288
|
}
|
|
38343
38289
|
//#endregion
|
|
38344
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38290
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38345
38291
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38346
38292
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38347
38293
|
signal,
|
|
@@ -38369,7 +38315,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38369
38315
|
return response.json();
|
|
38370
38316
|
}
|
|
38371
38317
|
//#endregion
|
|
38372
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38318
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.93_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_8767c9c715db49250ef3e49c4f8630a0/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38373
38319
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38374
38320
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38375
38321
|
}
|
|
@@ -41973,15 +41919,13 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41973
41919
|
}
|
|
41974
41920
|
//#endregion
|
|
41975
41921
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41976
|
-
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) {
|
|
41977
41923
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41978
41924
|
signal,
|
|
41979
41925
|
searchParams: buildSearchParams$2({
|
|
41980
41926
|
workspace_id,
|
|
41981
41927
|
entity_type,
|
|
41982
41928
|
entity_id,
|
|
41983
|
-
project_id,
|
|
41984
|
-
custom_field_id,
|
|
41985
41929
|
action,
|
|
41986
41930
|
user_id,
|
|
41987
41931
|
page_size,
|
|
@@ -41990,14 +41934,12 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41990
41934
|
})
|
|
41991
41935
|
}).json();
|
|
41992
41936
|
}
|
|
41993
|
-
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) {
|
|
41994
41938
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41995
41939
|
signal,
|
|
41996
41940
|
searchParams: buildSearchParams$2({
|
|
41997
41941
|
entity_type,
|
|
41998
41942
|
entity_id,
|
|
41999
|
-
project_id,
|
|
42000
|
-
custom_field_id,
|
|
42001
41943
|
action,
|
|
42002
41944
|
user_id,
|
|
42003
41945
|
page_size,
|
|
@@ -42150,14 +42092,13 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42150
42092
|
}
|
|
42151
42093
|
//#endregion
|
|
42152
42094
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42153
|
-
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) {
|
|
42154
42096
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42155
42097
|
signal,
|
|
42156
42098
|
searchParams: buildSearchParams$2({
|
|
42099
|
+
user_id,
|
|
42157
42100
|
start_date,
|
|
42158
42101
|
end_date,
|
|
42159
|
-
user_id,
|
|
42160
|
-
team_id,
|
|
42161
42102
|
private: private_,
|
|
42162
42103
|
task_source,
|
|
42163
42104
|
unit,
|
|
@@ -42217,15 +42158,6 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42217
42158
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42218
42159
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42219
42160
|
}
|
|
42220
|
-
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42221
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42222
|
-
}
|
|
42223
|
-
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42224
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42225
|
-
signal,
|
|
42226
|
-
json: data
|
|
42227
|
-
}).json();
|
|
42228
|
-
}
|
|
42229
42161
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42230
42162
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42231
42163
|
signal,
|
|
@@ -42265,61 +42197,6 @@ async function patchUserCustomFieldValues(httpClient, organization_id, workspace
|
|
|
42265
42197
|
}).json();
|
|
42266
42198
|
}
|
|
42267
42199
|
//#endregion
|
|
42268
|
-
//#region ../focus-queries/dist/designations/requests.ts
|
|
42269
|
-
async function getWorkspaceDesignationsClassic(httpClient, organization_id, workspace_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42270
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42271
|
-
signal,
|
|
42272
|
-
searchParams: buildSearchParams$2({
|
|
42273
|
-
name,
|
|
42274
|
-
page,
|
|
42275
|
-
per_page,
|
|
42276
|
-
order_by
|
|
42277
|
-
})
|
|
42278
|
-
}).json();
|
|
42279
|
-
}
|
|
42280
|
-
async function createWorkspaceDesignation(httpClient, organization_id, workspace_id, data, signal) {
|
|
42281
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations`, {
|
|
42282
|
-
signal,
|
|
42283
|
-
json: data
|
|
42284
|
-
}).json();
|
|
42285
|
-
}
|
|
42286
|
-
async function bulkCreateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42287
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42288
|
-
signal,
|
|
42289
|
-
json: data
|
|
42290
|
-
}).json();
|
|
42291
|
-
}
|
|
42292
|
-
async function bulkDeleteWorkspaceDesignations(httpClient, organization_id, workspace_id, ids, all_or_none, signal) {
|
|
42293
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42294
|
-
signal,
|
|
42295
|
-
searchParams: buildSearchParams$2({
|
|
42296
|
-
ids,
|
|
42297
|
-
all_or_none
|
|
42298
|
-
})
|
|
42299
|
-
}).json();
|
|
42300
|
-
}
|
|
42301
|
-
async function bulkUpdateWorkspaceDesignations(httpClient, organization_id, workspace_id, data, signal) {
|
|
42302
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/bulk`, {
|
|
42303
|
-
signal,
|
|
42304
|
-
json: data
|
|
42305
|
-
}).json();
|
|
42306
|
-
}
|
|
42307
|
-
async function updateWorkspaceDesignationMembers(httpClient, organization_id, workspace_id, data, signal) {
|
|
42308
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/designations/members`, {
|
|
42309
|
-
signal,
|
|
42310
|
-
json: data
|
|
42311
|
-
}).json();
|
|
42312
|
-
}
|
|
42313
|
-
async function deleteWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, signal) {
|
|
42314
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, { signal }).json();
|
|
42315
|
-
}
|
|
42316
|
-
async function updateWorkspaceDesignation(httpClient, organization_id, workspace_id, designation_id, data, signal) {
|
|
42317
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/designations/${designation_id}`, {
|
|
42318
|
-
signal,
|
|
42319
|
-
json: data
|
|
42320
|
-
}).json();
|
|
42321
|
-
}
|
|
42322
|
-
//#endregion
|
|
42323
42200
|
//#region ../focus-queries/dist/goals/requests.ts
|
|
42324
42201
|
async function createGoal(httpClient, organization_id, workspace_id, data, signal) {
|
|
42325
42202
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/goals`, {
|
|
@@ -42544,7 +42421,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42544
42421
|
}
|
|
42545
42422
|
//#endregion
|
|
42546
42423
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42547
|
-
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) {
|
|
42548
42425
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42549
42426
|
signal,
|
|
42550
42427
|
searchParams: buildSearchParams$2({
|
|
@@ -42570,7 +42447,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42570
42447
|
user_id,
|
|
42571
42448
|
only_me,
|
|
42572
42449
|
include_drafts,
|
|
42573
|
-
include_recurring_series,
|
|
42574
42450
|
cf_filter
|
|
42575
42451
|
})
|
|
42576
42452
|
}).json();
|
|
@@ -42589,6 +42465,9 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42589
42465
|
json: data
|
|
42590
42466
|
}).json();
|
|
42591
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
|
+
}
|
|
42592
42471
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42593
42472
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42594
42473
|
}
|
|
@@ -42614,37 +42493,6 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42614
42493
|
}).json();
|
|
42615
42494
|
}
|
|
42616
42495
|
//#endregion
|
|
42617
|
-
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42618
|
-
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42619
|
-
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42620
|
-
}
|
|
42621
|
-
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42622
|
-
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42623
|
-
signal,
|
|
42624
|
-
json: data,
|
|
42625
|
-
searchParams: buildSearchParams$2({
|
|
42626
|
-
response_format,
|
|
42627
|
-
include_dicts
|
|
42628
|
-
})
|
|
42629
|
-
}).json();
|
|
42630
|
-
}
|
|
42631
|
-
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42632
|
-
return await httpClient.post(`shared/${token}/query`, {
|
|
42633
|
-
signal,
|
|
42634
|
-
json: data,
|
|
42635
|
-
searchParams: buildSearchParams$2({
|
|
42636
|
-
response_format,
|
|
42637
|
-
include_dicts
|
|
42638
|
-
})
|
|
42639
|
-
}).json();
|
|
42640
|
-
}
|
|
42641
|
-
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42642
|
-
return await httpClient.post(`shared/${token}/workload`, {
|
|
42643
|
-
signal,
|
|
42644
|
-
json: data
|
|
42645
|
-
}).json();
|
|
42646
|
-
}
|
|
42647
|
-
//#endregion
|
|
42648
42496
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42649
42497
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42650
42498
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42806,7 +42654,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42806
42654
|
}
|
|
42807
42655
|
//#endregion
|
|
42808
42656
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42809
|
-
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) {
|
|
42810
42658
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42811
42659
|
signal,
|
|
42812
42660
|
searchParams: buildSearchParams$2({
|
|
@@ -42814,7 +42662,6 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42814
42662
|
per_group,
|
|
42815
42663
|
assignee_user_id,
|
|
42816
42664
|
assignee_team_id,
|
|
42817
|
-
include_unassigned,
|
|
42818
42665
|
project_id,
|
|
42819
42666
|
task_id,
|
|
42820
42667
|
include_drafts,
|
|
@@ -42859,18 +42706,6 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42859
42706
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42860
42707
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42861
42708
|
}
|
|
42862
|
-
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42863
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42864
|
-
}
|
|
42865
|
-
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42866
|
-
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42867
|
-
}
|
|
42868
|
-
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42869
|
-
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42870
|
-
signal,
|
|
42871
|
-
json: data
|
|
42872
|
-
}).json();
|
|
42873
|
-
}
|
|
42874
42709
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42875
42710
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42876
42711
|
signal,
|
|
@@ -42880,21 +42715,6 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42880
42715
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42881
42716
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42882
42717
|
}
|
|
42883
|
-
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42884
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42885
|
-
signal,
|
|
42886
|
-
json: data
|
|
42887
|
-
}).json();
|
|
42888
|
-
}
|
|
42889
|
-
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42890
|
-
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42891
|
-
}
|
|
42892
|
-
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42893
|
-
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42894
|
-
signal,
|
|
42895
|
-
json: data
|
|
42896
|
-
}).json();
|
|
42897
|
-
}
|
|
42898
42718
|
//#endregion
|
|
42899
42719
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42900
42720
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42951,10 +42771,9 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42951
42771
|
}
|
|
42952
42772
|
//#endregion
|
|
42953
42773
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42954
|
-
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) {
|
|
42955
42775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42956
42776
|
signal,
|
|
42957
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42958
42777
|
searchParams: buildSearchParams$2({
|
|
42959
42778
|
project_id,
|
|
42960
42779
|
source,
|
|
@@ -42983,18 +42802,13 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42983
42802
|
min_days,
|
|
42984
42803
|
include_drafts,
|
|
42985
42804
|
cf_filter,
|
|
42986
|
-
user_cf_filter
|
|
42987
|
-
recurring_occurrences_after,
|
|
42988
|
-
max_recurring_occurrences_after,
|
|
42989
|
-
recurring_task_read,
|
|
42990
|
-
include_projected_occurrences
|
|
42805
|
+
user_cf_filter
|
|
42991
42806
|
})
|
|
42992
42807
|
}).json();
|
|
42993
42808
|
}
|
|
42994
|
-
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) {
|
|
42995
42810
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42996
42811
|
signal,
|
|
42997
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42998
42812
|
searchParams: buildSearchParams$2({
|
|
42999
42813
|
team_id,
|
|
43000
42814
|
project_id,
|
|
@@ -43023,18 +42837,13 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43023
42837
|
min_days,
|
|
43024
42838
|
include_drafts,
|
|
43025
42839
|
cf_filter,
|
|
43026
|
-
user_cf_filter
|
|
43027
|
-
recurring_occurrences_after,
|
|
43028
|
-
max_recurring_occurrences_after,
|
|
43029
|
-
recurring_task_read,
|
|
43030
|
-
include_projected_occurrences
|
|
42840
|
+
user_cf_filter
|
|
43031
42841
|
})
|
|
43032
42842
|
}).json();
|
|
43033
42843
|
}
|
|
43034
|
-
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) {
|
|
43035
42845
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43036
42846
|
signal,
|
|
43037
|
-
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43038
42847
|
searchParams: buildSearchParams$2({
|
|
43039
42848
|
source,
|
|
43040
42849
|
priority,
|
|
@@ -43064,10 +42873,6 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43064
42873
|
include_drafts,
|
|
43065
42874
|
cf_filter,
|
|
43066
42875
|
user_cf_filter,
|
|
43067
|
-
recurring_occurrences_after,
|
|
43068
|
-
max_recurring_occurrences_after,
|
|
43069
|
-
recurring_task_read,
|
|
43070
|
-
include_projected_occurrences,
|
|
43071
42876
|
page,
|
|
43072
42877
|
per_page,
|
|
43073
42878
|
order_by
|
|
@@ -43095,6 +42900,104 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
43095
42900
|
}).json();
|
|
43096
42901
|
}
|
|
43097
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
|
|
43098
43001
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
43099
43002
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
43100
43003
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43132,12 +43035,6 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
43132
43035
|
})
|
|
43133
43036
|
}).json();
|
|
43134
43037
|
}
|
|
43135
|
-
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
43136
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
43137
|
-
}
|
|
43138
|
-
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
43139
|
-
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
43140
|
-
}
|
|
43141
43038
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
43142
43039
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
43143
43040
|
signal,
|
|
@@ -43165,40 +43062,20 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43165
43062
|
json: data
|
|
43166
43063
|
}).json();
|
|
43167
43064
|
}
|
|
43168
|
-
|
|
43169
|
-
|
|
43065
|
+
//#endregion
|
|
43066
|
+
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43067
|
+
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
43068
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43170
43069
|
signal,
|
|
43171
43070
|
searchParams: buildSearchParams$2({
|
|
43172
|
-
|
|
43173
|
-
|
|
43071
|
+
include_discontinued,
|
|
43072
|
+
user_account_id,
|
|
43073
|
+
approver_user_account_id
|
|
43174
43074
|
})
|
|
43175
43075
|
}).json();
|
|
43176
43076
|
}
|
|
43177
|
-
async function
|
|
43178
|
-
return await httpClient.
|
|
43179
|
-
signal,
|
|
43180
|
-
searchParams: buildSearchParams$2({
|
|
43181
|
-
category_id,
|
|
43182
|
-
year,
|
|
43183
|
-
page,
|
|
43184
|
-
rows
|
|
43185
|
-
})
|
|
43186
|
-
}).json();
|
|
43187
|
-
}
|
|
43188
|
-
//#endregion
|
|
43189
|
-
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43190
|
-
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
43191
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43192
|
-
signal,
|
|
43193
|
-
searchParams: buildSearchParams$2({
|
|
43194
|
-
include_discontinued,
|
|
43195
|
-
user_account_id,
|
|
43196
|
-
approver_user_account_id
|
|
43197
|
-
})
|
|
43198
|
-
}).json();
|
|
43199
|
-
}
|
|
43200
|
-
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
43201
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43077
|
+
async function createTimesheetSetup(httpClient, organization_id, workspace_id, data, signal) {
|
|
43078
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheet-setups`, {
|
|
43202
43079
|
signal,
|
|
43203
43080
|
json: data
|
|
43204
43081
|
}).json();
|
|
@@ -43285,19 +43162,6 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43285
43162
|
json: data
|
|
43286
43163
|
}).json();
|
|
43287
43164
|
}
|
|
43288
|
-
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43289
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43290
|
-
signal,
|
|
43291
|
-
searchParams: buildSearchParams$2({
|
|
43292
|
-
date_from,
|
|
43293
|
-
date_to,
|
|
43294
|
-
setup_id,
|
|
43295
|
-
user_account_ids,
|
|
43296
|
-
approver_user_account_ids,
|
|
43297
|
-
team_ids
|
|
43298
|
-
})
|
|
43299
|
-
}).json();
|
|
43300
|
-
}
|
|
43301
43165
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43302
43166
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43303
43167
|
}
|
|
@@ -43341,21 +43205,7 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43341
43205
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43342
43206
|
}
|
|
43343
43207
|
//#endregion
|
|
43344
|
-
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43345
|
-
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43346
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43347
|
-
signal,
|
|
43348
|
-
json: data
|
|
43349
|
-
}).json();
|
|
43350
|
-
}
|
|
43351
|
-
//#endregion
|
|
43352
43208
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43353
|
-
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43354
|
-
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43355
|
-
}
|
|
43356
|
-
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43357
|
-
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43358
|
-
}
|
|
43359
43209
|
async function getUserSettings(httpClient, signal) {
|
|
43360
43210
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43361
43211
|
}
|
|
@@ -43383,12 +43233,6 @@ async function serviceVersion(httpClient, signal) {
|
|
|
43383
43233
|
}
|
|
43384
43234
|
//#endregion
|
|
43385
43235
|
//#region ../focus-queries/dist/working-hours/requests.ts
|
|
43386
|
-
async function replaceWorkingHoursForUsers(httpClient, organization_id, data, signal) {
|
|
43387
|
-
return await httpClient.put(`organizations/${organization_id}/workinghours/users`, {
|
|
43388
|
-
signal,
|
|
43389
|
-
json: data
|
|
43390
|
-
}).json();
|
|
43391
|
-
}
|
|
43392
43236
|
async function getWorkingHoursForUser(httpClient, organization_id, user_id, signal) {
|
|
43393
43237
|
return await httpClient.get(`organizations/${organization_id}/workinghours/users/${user_id}`, { signal }).json();
|
|
43394
43238
|
}
|
|
@@ -43601,7 +43445,6 @@ const generatedFocusOperations = [
|
|
|
43601
43445
|
mcp: { entityTool: "audit-log" },
|
|
43602
43446
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43603
43447
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43604
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43605
43448
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43606
43449
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43607
43450
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43609,7 +43452,6 @@ const generatedFocusOperations = [
|
|
|
43609
43452
|
from: /* @__PURE__ */ string$1(),
|
|
43610
43453
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43611
43454
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43612
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43613
43455
|
to: /* @__PURE__ */ string$1(),
|
|
43614
43456
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43615
43457
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43643,7 +43485,6 @@ const generatedFocusOperations = [
|
|
|
43643
43485
|
mcp: { entityTool: "audit-log" },
|
|
43644
43486
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43645
43487
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43646
|
-
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43647
43488
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43648
43489
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43649
43490
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43651,7 +43492,6 @@ const generatedFocusOperations = [
|
|
|
43651
43492
|
from: /* @__PURE__ */ string$1(),
|
|
43652
43493
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43653
43494
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43654
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43655
43495
|
to: /* @__PURE__ */ string$1(),
|
|
43656
43496
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43657
43497
|
}),
|
|
@@ -43691,7 +43531,6 @@ const generatedFocusOperations = [
|
|
|
43691
43531
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43692
43532
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43693
43533
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43694
|
-
team_id: /* @__PURE__ */ number$2(),
|
|
43695
43534
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43696
43535
|
user_id: /* @__PURE__ */ number$2()
|
|
43697
43536
|
}),
|
|
@@ -43941,6 +43780,8 @@ const generatedFocusOperations = [
|
|
|
43941
43780
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43942
43781
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43943
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()),
|
|
43944
43785
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43945
43786
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43946
43787
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43974,6 +43815,8 @@ const generatedFocusOperations = [
|
|
|
43974
43815
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43975
43816
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43976
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()),
|
|
43977
43820
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43978
43821
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43979
43822
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43989,6 +43832,12 @@ const generatedFocusOperations = [
|
|
|
43989
43832
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43990
43833
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43991
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
|
+
}))),
|
|
43992
43841
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43993
43842
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43994
43843
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43998,6 +43847,13 @@ const generatedFocusOperations = [
|
|
|
43998
43847
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43999
43848
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44000
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()),
|
|
44001
43857
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
44002
43858
|
}))
|
|
44003
43859
|
}) }),
|
|
@@ -44115,33 +43971,6 @@ const generatedFocusOperations = [
|
|
|
44115
43971
|
]));
|
|
44116
43972
|
}
|
|
44117
43973
|
},
|
|
44118
|
-
{
|
|
44119
|
-
id: "focus.custom-fields.get-allowed-users",
|
|
44120
|
-
family: "focus",
|
|
44121
|
-
resource: "custom-fields",
|
|
44122
|
-
action: "get-allowed-users",
|
|
44123
|
-
title: "Get Allowed Users Custom Fields",
|
|
44124
|
-
description: "Get Allowed Users Custom Fields.",
|
|
44125
|
-
safety: "read",
|
|
44126
|
-
destructive: false,
|
|
44127
|
-
cli: {
|
|
44128
|
-
group: ["custom-fields"],
|
|
44129
|
-
command: "get-allowed-users",
|
|
44130
|
-
interactive: "available"
|
|
44131
|
-
},
|
|
44132
|
-
mcp: { entityTool: "custom-fields" },
|
|
44133
|
-
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44134
|
-
execute: (input, { client }) => {
|
|
44135
|
-
const data = input;
|
|
44136
|
-
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44137
|
-
client.httpClient,
|
|
44138
|
-
client.organizationId,
|
|
44139
|
-
client.workspaceIdNumber,
|
|
44140
|
-
data.custom_field_id,
|
|
44141
|
-
void 0
|
|
44142
|
-
]));
|
|
44143
|
-
}
|
|
44144
|
-
},
|
|
44145
43974
|
{
|
|
44146
43975
|
id: "focus.custom-fields.list",
|
|
44147
43976
|
family: "focus",
|
|
@@ -44311,37 +44140,6 @@ const generatedFocusOperations = [
|
|
|
44311
44140
|
]));
|
|
44312
44141
|
}
|
|
44313
44142
|
},
|
|
44314
|
-
{
|
|
44315
|
-
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44316
|
-
family: "focus",
|
|
44317
|
-
resource: "custom-fields",
|
|
44318
|
-
action: "replace-custom-field-allowed-users",
|
|
44319
|
-
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44320
|
-
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44321
|
-
safety: "update",
|
|
44322
|
-
destructive: false,
|
|
44323
|
-
cli: {
|
|
44324
|
-
group: ["custom-fields"],
|
|
44325
|
-
command: "replace-custom-field-allowed-users",
|
|
44326
|
-
interactive: "default"
|
|
44327
|
-
},
|
|
44328
|
-
mcp: { entityTool: "custom-fields" },
|
|
44329
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44330
|
-
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44331
|
-
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44332
|
-
}),
|
|
44333
|
-
execute: (input, { client }) => {
|
|
44334
|
-
const data = input;
|
|
44335
|
-
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44336
|
-
client.httpClient,
|
|
44337
|
-
client.organizationId,
|
|
44338
|
-
client.workspaceIdNumber,
|
|
44339
|
-
data.custom_field_id,
|
|
44340
|
-
data.payload ?? data.data ?? data,
|
|
44341
|
-
void 0
|
|
44342
|
-
]));
|
|
44343
|
-
}
|
|
44344
|
-
},
|
|
44345
44143
|
{
|
|
44346
44144
|
id: "focus.custom-fields.update",
|
|
44347
44145
|
family: "focus",
|
|
@@ -44473,27 +44271,45 @@ const generatedFocusOperations = [
|
|
|
44473
44271
|
}
|
|
44474
44272
|
},
|
|
44475
44273
|
{
|
|
44476
|
-
id: "focus.
|
|
44274
|
+
id: "focus.goals.create",
|
|
44477
44275
|
family: "focus",
|
|
44478
|
-
resource: "
|
|
44479
|
-
action: "
|
|
44480
|
-
title: "
|
|
44481
|
-
description: "
|
|
44276
|
+
resource: "goals",
|
|
44277
|
+
action: "create",
|
|
44278
|
+
title: "Create Goals",
|
|
44279
|
+
description: "Create Goals.",
|
|
44482
44280
|
safety: "create",
|
|
44483
44281
|
destructive: false,
|
|
44484
44282
|
cli: {
|
|
44485
|
-
group: ["
|
|
44486
|
-
command: "create
|
|
44283
|
+
group: ["goals"],
|
|
44284
|
+
command: "create",
|
|
44487
44285
|
interactive: "default"
|
|
44488
44286
|
},
|
|
44489
|
-
mcp: { entityTool: "
|
|
44490
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44287
|
+
mcp: { entityTool: "goals" },
|
|
44288
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44289
|
+
billable: /* @__PURE__ */ boolean$1(),
|
|
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"]),
|
|
44491
44294
|
name: /* @__PURE__ */ string$1(),
|
|
44492
|
-
|
|
44493
|
-
|
|
44295
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44296
|
+
recurrence: /* @__PURE__ */ picklist$1([
|
|
44297
|
+
"daily",
|
|
44298
|
+
"weekly",
|
|
44299
|
+
"daily_workdays",
|
|
44300
|
+
"monthly"
|
|
44301
|
+
]),
|
|
44302
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44303
|
+
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44304
|
+
target_seconds: /* @__PURE__ */ number$2(),
|
|
44305
|
+
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44306
|
+
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44307
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44308
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44309
|
+
}) }),
|
|
44494
44310
|
execute: (input, { client }) => {
|
|
44495
44311
|
const data = input;
|
|
44496
|
-
return client.runGeneratedRequest("
|
|
44312
|
+
return client.runGeneratedRequest("createGoal", () => callGeneratedRequest(createGoal, [
|
|
44497
44313
|
client.httpClient,
|
|
44498
44314
|
client.organizationId,
|
|
44499
44315
|
client.workspaceIdNumber,
|
|
@@ -44503,91 +44319,122 @@ const generatedFocusOperations = [
|
|
|
44503
44319
|
}
|
|
44504
44320
|
},
|
|
44505
44321
|
{
|
|
44506
|
-
id: "focus.
|
|
44322
|
+
id: "focus.goals.delete",
|
|
44507
44323
|
family: "focus",
|
|
44508
|
-
resource: "
|
|
44509
|
-
action: "
|
|
44510
|
-
title: "
|
|
44511
|
-
description: "
|
|
44324
|
+
resource: "goals",
|
|
44325
|
+
action: "delete",
|
|
44326
|
+
title: "Delete Goals",
|
|
44327
|
+
description: "Delete Goals.",
|
|
44512
44328
|
safety: "delete",
|
|
44513
44329
|
destructive: true,
|
|
44514
44330
|
cli: {
|
|
44515
|
-
group: ["
|
|
44516
|
-
command: "delete
|
|
44331
|
+
group: ["goals"],
|
|
44332
|
+
command: "delete",
|
|
44517
44333
|
interactive: "default"
|
|
44518
44334
|
},
|
|
44519
|
-
mcp: { entityTool: "
|
|
44520
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44521
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44522
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
44523
|
-
}),
|
|
44335
|
+
mcp: { entityTool: "goals" },
|
|
44336
|
+
inputSchema: /* @__PURE__ */ looseObject({ goal_id: /* @__PURE__ */ number$2() }),
|
|
44524
44337
|
execute: (input, { client }) => {
|
|
44525
44338
|
const data = input;
|
|
44526
|
-
return client.runGeneratedRequest("
|
|
44339
|
+
return client.runGeneratedRequest("deleteGoal", () => callGeneratedRequest(deleteGoal, [
|
|
44527
44340
|
client.httpClient,
|
|
44528
44341
|
client.organizationId,
|
|
44529
44342
|
client.workspaceIdNumber,
|
|
44530
|
-
data.
|
|
44531
|
-
data.all_or_none,
|
|
44343
|
+
data.goal_id,
|
|
44532
44344
|
void 0
|
|
44533
44345
|
]));
|
|
44534
44346
|
}
|
|
44535
44347
|
},
|
|
44536
44348
|
{
|
|
44537
|
-
id: "focus.
|
|
44349
|
+
id: "focus.goals.get",
|
|
44538
44350
|
family: "focus",
|
|
44539
|
-
resource: "
|
|
44540
|
-
action: "
|
|
44541
|
-
title: "
|
|
44542
|
-
description: "
|
|
44543
|
-
safety: "
|
|
44351
|
+
resource: "goals",
|
|
44352
|
+
action: "get",
|
|
44353
|
+
title: "Get Goals",
|
|
44354
|
+
description: "Get Goals.",
|
|
44355
|
+
safety: "read",
|
|
44544
44356
|
destructive: false,
|
|
44545
44357
|
cli: {
|
|
44546
|
-
group: ["
|
|
44547
|
-
command: "
|
|
44548
|
-
interactive: "
|
|
44358
|
+
group: ["goals"],
|
|
44359
|
+
command: "get",
|
|
44360
|
+
interactive: "available"
|
|
44549
44361
|
},
|
|
44550
|
-
mcp: { entityTool: "
|
|
44551
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44552
|
-
designations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44553
|
-
id: /* @__PURE__ */ number$2(),
|
|
44554
|
-
name: /* @__PURE__ */ string$1()
|
|
44555
|
-
})),
|
|
44556
|
-
all_or_none: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
44557
|
-
}) }),
|
|
44362
|
+
mcp: { entityTool: "goals" },
|
|
44363
|
+
inputSchema: /* @__PURE__ */ looseObject({ goal_id: /* @__PURE__ */ number$2() }),
|
|
44558
44364
|
execute: (input, { client }) => {
|
|
44559
44365
|
const data = input;
|
|
44560
|
-
return client.runGeneratedRequest("
|
|
44366
|
+
return client.runGeneratedRequest("getGoal", () => callGeneratedRequest(getGoal, [
|
|
44561
44367
|
client.httpClient,
|
|
44562
44368
|
client.organizationId,
|
|
44563
44369
|
client.workspaceIdNumber,
|
|
44564
|
-
data.
|
|
44370
|
+
data.goal_id,
|
|
44565
44371
|
void 0
|
|
44566
44372
|
]));
|
|
44567
44373
|
}
|
|
44568
44374
|
},
|
|
44569
44375
|
{
|
|
44570
|
-
id: "focus.
|
|
44376
|
+
id: "focus.goals.list",
|
|
44571
44377
|
family: "focus",
|
|
44572
|
-
resource: "
|
|
44573
|
-
action: "
|
|
44574
|
-
title: "
|
|
44575
|
-
description: "
|
|
44576
|
-
safety: "
|
|
44378
|
+
resource: "goals",
|
|
44379
|
+
action: "list",
|
|
44380
|
+
title: "List Goals",
|
|
44381
|
+
description: "List Goals.",
|
|
44382
|
+
safety: "read",
|
|
44383
|
+
destructive: false,
|
|
44384
|
+
cli: {
|
|
44385
|
+
group: ["goals"],
|
|
44386
|
+
command: "list",
|
|
44387
|
+
interactive: "hidden"
|
|
44388
|
+
},
|
|
44389
|
+
mcp: { entityTool: "goals" },
|
|
44390
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
44391
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getGoals", () => callGeneratedRequest(getGoals, [
|
|
44392
|
+
client.httpClient,
|
|
44393
|
+
client.organizationId,
|
|
44394
|
+
client.workspaceIdNumber,
|
|
44395
|
+
void 0
|
|
44396
|
+
]))
|
|
44397
|
+
},
|
|
44398
|
+
{
|
|
44399
|
+
id: "focus.goals.preview-goal-tracked-time",
|
|
44400
|
+
family: "focus",
|
|
44401
|
+
resource: "goals",
|
|
44402
|
+
action: "preview-goal-tracked-time",
|
|
44403
|
+
title: "Preview Goal Tracked Time Goals",
|
|
44404
|
+
description: "Preview Goal Tracked Time Goals.",
|
|
44405
|
+
safety: "update",
|
|
44577
44406
|
destructive: false,
|
|
44578
44407
|
cli: {
|
|
44579
|
-
group: ["
|
|
44580
|
-
command: "
|
|
44408
|
+
group: ["goals"],
|
|
44409
|
+
command: "preview-goal-tracked-time",
|
|
44581
44410
|
interactive: "default"
|
|
44582
44411
|
},
|
|
44583
|
-
mcp: { entityTool: "
|
|
44412
|
+
mcp: { entityTool: "goals" },
|
|
44584
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"]),
|
|
44585
44419
|
name: /* @__PURE__ */ string$1(),
|
|
44586
|
-
|
|
44420
|
+
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44421
|
+
recurrence: /* @__PURE__ */ picklist$1([
|
|
44422
|
+
"daily",
|
|
44423
|
+
"weekly",
|
|
44424
|
+
"daily_workdays",
|
|
44425
|
+
"monthly"
|
|
44426
|
+
]),
|
|
44427
|
+
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
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()),
|
|
44432
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44433
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44587
44434
|
}) }),
|
|
44588
44435
|
execute: (input, { client }) => {
|
|
44589
44436
|
const data = input;
|
|
44590
|
-
return client.runGeneratedRequest("
|
|
44437
|
+
return client.runGeneratedRequest("previewGoalTrackedTime", () => callGeneratedRequest(previewGoalTrackedTime, [
|
|
44591
44438
|
client.httpClient,
|
|
44592
44439
|
client.organizationId,
|
|
44593
44440
|
client.workspaceIdNumber,
|
|
@@ -44597,173 +44444,108 @@ const generatedFocusOperations = [
|
|
|
44597
44444
|
}
|
|
44598
44445
|
},
|
|
44599
44446
|
{
|
|
44600
|
-
id: "focus.
|
|
44447
|
+
id: "focus.goals.reorder",
|
|
44601
44448
|
family: "focus",
|
|
44602
|
-
resource: "
|
|
44603
|
-
action: "
|
|
44604
|
-
title: "
|
|
44605
|
-
description: "
|
|
44606
|
-
safety: "
|
|
44607
|
-
destructive:
|
|
44449
|
+
resource: "goals",
|
|
44450
|
+
action: "reorder",
|
|
44451
|
+
title: "Reorder Goals",
|
|
44452
|
+
description: "Reorder Goals.",
|
|
44453
|
+
safety: "update",
|
|
44454
|
+
destructive: false,
|
|
44608
44455
|
cli: {
|
|
44609
|
-
group: ["
|
|
44610
|
-
command: "
|
|
44456
|
+
group: ["goals"],
|
|
44457
|
+
command: "reorder",
|
|
44611
44458
|
interactive: "default"
|
|
44612
44459
|
},
|
|
44613
|
-
mcp: { entityTool: "
|
|
44614
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44460
|
+
mcp: { entityTool: "goals" },
|
|
44461
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ goal_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
44615
44462
|
execute: (input, { client }) => {
|
|
44616
44463
|
const data = input;
|
|
44617
|
-
return client.runGeneratedRequest("
|
|
44464
|
+
return client.runGeneratedRequest("reorderGoals", () => callGeneratedRequest(reorderGoals, [
|
|
44618
44465
|
client.httpClient,
|
|
44619
44466
|
client.organizationId,
|
|
44620
44467
|
client.workspaceIdNumber,
|
|
44621
|
-
data.
|
|
44468
|
+
data.payload ?? data.data ?? data,
|
|
44622
44469
|
void 0
|
|
44623
44470
|
]));
|
|
44624
44471
|
}
|
|
44625
44472
|
},
|
|
44626
44473
|
{
|
|
44627
|
-
id: "focus.
|
|
44474
|
+
id: "focus.goals.update",
|
|
44628
44475
|
family: "focus",
|
|
44629
|
-
resource: "
|
|
44630
|
-
action: "
|
|
44631
|
-
title: "
|
|
44632
|
-
description: "
|
|
44633
|
-
safety: "
|
|
44476
|
+
resource: "goals",
|
|
44477
|
+
action: "update",
|
|
44478
|
+
title: "Update Goals",
|
|
44479
|
+
description: "Update Goals.",
|
|
44480
|
+
safety: "update",
|
|
44634
44481
|
destructive: false,
|
|
44635
44482
|
cli: {
|
|
44636
|
-
group: ["
|
|
44637
|
-
command: "
|
|
44638
|
-
interactive: "
|
|
44483
|
+
group: ["goals"],
|
|
44484
|
+
command: "update",
|
|
44485
|
+
interactive: "default"
|
|
44639
44486
|
},
|
|
44640
|
-
mcp: { entityTool: "
|
|
44487
|
+
mcp: { entityTool: "goals" },
|
|
44641
44488
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
44642
|
-
|
|
44643
|
-
|
|
44644
|
-
|
|
44645
|
-
|
|
44489
|
+
goal_id: /* @__PURE__ */ number$2(),
|
|
44490
|
+
payload: /* @__PURE__ */ looseObject({
|
|
44491
|
+
active: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44492
|
+
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44493
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44494
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44495
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44496
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44497
|
+
recurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
44498
|
+
"daily",
|
|
44499
|
+
"weekly",
|
|
44500
|
+
"daily_workdays",
|
|
44501
|
+
"monthly"
|
|
44502
|
+
])),
|
|
44503
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44504
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44505
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44506
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44507
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44508
|
+
})
|
|
44646
44509
|
}),
|
|
44647
44510
|
execute: (input, { client }) => {
|
|
44648
44511
|
const data = input;
|
|
44649
|
-
return client.runGeneratedRequest("
|
|
44512
|
+
return client.runGeneratedRequest("updateGoal", () => callGeneratedRequest(updateGoal, [
|
|
44650
44513
|
client.httpClient,
|
|
44651
44514
|
client.organizationId,
|
|
44652
44515
|
client.workspaceIdNumber,
|
|
44653
|
-
data,
|
|
44516
|
+
data.goal_id,
|
|
44517
|
+
data.payload ?? data.data ?? data,
|
|
44654
44518
|
void 0
|
|
44655
44519
|
]));
|
|
44656
44520
|
}
|
|
44657
44521
|
},
|
|
44658
44522
|
{
|
|
44659
|
-
id: "focus.
|
|
44523
|
+
id: "focus.milestones.create",
|
|
44660
44524
|
family: "focus",
|
|
44661
|
-
resource: "
|
|
44662
|
-
action: "update-workspace",
|
|
44663
|
-
title: "Update Workspace Designations",
|
|
44664
|
-
description: "Update Workspace Designations.",
|
|
44665
|
-
safety: "update",
|
|
44666
|
-
destructive: false,
|
|
44667
|
-
cli: {
|
|
44668
|
-
group: ["designations"],
|
|
44669
|
-
command: "update-workspace",
|
|
44670
|
-
interactive: "default"
|
|
44671
|
-
},
|
|
44672
|
-
mcp: { entityTool: "designations" },
|
|
44673
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44674
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44675
|
-
payload: /* @__PURE__ */ looseObject({ name: /* @__PURE__ */ string$1() })
|
|
44676
|
-
}),
|
|
44677
|
-
execute: (input, { client }) => {
|
|
44678
|
-
const data = input;
|
|
44679
|
-
return client.runGeneratedRequest("updateWorkspaceDesignation", () => callGeneratedRequest(updateWorkspaceDesignation, [
|
|
44680
|
-
client.httpClient,
|
|
44681
|
-
client.organizationId,
|
|
44682
|
-
client.workspaceIdNumber,
|
|
44683
|
-
data.designation_id,
|
|
44684
|
-
data.payload ?? data.data ?? data,
|
|
44685
|
-
void 0
|
|
44686
|
-
]));
|
|
44687
|
-
}
|
|
44688
|
-
},
|
|
44689
|
-
{
|
|
44690
|
-
id: "focus.designations.update-workspace-designation-members",
|
|
44691
|
-
family: "focus",
|
|
44692
|
-
resource: "designations",
|
|
44693
|
-
action: "update-workspace-designation-members",
|
|
44694
|
-
title: "Update Workspace Designation Members Designations",
|
|
44695
|
-
description: "Update Workspace Designation Members Designations.",
|
|
44696
|
-
safety: "update",
|
|
44697
|
-
destructive: false,
|
|
44698
|
-
cli: {
|
|
44699
|
-
group: ["designations"],
|
|
44700
|
-
command: "update-workspace-designation-members",
|
|
44701
|
-
interactive: "default"
|
|
44702
|
-
},
|
|
44703
|
-
mcp: { entityTool: "designations" },
|
|
44704
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44705
|
-
add: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44706
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44707
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44708
|
-
}))),
|
|
44709
|
-
remove: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
44710
|
-
designation_id: /* @__PURE__ */ number$2(),
|
|
44711
|
-
toggl_user_id: /* @__PURE__ */ number$2()
|
|
44712
|
-
})))
|
|
44713
|
-
}) }),
|
|
44714
|
-
execute: (input, { client }) => {
|
|
44715
|
-
const data = input;
|
|
44716
|
-
return client.runGeneratedRequest("updateWorkspaceDesignationMembers", () => callGeneratedRequest(updateWorkspaceDesignationMembers, [
|
|
44717
|
-
client.httpClient,
|
|
44718
|
-
client.organizationId,
|
|
44719
|
-
client.workspaceIdNumber,
|
|
44720
|
-
data.payload ?? data.data ?? data,
|
|
44721
|
-
void 0
|
|
44722
|
-
]));
|
|
44723
|
-
}
|
|
44724
|
-
},
|
|
44725
|
-
{
|
|
44726
|
-
id: "focus.goals.create",
|
|
44727
|
-
family: "focus",
|
|
44728
|
-
resource: "goals",
|
|
44525
|
+
resource: "milestones",
|
|
44729
44526
|
action: "create",
|
|
44730
|
-
title: "Create
|
|
44731
|
-
description: "Create
|
|
44527
|
+
title: "Create Milestones",
|
|
44528
|
+
description: "Create Milestones.",
|
|
44732
44529
|
safety: "create",
|
|
44733
44530
|
destructive: false,
|
|
44734
44531
|
cli: {
|
|
44735
|
-
group: ["
|
|
44532
|
+
group: ["milestones"],
|
|
44736
44533
|
command: "create",
|
|
44737
44534
|
interactive: "default"
|
|
44738
44535
|
},
|
|
44739
|
-
mcp: { entityTool: "
|
|
44536
|
+
mcp: { entityTool: "milestones" },
|
|
44740
44537
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44741
|
-
|
|
44742
|
-
|
|
44743
|
-
|
|
44744
|
-
|
|
44745
|
-
"daily_workdays",
|
|
44746
|
-
"monthly"
|
|
44747
|
-
]),
|
|
44748
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44749
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44750
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44751
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44752
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44753
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44754
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44755
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44756
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44538
|
+
color: /* @__PURE__ */ string$1(),
|
|
44539
|
+
due_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44540
|
+
name: /* @__PURE__ */ string$1(),
|
|
44541
|
+
completed_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
44757
44542
|
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44758
|
-
|
|
44759
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44760
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44543
|
+
team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44761
44544
|
}) }),
|
|
44762
44545
|
execute: (input, { client }) => {
|
|
44763
44546
|
const data = input;
|
|
44764
|
-
return client.runGeneratedRequest("
|
|
44547
|
+
return client.runGeneratedRequest("createMilestone", () => callGeneratedRequest(createMilestone, [
|
|
44765
44548
|
client.httpClient,
|
|
44766
|
-
client.organizationId,
|
|
44767
44549
|
client.workspaceIdNumber,
|
|
44768
44550
|
data.payload ?? data.data ?? data,
|
|
44769
44551
|
void 0
|
|
@@ -44771,400 +44553,166 @@ const generatedFocusOperations = [
|
|
|
44771
44553
|
}
|
|
44772
44554
|
},
|
|
44773
44555
|
{
|
|
44774
|
-
id: "focus.
|
|
44556
|
+
id: "focus.milestones.delete",
|
|
44775
44557
|
family: "focus",
|
|
44776
|
-
resource: "
|
|
44558
|
+
resource: "milestones",
|
|
44777
44559
|
action: "delete",
|
|
44778
|
-
title: "Delete
|
|
44779
|
-
description: "Delete
|
|
44560
|
+
title: "Delete Milestones",
|
|
44561
|
+
description: "Delete Milestones.",
|
|
44780
44562
|
safety: "delete",
|
|
44781
44563
|
destructive: true,
|
|
44782
44564
|
cli: {
|
|
44783
|
-
group: ["
|
|
44565
|
+
group: ["milestones"],
|
|
44784
44566
|
command: "delete",
|
|
44785
44567
|
interactive: "default"
|
|
44786
44568
|
},
|
|
44787
|
-
mcp: { entityTool: "
|
|
44788
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44569
|
+
mcp: { entityTool: "milestones" },
|
|
44570
|
+
inputSchema: /* @__PURE__ */ looseObject({ milestone_id: /* @__PURE__ */ number$2() }),
|
|
44789
44571
|
execute: (input, { client }) => {
|
|
44790
44572
|
const data = input;
|
|
44791
|
-
return client.runGeneratedRequest("
|
|
44573
|
+
return client.runGeneratedRequest("deleteMilestone", () => callGeneratedRequest(deleteMilestone, [
|
|
44792
44574
|
client.httpClient,
|
|
44793
|
-
client.organizationId,
|
|
44794
44575
|
client.workspaceIdNumber,
|
|
44795
|
-
data.
|
|
44576
|
+
data.milestone_id,
|
|
44796
44577
|
void 0
|
|
44797
44578
|
]));
|
|
44798
44579
|
}
|
|
44799
44580
|
},
|
|
44800
44581
|
{
|
|
44801
|
-
id: "focus.
|
|
44582
|
+
id: "focus.milestones.get",
|
|
44802
44583
|
family: "focus",
|
|
44803
|
-
resource: "
|
|
44584
|
+
resource: "milestones",
|
|
44804
44585
|
action: "get",
|
|
44805
|
-
title: "Get
|
|
44806
|
-
description: "Get
|
|
44586
|
+
title: "Get Milestones",
|
|
44587
|
+
description: "Get Milestones.",
|
|
44807
44588
|
safety: "read",
|
|
44808
44589
|
destructive: false,
|
|
44809
44590
|
cli: {
|
|
44810
|
-
group: ["
|
|
44591
|
+
group: ["milestones"],
|
|
44811
44592
|
command: "get",
|
|
44812
44593
|
interactive: "available"
|
|
44813
44594
|
},
|
|
44814
|
-
mcp: { entityTool: "
|
|
44815
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44595
|
+
mcp: { entityTool: "milestones" },
|
|
44596
|
+
inputSchema: /* @__PURE__ */ looseObject({ milestone_id: /* @__PURE__ */ number$2() }),
|
|
44816
44597
|
execute: (input, { client }) => {
|
|
44817
44598
|
const data = input;
|
|
44818
|
-
return client.runGeneratedRequest("
|
|
44599
|
+
return client.runGeneratedRequest("getMilestone", () => callGeneratedRequest(getMilestone, [
|
|
44819
44600
|
client.httpClient,
|
|
44820
|
-
client.organizationId,
|
|
44821
44601
|
client.workspaceIdNumber,
|
|
44822
|
-
data.
|
|
44602
|
+
data.milestone_id,
|
|
44823
44603
|
void 0
|
|
44824
44604
|
]));
|
|
44825
44605
|
}
|
|
44826
44606
|
},
|
|
44827
44607
|
{
|
|
44828
|
-
id: "focus.
|
|
44608
|
+
id: "focus.milestones.get-classic",
|
|
44829
44609
|
family: "focus",
|
|
44830
|
-
resource: "
|
|
44831
|
-
action: "
|
|
44832
|
-
title: "
|
|
44833
|
-
description: "
|
|
44610
|
+
resource: "milestones",
|
|
44611
|
+
action: "get-classic",
|
|
44612
|
+
title: "Get Classic Milestones",
|
|
44613
|
+
description: "Get Classic Milestones.",
|
|
44834
44614
|
safety: "read",
|
|
44835
44615
|
destructive: false,
|
|
44836
44616
|
cli: {
|
|
44837
|
-
group: ["
|
|
44838
|
-
command: "
|
|
44617
|
+
group: ["milestones"],
|
|
44618
|
+
command: "get-classic",
|
|
44839
44619
|
interactive: "hidden"
|
|
44840
44620
|
},
|
|
44841
|
-
mcp: { entityTool: "
|
|
44842
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44843
|
-
|
|
44844
|
-
|
|
44845
|
-
|
|
44846
|
-
|
|
44847
|
-
|
|
44848
|
-
|
|
44849
|
-
|
|
44850
|
-
|
|
44851
|
-
id: "focus.goals.preview-goal-tracked-time",
|
|
44852
|
-
family: "focus",
|
|
44853
|
-
resource: "goals",
|
|
44854
|
-
action: "preview-goal-tracked-time",
|
|
44855
|
-
title: "Preview Goal Tracked Time Goals",
|
|
44856
|
-
description: "Preview Goal Tracked Time Goals.",
|
|
44857
|
-
safety: "update",
|
|
44858
|
-
destructive: false,
|
|
44859
|
-
cli: {
|
|
44860
|
-
group: ["goals"],
|
|
44861
|
-
command: "preview-goal-tracked-time",
|
|
44862
|
-
interactive: "default"
|
|
44863
|
-
},
|
|
44864
|
-
mcp: { entityTool: "goals" },
|
|
44865
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44866
|
-
recurrence: /* @__PURE__ */ picklist$1([
|
|
44867
|
-
"daily",
|
|
44868
|
-
"weekly",
|
|
44869
|
-
"daily_workdays",
|
|
44870
|
-
"monthly"
|
|
44871
|
-
]),
|
|
44872
|
-
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44873
|
-
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44874
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44875
|
-
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44876
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44877
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44878
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44879
|
-
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44880
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44881
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44882
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44883
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44884
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44885
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44886
|
-
}) }),
|
|
44621
|
+
mcp: { entityTool: "milestones" },
|
|
44622
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44623
|
+
due_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44624
|
+
due_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44625
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44626
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44627
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44628
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44629
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44630
|
+
}),
|
|
44887
44631
|
execute: (input, { client }) => {
|
|
44888
44632
|
const data = input;
|
|
44889
|
-
return client.runGeneratedRequest("
|
|
44633
|
+
return client.runGeneratedRequest("getMilestonesClassic", () => callGeneratedRequest(getMilestonesClassic, [
|
|
44890
44634
|
client.httpClient,
|
|
44891
|
-
client.organizationId,
|
|
44892
44635
|
client.workspaceIdNumber,
|
|
44893
|
-
data
|
|
44636
|
+
data,
|
|
44894
44637
|
void 0
|
|
44895
44638
|
]));
|
|
44896
44639
|
}
|
|
44897
44640
|
},
|
|
44898
44641
|
{
|
|
44899
|
-
id: "focus.
|
|
44642
|
+
id: "focus.milestones.get-stream",
|
|
44900
44643
|
family: "focus",
|
|
44901
|
-
resource: "
|
|
44902
|
-
action: "
|
|
44903
|
-
title: "
|
|
44904
|
-
description: "
|
|
44905
|
-
safety: "
|
|
44644
|
+
resource: "milestones",
|
|
44645
|
+
action: "get-stream",
|
|
44646
|
+
title: "Get Stream Milestones",
|
|
44647
|
+
description: "Get Stream Milestones.",
|
|
44648
|
+
safety: "read",
|
|
44906
44649
|
destructive: false,
|
|
44907
44650
|
cli: {
|
|
44908
|
-
group: ["
|
|
44909
|
-
command: "
|
|
44910
|
-
interactive: "
|
|
44651
|
+
group: ["milestones"],
|
|
44652
|
+
command: "get-stream",
|
|
44653
|
+
interactive: "hidden"
|
|
44911
44654
|
},
|
|
44912
|
-
mcp: { entityTool: "
|
|
44913
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
44655
|
+
mcp: { entityTool: "milestones" },
|
|
44656
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44657
|
+
due_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44658
|
+
due_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44659
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44660
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44661
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
44662
|
+
}),
|
|
44914
44663
|
execute: (input, { client }) => {
|
|
44915
44664
|
const data = input;
|
|
44916
|
-
return client.runGeneratedRequest("
|
|
44665
|
+
return client.runGeneratedRequest("getMilestonesStream", () => callGeneratedRequest(getMilestonesStream, [
|
|
44917
44666
|
client.httpClient,
|
|
44918
|
-
client.organizationId,
|
|
44919
44667
|
client.workspaceIdNumber,
|
|
44920
|
-
data
|
|
44668
|
+
data,
|
|
44921
44669
|
void 0
|
|
44922
44670
|
]));
|
|
44923
44671
|
}
|
|
44924
44672
|
},
|
|
44925
44673
|
{
|
|
44926
|
-
id: "focus.
|
|
44674
|
+
id: "focus.milestones.partial-update",
|
|
44927
44675
|
family: "focus",
|
|
44928
|
-
resource: "
|
|
44929
|
-
action: "update",
|
|
44930
|
-
title: "Update
|
|
44931
|
-
description: "Update
|
|
44676
|
+
resource: "milestones",
|
|
44677
|
+
action: "partial-update",
|
|
44678
|
+
title: "Partial Update Milestones",
|
|
44679
|
+
description: "Partial Update Milestones.",
|
|
44932
44680
|
safety: "update",
|
|
44933
44681
|
destructive: false,
|
|
44934
44682
|
cli: {
|
|
44935
|
-
group: ["
|
|
44936
|
-
command: "update",
|
|
44683
|
+
group: ["milestones"],
|
|
44684
|
+
command: "partial-update",
|
|
44937
44685
|
interactive: "default"
|
|
44938
44686
|
},
|
|
44939
|
-
mcp: { entityTool: "
|
|
44687
|
+
mcp: { entityTool: "milestones" },
|
|
44940
44688
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
44941
|
-
|
|
44689
|
+
milestone_id: /* @__PURE__ */ number$2(),
|
|
44942
44690
|
payload: /* @__PURE__ */ looseObject({
|
|
44943
|
-
|
|
44944
|
-
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44945
|
-
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44946
|
-
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44691
|
+
due_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44947
44692
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44948
44693
|
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44949
|
-
|
|
44950
|
-
"daily",
|
|
44951
|
-
"weekly",
|
|
44952
|
-
"daily_workdays",
|
|
44953
|
-
"monthly"
|
|
44954
|
-
])),
|
|
44955
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44956
|
-
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44957
|
-
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44958
|
-
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44959
|
-
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44694
|
+
team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44960
44695
|
})
|
|
44961
44696
|
}),
|
|
44962
44697
|
execute: (input, { client }) => {
|
|
44963
44698
|
const data = input;
|
|
44964
|
-
return client.runGeneratedRequest("
|
|
44699
|
+
return client.runGeneratedRequest("partialUpdateMilestone", () => callGeneratedRequest(partialUpdateMilestone, [
|
|
44965
44700
|
client.httpClient,
|
|
44966
|
-
client.organizationId,
|
|
44967
44701
|
client.workspaceIdNumber,
|
|
44968
|
-
data.
|
|
44702
|
+
data.milestone_id,
|
|
44969
44703
|
data.payload ?? data.data ?? data,
|
|
44970
44704
|
void 0
|
|
44971
44705
|
]));
|
|
44972
44706
|
}
|
|
44973
44707
|
},
|
|
44974
44708
|
{
|
|
44975
|
-
id: "focus.milestones.
|
|
44709
|
+
id: "focus.milestones.restore",
|
|
44976
44710
|
family: "focus",
|
|
44977
44711
|
resource: "milestones",
|
|
44978
|
-
action: "
|
|
44979
|
-
title: "
|
|
44980
|
-
description: "
|
|
44981
|
-
safety: "
|
|
44982
|
-
destructive: false,
|
|
44983
|
-
cli: {
|
|
44984
|
-
group: ["milestones"],
|
|
44985
|
-
command: "create",
|
|
44986
|
-
interactive: "default"
|
|
44987
|
-
},
|
|
44988
|
-
mcp: { entityTool: "milestones" },
|
|
44989
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44990
|
-
color: /* @__PURE__ */ string$1(),
|
|
44991
|
-
due_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44992
|
-
name: /* @__PURE__ */ string$1(),
|
|
44993
|
-
completed_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
44994
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44995
|
-
team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44996
|
-
}) }),
|
|
44997
|
-
execute: (input, { client }) => {
|
|
44998
|
-
const data = input;
|
|
44999
|
-
return client.runGeneratedRequest("createMilestone", () => callGeneratedRequest(createMilestone, [
|
|
45000
|
-
client.httpClient,
|
|
45001
|
-
client.workspaceIdNumber,
|
|
45002
|
-
data.payload ?? data.data ?? data,
|
|
45003
|
-
void 0
|
|
45004
|
-
]));
|
|
45005
|
-
}
|
|
45006
|
-
},
|
|
45007
|
-
{
|
|
45008
|
-
id: "focus.milestones.delete",
|
|
45009
|
-
family: "focus",
|
|
45010
|
-
resource: "milestones",
|
|
45011
|
-
action: "delete",
|
|
45012
|
-
title: "Delete Milestones",
|
|
45013
|
-
description: "Delete Milestones.",
|
|
45014
|
-
safety: "delete",
|
|
45015
|
-
destructive: true,
|
|
45016
|
-
cli: {
|
|
45017
|
-
group: ["milestones"],
|
|
45018
|
-
command: "delete",
|
|
45019
|
-
interactive: "default"
|
|
45020
|
-
},
|
|
45021
|
-
mcp: { entityTool: "milestones" },
|
|
45022
|
-
inputSchema: /* @__PURE__ */ looseObject({ milestone_id: /* @__PURE__ */ number$2() }),
|
|
45023
|
-
execute: (input, { client }) => {
|
|
45024
|
-
const data = input;
|
|
45025
|
-
return client.runGeneratedRequest("deleteMilestone", () => callGeneratedRequest(deleteMilestone, [
|
|
45026
|
-
client.httpClient,
|
|
45027
|
-
client.workspaceIdNumber,
|
|
45028
|
-
data.milestone_id,
|
|
45029
|
-
void 0
|
|
45030
|
-
]));
|
|
45031
|
-
}
|
|
45032
|
-
},
|
|
45033
|
-
{
|
|
45034
|
-
id: "focus.milestones.get",
|
|
45035
|
-
family: "focus",
|
|
45036
|
-
resource: "milestones",
|
|
45037
|
-
action: "get",
|
|
45038
|
-
title: "Get Milestones",
|
|
45039
|
-
description: "Get Milestones.",
|
|
45040
|
-
safety: "read",
|
|
45041
|
-
destructive: false,
|
|
45042
|
-
cli: {
|
|
45043
|
-
group: ["milestones"],
|
|
45044
|
-
command: "get",
|
|
45045
|
-
interactive: "available"
|
|
45046
|
-
},
|
|
45047
|
-
mcp: { entityTool: "milestones" },
|
|
45048
|
-
inputSchema: /* @__PURE__ */ looseObject({ milestone_id: /* @__PURE__ */ number$2() }),
|
|
45049
|
-
execute: (input, { client }) => {
|
|
45050
|
-
const data = input;
|
|
45051
|
-
return client.runGeneratedRequest("getMilestone", () => callGeneratedRequest(getMilestone, [
|
|
45052
|
-
client.httpClient,
|
|
45053
|
-
client.workspaceIdNumber,
|
|
45054
|
-
data.milestone_id,
|
|
45055
|
-
void 0
|
|
45056
|
-
]));
|
|
45057
|
-
}
|
|
45058
|
-
},
|
|
45059
|
-
{
|
|
45060
|
-
id: "focus.milestones.get-classic",
|
|
45061
|
-
family: "focus",
|
|
45062
|
-
resource: "milestones",
|
|
45063
|
-
action: "get-classic",
|
|
45064
|
-
title: "Get Classic Milestones",
|
|
45065
|
-
description: "Get Classic Milestones.",
|
|
45066
|
-
safety: "read",
|
|
45067
|
-
destructive: false,
|
|
45068
|
-
cli: {
|
|
45069
|
-
group: ["milestones"],
|
|
45070
|
-
command: "get-classic",
|
|
45071
|
-
interactive: "hidden"
|
|
45072
|
-
},
|
|
45073
|
-
mcp: { entityTool: "milestones" },
|
|
45074
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
45075
|
-
due_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45076
|
-
due_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45077
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45078
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45079
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45080
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45081
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
45082
|
-
}),
|
|
45083
|
-
execute: (input, { client }) => {
|
|
45084
|
-
const data = input;
|
|
45085
|
-
return client.runGeneratedRequest("getMilestonesClassic", () => callGeneratedRequest(getMilestonesClassic, [
|
|
45086
|
-
client.httpClient,
|
|
45087
|
-
client.workspaceIdNumber,
|
|
45088
|
-
data,
|
|
45089
|
-
void 0
|
|
45090
|
-
]));
|
|
45091
|
-
}
|
|
45092
|
-
},
|
|
45093
|
-
{
|
|
45094
|
-
id: "focus.milestones.get-stream",
|
|
45095
|
-
family: "focus",
|
|
45096
|
-
resource: "milestones",
|
|
45097
|
-
action: "get-stream",
|
|
45098
|
-
title: "Get Stream Milestones",
|
|
45099
|
-
description: "Get Stream Milestones.",
|
|
45100
|
-
safety: "read",
|
|
45101
|
-
destructive: false,
|
|
45102
|
-
cli: {
|
|
45103
|
-
group: ["milestones"],
|
|
45104
|
-
command: "get-stream",
|
|
45105
|
-
interactive: "hidden"
|
|
45106
|
-
},
|
|
45107
|
-
mcp: { entityTool: "milestones" },
|
|
45108
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
45109
|
-
due_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45110
|
-
due_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45111
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45112
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45113
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
45114
|
-
}),
|
|
45115
|
-
execute: (input, { client }) => {
|
|
45116
|
-
const data = input;
|
|
45117
|
-
return client.runGeneratedRequest("getMilestonesStream", () => callGeneratedRequest(getMilestonesStream, [
|
|
45118
|
-
client.httpClient,
|
|
45119
|
-
client.workspaceIdNumber,
|
|
45120
|
-
data,
|
|
45121
|
-
void 0
|
|
45122
|
-
]));
|
|
45123
|
-
}
|
|
45124
|
-
},
|
|
45125
|
-
{
|
|
45126
|
-
id: "focus.milestones.partial-update",
|
|
45127
|
-
family: "focus",
|
|
45128
|
-
resource: "milestones",
|
|
45129
|
-
action: "partial-update",
|
|
45130
|
-
title: "Partial Update Milestones",
|
|
45131
|
-
description: "Partial Update Milestones.",
|
|
45132
|
-
safety: "update",
|
|
45133
|
-
destructive: false,
|
|
45134
|
-
cli: {
|
|
45135
|
-
group: ["milestones"],
|
|
45136
|
-
command: "partial-update",
|
|
45137
|
-
interactive: "default"
|
|
45138
|
-
},
|
|
45139
|
-
mcp: { entityTool: "milestones" },
|
|
45140
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
45141
|
-
milestone_id: /* @__PURE__ */ number$2(),
|
|
45142
|
-
payload: /* @__PURE__ */ looseObject({
|
|
45143
|
-
due_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45144
|
-
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45145
|
-
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
45146
|
-
team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
45147
|
-
})
|
|
45148
|
-
}),
|
|
45149
|
-
execute: (input, { client }) => {
|
|
45150
|
-
const data = input;
|
|
45151
|
-
return client.runGeneratedRequest("partialUpdateMilestone", () => callGeneratedRequest(partialUpdateMilestone, [
|
|
45152
|
-
client.httpClient,
|
|
45153
|
-
client.workspaceIdNumber,
|
|
45154
|
-
data.milestone_id,
|
|
45155
|
-
data.payload ?? data.data ?? data,
|
|
45156
|
-
void 0
|
|
45157
|
-
]));
|
|
45158
|
-
}
|
|
45159
|
-
},
|
|
45160
|
-
{
|
|
45161
|
-
id: "focus.milestones.restore",
|
|
45162
|
-
family: "focus",
|
|
45163
|
-
resource: "milestones",
|
|
45164
|
-
action: "restore",
|
|
45165
|
-
title: "Restore Milestones",
|
|
45166
|
-
description: "Restore Milestones.",
|
|
45167
|
-
safety: "update",
|
|
44712
|
+
action: "restore",
|
|
44713
|
+
title: "Restore Milestones",
|
|
44714
|
+
description: "Restore Milestones.",
|
|
44715
|
+
safety: "update",
|
|
45168
44716
|
destructive: false,
|
|
45169
44717
|
cli: {
|
|
45170
44718
|
group: ["milestones"],
|
|
@@ -45849,17 +45397,9 @@ const generatedFocusOperations = [
|
|
|
45849
45397
|
mcp: { entityTool: "projects" },
|
|
45850
45398
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45851
45399
|
payload: /* @__PURE__ */ looseObject({
|
|
45852
|
-
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45853
|
-
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45854
45400
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45855
45401
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45856
45402
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45857
|
-
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45858
|
-
"expire",
|
|
45859
|
-
"carry_all",
|
|
45860
|
-
"carry_over"
|
|
45861
|
-
])),
|
|
45862
|
-
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45863
45403
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45864
45404
|
}),
|
|
45865
45405
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -46303,7 +45843,6 @@ const generatedFocusOperations = [
|
|
|
46303
45843
|
group: /* @__PURE__ */ string$1(),
|
|
46304
45844
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46305
45845
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46306
|
-
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46307
45846
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46308
45847
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46309
45848
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46406,6 +45945,29 @@ const generatedFocusOperations = [
|
|
|
46406
45945
|
]));
|
|
46407
45946
|
}
|
|
46408
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
|
+
},
|
|
46409
45971
|
{
|
|
46410
45972
|
id: "focus.projects.margin-targets-get",
|
|
46411
45973
|
family: "focus",
|
|
@@ -46851,200 +46413,76 @@ const generatedFocusOperations = [
|
|
|
46851
46413
|
}
|
|
46852
46414
|
},
|
|
46853
46415
|
{
|
|
46854
|
-
id: "focus.
|
|
46416
|
+
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46855
46417
|
family: "focus",
|
|
46856
|
-
resource: "
|
|
46857
|
-
action: "
|
|
46858
|
-
title: "
|
|
46859
|
-
description: "
|
|
46860
|
-
safety: "
|
|
46418
|
+
resource: "rates",
|
|
46419
|
+
action: "billable-check-project-billable-rate-conflicts",
|
|
46420
|
+
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46421
|
+
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46422
|
+
safety: "update",
|
|
46861
46423
|
destructive: false,
|
|
46862
46424
|
cli: {
|
|
46863
|
-
group: ["
|
|
46864
|
-
command: "
|
|
46865
|
-
interactive: "
|
|
46425
|
+
group: ["rates", "billable"],
|
|
46426
|
+
command: "check-project-billable-rate-conflicts",
|
|
46427
|
+
interactive: "default"
|
|
46866
46428
|
},
|
|
46867
|
-
mcp: { entityTool: "
|
|
46868
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46429
|
+
mcp: { entityTool: "rates" },
|
|
46430
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46431
|
+
payload: rateSchedulePayloadSchema,
|
|
46432
|
+
project_id: /* @__PURE__ */ number$2()
|
|
46433
|
+
}),
|
|
46869
46434
|
execute: (input, { client }) => {
|
|
46870
46435
|
const data = input;
|
|
46871
|
-
return client.runGeneratedRequest("
|
|
46436
|
+
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
46872
46437
|
client.httpClient,
|
|
46873
|
-
|
|
46438
|
+
client.organizationId,
|
|
46439
|
+
client.workspaceIdNumber,
|
|
46440
|
+
data.project_id,
|
|
46441
|
+
data.payload ?? data.data ?? data,
|
|
46874
46442
|
void 0
|
|
46875
46443
|
]));
|
|
46876
46444
|
}
|
|
46877
46445
|
},
|
|
46878
46446
|
{
|
|
46879
|
-
id: "focus.
|
|
46447
|
+
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
46880
46448
|
family: "focus",
|
|
46881
|
-
resource: "
|
|
46882
|
-
action: "
|
|
46883
|
-
title: "
|
|
46884
|
-
description: "
|
|
46449
|
+
resource: "rates",
|
|
46450
|
+
action: "billable-check-project-user-billable-rate-conflicts",
|
|
46451
|
+
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
46452
|
+
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
46885
46453
|
safety: "update",
|
|
46886
46454
|
destructive: false,
|
|
46887
46455
|
cli: {
|
|
46888
|
-
group: ["
|
|
46889
|
-
command: "
|
|
46456
|
+
group: ["rates", "billable"],
|
|
46457
|
+
command: "check-project-user-billable-rate-conflicts",
|
|
46890
46458
|
interactive: "default"
|
|
46891
46459
|
},
|
|
46892
|
-
mcp: { entityTool: "
|
|
46460
|
+
mcp: { entityTool: "rates" },
|
|
46893
46461
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46894
|
-
|
|
46895
|
-
|
|
46896
|
-
|
|
46897
|
-
token: /* @__PURE__ */ string$1()
|
|
46462
|
+
payload: rateSchedulePayloadSchema,
|
|
46463
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
46464
|
+
user_id: /* @__PURE__ */ number$2()
|
|
46898
46465
|
}),
|
|
46899
46466
|
execute: (input, { client }) => {
|
|
46900
46467
|
const data = input;
|
|
46901
|
-
return client.runGeneratedRequest("
|
|
46468
|
+
return client.runGeneratedRequest("checkProjectUserBillableRateConflicts", () => callGeneratedRequest(checkProjectUserBillableRateConflicts, [
|
|
46902
46469
|
client.httpClient,
|
|
46903
|
-
|
|
46470
|
+
client.organizationId,
|
|
46471
|
+
client.workspaceIdNumber,
|
|
46472
|
+
data.project_id,
|
|
46473
|
+
data.user_id,
|
|
46904
46474
|
data.payload ?? data.data ?? data,
|
|
46905
|
-
data.response_format,
|
|
46906
|
-
data.include_dicts,
|
|
46907
46475
|
void 0
|
|
46908
46476
|
]));
|
|
46909
46477
|
}
|
|
46910
46478
|
},
|
|
46911
46479
|
{
|
|
46912
|
-
id: "focus.
|
|
46480
|
+
id: "focus.rates.billable-check-workspace-billable-rate-conflicts",
|
|
46913
46481
|
family: "focus",
|
|
46914
|
-
resource: "
|
|
46915
|
-
action: "
|
|
46916
|
-
title: "
|
|
46917
|
-
description: "
|
|
46918
|
-
safety: "update",
|
|
46919
|
-
destructive: false,
|
|
46920
|
-
cli: {
|
|
46921
|
-
group: ["publicsharedreports"],
|
|
46922
|
-
command: "query-public-shared-report",
|
|
46923
|
-
interactive: "default"
|
|
46924
|
-
},
|
|
46925
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46926
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46927
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46928
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46929
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46930
|
-
"json_row",
|
|
46931
|
-
"table",
|
|
46932
|
-
"hierarchical"
|
|
46933
|
-
])),
|
|
46934
|
-
token: /* @__PURE__ */ string$1()
|
|
46935
|
-
}),
|
|
46936
|
-
execute: (input, { client }) => {
|
|
46937
|
-
const data = input;
|
|
46938
|
-
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46939
|
-
client.httpClient,
|
|
46940
|
-
data.token,
|
|
46941
|
-
data.payload ?? data.data ?? data,
|
|
46942
|
-
data.response_format,
|
|
46943
|
-
data.include_dicts,
|
|
46944
|
-
void 0
|
|
46945
|
-
]));
|
|
46946
|
-
}
|
|
46947
|
-
},
|
|
46948
|
-
{
|
|
46949
|
-
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46950
|
-
family: "focus",
|
|
46951
|
-
resource: "publicsharedreports",
|
|
46952
|
-
action: "workload-public-shared-report",
|
|
46953
|
-
title: "Workload Public Shared Report Publicsharedreports",
|
|
46954
|
-
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46955
|
-
safety: "update",
|
|
46956
|
-
destructive: false,
|
|
46957
|
-
cli: {
|
|
46958
|
-
group: ["publicsharedreports"],
|
|
46959
|
-
command: "workload-public-shared-report",
|
|
46960
|
-
interactive: "default"
|
|
46961
|
-
},
|
|
46962
|
-
mcp: { entityTool: "publicsharedreports" },
|
|
46963
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46964
|
-
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46965
|
-
token: /* @__PURE__ */ string$1()
|
|
46966
|
-
}),
|
|
46967
|
-
execute: (input, { client }) => {
|
|
46968
|
-
const data = input;
|
|
46969
|
-
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46970
|
-
client.httpClient,
|
|
46971
|
-
data.token,
|
|
46972
|
-
data.payload ?? data.data ?? data,
|
|
46973
|
-
void 0
|
|
46974
|
-
]));
|
|
46975
|
-
}
|
|
46976
|
-
},
|
|
46977
|
-
{
|
|
46978
|
-
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46979
|
-
family: "focus",
|
|
46980
|
-
resource: "rates",
|
|
46981
|
-
action: "billable-check-project-billable-rate-conflicts",
|
|
46982
|
-
title: "Billable Check Project Billable Rate Conflicts Rates",
|
|
46983
|
-
description: "Billable Check Project Billable Rate Conflicts Rates.",
|
|
46984
|
-
safety: "update",
|
|
46985
|
-
destructive: false,
|
|
46986
|
-
cli: {
|
|
46987
|
-
group: ["rates", "billable"],
|
|
46988
|
-
command: "check-project-billable-rate-conflicts",
|
|
46989
|
-
interactive: "default"
|
|
46990
|
-
},
|
|
46991
|
-
mcp: { entityTool: "rates" },
|
|
46992
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
46993
|
-
payload: rateSchedulePayloadSchema,
|
|
46994
|
-
project_id: /* @__PURE__ */ number$2()
|
|
46995
|
-
}),
|
|
46996
|
-
execute: (input, { client }) => {
|
|
46997
|
-
const data = input;
|
|
46998
|
-
return client.runGeneratedRequest("checkProjectBillableRateConflicts", () => callGeneratedRequest(checkProjectBillableRateConflicts, [
|
|
46999
|
-
client.httpClient,
|
|
47000
|
-
client.organizationId,
|
|
47001
|
-
client.workspaceIdNumber,
|
|
47002
|
-
data.project_id,
|
|
47003
|
-
data.payload ?? data.data ?? data,
|
|
47004
|
-
void 0
|
|
47005
|
-
]));
|
|
47006
|
-
}
|
|
47007
|
-
},
|
|
47008
|
-
{
|
|
47009
|
-
id: "focus.rates.billable-check-project-user-billable-rate-conflicts",
|
|
47010
|
-
family: "focus",
|
|
47011
|
-
resource: "rates",
|
|
47012
|
-
action: "billable-check-project-user-billable-rate-conflicts",
|
|
47013
|
-
title: "Billable Check Project User Billable Rate Conflicts Rates",
|
|
47014
|
-
description: "Billable Check Project User Billable Rate Conflicts Rates.",
|
|
47015
|
-
safety: "update",
|
|
47016
|
-
destructive: false,
|
|
47017
|
-
cli: {
|
|
47018
|
-
group: ["rates", "billable"],
|
|
47019
|
-
command: "check-project-user-billable-rate-conflicts",
|
|
47020
|
-
interactive: "default"
|
|
47021
|
-
},
|
|
47022
|
-
mcp: { entityTool: "rates" },
|
|
47023
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
47024
|
-
payload: rateSchedulePayloadSchema,
|
|
47025
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
47026
|
-
user_id: /* @__PURE__ */ number$2()
|
|
47027
|
-
}),
|
|
47028
|
-
execute: (input, { client }) => {
|
|
47029
|
-
const data = input;
|
|
47030
|
-
return client.runGeneratedRequest("checkProjectUserBillableRateConflicts", () => callGeneratedRequest(checkProjectUserBillableRateConflicts, [
|
|
47031
|
-
client.httpClient,
|
|
47032
|
-
client.organizationId,
|
|
47033
|
-
client.workspaceIdNumber,
|
|
47034
|
-
data.project_id,
|
|
47035
|
-
data.user_id,
|
|
47036
|
-
data.payload ?? data.data ?? data,
|
|
47037
|
-
void 0
|
|
47038
|
-
]));
|
|
47039
|
-
}
|
|
47040
|
-
},
|
|
47041
|
-
{
|
|
47042
|
-
id: "focus.rates.billable-check-workspace-billable-rate-conflicts",
|
|
47043
|
-
family: "focus",
|
|
47044
|
-
resource: "rates",
|
|
47045
|
-
action: "billable-check-workspace-billable-rate-conflicts",
|
|
47046
|
-
title: "Billable Check Workspace Billable Rate Conflicts Rates",
|
|
47047
|
-
description: "Billable Check Workspace Billable Rate Conflicts Rates.",
|
|
46482
|
+
resource: "rates",
|
|
46483
|
+
action: "billable-check-workspace-billable-rate-conflicts",
|
|
46484
|
+
title: "Billable Check Workspace Billable Rate Conflicts Rates",
|
|
46485
|
+
description: "Billable Check Workspace Billable Rate Conflicts Rates.",
|
|
47048
46486
|
safety: "update",
|
|
47049
46487
|
destructive: false,
|
|
47050
46488
|
cli: {
|
|
@@ -48551,51 +47989,51 @@ const generatedFocusOperations = [
|
|
|
48551
47989
|
mcp: { entityTool: "reports" },
|
|
48552
47990
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48553
47991
|
payload: /* @__PURE__ */ looseObject({
|
|
48554
|
-
aggregation_filters: /* @__PURE__ */
|
|
48555
|
-
aggregation: /* @__PURE__ */
|
|
47992
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
47993
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48556
47994
|
function: /* @__PURE__ */ string$1(),
|
|
48557
47995
|
property: /* @__PURE__ */ string$1()
|
|
48558
|
-
})
|
|
48559
|
-
operator: /* @__PURE__ */
|
|
48560
|
-
property: /* @__PURE__ */
|
|
48561
|
-
}))
|
|
48562
|
-
aggregations: /* @__PURE__ */
|
|
47996
|
+
}),
|
|
47997
|
+
operator: /* @__PURE__ */ string$1(),
|
|
47998
|
+
property: /* @__PURE__ */ string$1()
|
|
47999
|
+
})),
|
|
48000
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48563
48001
|
function: /* @__PURE__ */ string$1(),
|
|
48564
48002
|
property: /* @__PURE__ */ string$1()
|
|
48565
|
-
}))
|
|
48566
|
-
attributes: /* @__PURE__ */
|
|
48567
|
-
|
|
48568
|
-
|
|
48569
|
-
|
|
48570
|
-
|
|
48571
|
-
|
|
48572
|
-
|
|
48573
|
-
|
|
48574
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48575
|
-
property: /* @__PURE__ */ string$1(),
|
|
48576
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48577
|
-
}))),
|
|
48578
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48579
|
-
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({
|
|
48580
48012
|
property: /* @__PURE__ */ string$1(),
|
|
48581
|
-
|
|
48582
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48583
|
-
}))),
|
|
48584
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48585
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48586
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48013
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48587
48014
|
})),
|
|
48588
|
-
|
|
48589
|
-
|
|
48590
|
-
|
|
48591
|
-
|
|
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()
|
|
48592
48020
|
})),
|
|
48593
|
-
|
|
48594
|
-
|
|
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({
|
|
48595
48031
|
name: /* @__PURE__ */ string$1(),
|
|
48596
48032
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48597
|
-
}))
|
|
48598
|
-
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())
|
|
48599
48037
|
}),
|
|
48600
48038
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48601
48039
|
}),
|
|
@@ -48676,51 +48114,51 @@ const generatedFocusOperations = [
|
|
|
48676
48114
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48677
48115
|
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
48678
48116
|
payload: /* @__PURE__ */ looseObject({
|
|
48679
|
-
aggregation_filters: /* @__PURE__ */
|
|
48680
|
-
aggregation: /* @__PURE__ */
|
|
48117
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48118
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48681
48119
|
function: /* @__PURE__ */ string$1(),
|
|
48682
48120
|
property: /* @__PURE__ */ string$1()
|
|
48683
|
-
})
|
|
48684
|
-
operator: /* @__PURE__ */
|
|
48685
|
-
property: /* @__PURE__ */
|
|
48686
|
-
}))
|
|
48687
|
-
aggregations: /* @__PURE__ */
|
|
48121
|
+
}),
|
|
48122
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48123
|
+
property: /* @__PURE__ */ string$1()
|
|
48124
|
+
})),
|
|
48125
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48688
48126
|
function: /* @__PURE__ */ string$1(),
|
|
48689
48127
|
property: /* @__PURE__ */ string$1()
|
|
48690
|
-
}))
|
|
48691
|
-
attributes: /* @__PURE__ */
|
|
48692
|
-
|
|
48693
|
-
|
|
48694
|
-
|
|
48695
|
-
|
|
48696
|
-
|
|
48697
|
-
|
|
48698
|
-
|
|
48699
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48700
|
-
property: /* @__PURE__ */ string$1(),
|
|
48701
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48702
|
-
}))),
|
|
48703
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48704
|
-
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({
|
|
48705
48137
|
property: /* @__PURE__ */ string$1(),
|
|
48706
|
-
|
|
48707
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48708
|
-
}))),
|
|
48709
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48710
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48711
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48138
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48712
48139
|
})),
|
|
48713
|
-
|
|
48714
|
-
|
|
48715
|
-
|
|
48716
|
-
|
|
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()
|
|
48717
48145
|
})),
|
|
48718
|
-
|
|
48719
|
-
|
|
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({
|
|
48720
48156
|
name: /* @__PURE__ */ string$1(),
|
|
48721
48157
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48722
|
-
}))
|
|
48723
|
-
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())
|
|
48724
48162
|
}),
|
|
48725
48163
|
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48726
48164
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -48758,51 +48196,51 @@ const generatedFocusOperations = [
|
|
|
48758
48196
|
},
|
|
48759
48197
|
mcp: { entityTool: "reports" },
|
|
48760
48198
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
48761
|
-
aggregation_filters: /* @__PURE__ */
|
|
48762
|
-
aggregation: /* @__PURE__ */
|
|
48199
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48200
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48763
48201
|
function: /* @__PURE__ */ string$1(),
|
|
48764
48202
|
property: /* @__PURE__ */ string$1()
|
|
48765
|
-
})
|
|
48766
|
-
operator: /* @__PURE__ */
|
|
48767
|
-
property: /* @__PURE__ */
|
|
48768
|
-
}))
|
|
48769
|
-
aggregations: /* @__PURE__ */
|
|
48203
|
+
}),
|
|
48204
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48205
|
+
property: /* @__PURE__ */ string$1()
|
|
48206
|
+
})),
|
|
48207
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48770
48208
|
function: /* @__PURE__ */ string$1(),
|
|
48771
48209
|
property: /* @__PURE__ */ string$1()
|
|
48772
|
-
}))
|
|
48773
|
-
attributes: /* @__PURE__ */
|
|
48774
|
-
|
|
48775
|
-
|
|
48776
|
-
|
|
48777
|
-
|
|
48778
|
-
|
|
48779
|
-
|
|
48780
|
-
|
|
48781
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48782
|
-
property: /* @__PURE__ */ string$1(),
|
|
48783
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48784
|
-
}))),
|
|
48785
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48786
|
-
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({
|
|
48787
48219
|
property: /* @__PURE__ */ string$1(),
|
|
48788
|
-
|
|
48789
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48790
|
-
}))),
|
|
48791
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48792
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48793
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48220
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48794
48221
|
})),
|
|
48795
|
-
|
|
48796
|
-
|
|
48797
|
-
|
|
48798
|
-
|
|
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()
|
|
48799
48227
|
})),
|
|
48800
|
-
|
|
48801
|
-
|
|
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({
|
|
48802
48238
|
name: /* @__PURE__ */ string$1(),
|
|
48803
48239
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48804
|
-
}))
|
|
48805
|
-
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())
|
|
48806
48244
|
}) }),
|
|
48807
48245
|
execute: (input, { client }) => {
|
|
48808
48246
|
const data = input;
|
|
@@ -48831,51 +48269,51 @@ const generatedFocusOperations = [
|
|
|
48831
48269
|
mcp: { entityTool: "reports" },
|
|
48832
48270
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48833
48271
|
payload: /* @__PURE__ */ looseObject({
|
|
48834
|
-
aggregation_filters: /* @__PURE__ */
|
|
48835
|
-
aggregation: /* @__PURE__ */
|
|
48272
|
+
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48273
|
+
aggregation: /* @__PURE__ */ looseObject({
|
|
48836
48274
|
function: /* @__PURE__ */ string$1(),
|
|
48837
48275
|
property: /* @__PURE__ */ string$1()
|
|
48838
|
-
})
|
|
48839
|
-
operator: /* @__PURE__ */
|
|
48840
|
-
property: /* @__PURE__ */
|
|
48841
|
-
}))
|
|
48842
|
-
aggregations: /* @__PURE__ */
|
|
48276
|
+
}),
|
|
48277
|
+
operator: /* @__PURE__ */ string$1(),
|
|
48278
|
+
property: /* @__PURE__ */ string$1()
|
|
48279
|
+
})),
|
|
48280
|
+
aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48843
48281
|
function: /* @__PURE__ */ string$1(),
|
|
48844
48282
|
property: /* @__PURE__ */ string$1()
|
|
48845
|
-
}))
|
|
48846
|
-
attributes: /* @__PURE__ */
|
|
48847
|
-
|
|
48848
|
-
|
|
48849
|
-
|
|
48850
|
-
|
|
48851
|
-
|
|
48852
|
-
|
|
48853
|
-
|
|
48854
|
-
groupings: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48855
|
-
property: /* @__PURE__ */ string$1(),
|
|
48856
|
-
show_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
48857
|
-
}))),
|
|
48858
|
-
limit: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48859
|
-
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({
|
|
48860
48292
|
property: /* @__PURE__ */ string$1(),
|
|
48861
|
-
|
|
48862
|
-
nulls: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
48863
|
-
}))),
|
|
48864
|
-
pagination: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
48865
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48866
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48293
|
+
show_empty: /* @__PURE__ */ boolean$1()
|
|
48867
48294
|
})),
|
|
48868
|
-
|
|
48869
|
-
|
|
48870
|
-
|
|
48871
|
-
|
|
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()
|
|
48872
48300
|
})),
|
|
48873
|
-
|
|
48874
|
-
|
|
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({
|
|
48875
48311
|
name: /* @__PURE__ */ string$1(),
|
|
48876
48312
|
parameters: /* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())
|
|
48877
|
-
}))
|
|
48878
|
-
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())
|
|
48879
48317
|
}),
|
|
48880
48318
|
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48881
48319
|
"csv",
|
|
@@ -48932,7 +48370,7 @@ const generatedFocusOperations = [
|
|
|
48932
48370
|
cli: {
|
|
48933
48371
|
group: ["reportschedules"],
|
|
48934
48372
|
command: "upsert-saved-view-schedule",
|
|
48935
|
-
interactive: "
|
|
48373
|
+
interactive: "default"
|
|
48936
48374
|
},
|
|
48937
48375
|
mcp: { entityTool: "reportschedules" },
|
|
48938
48376
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48943,10 +48381,8 @@ const generatedFocusOperations = [
|
|
|
48943
48381
|
"weekly",
|
|
48944
48382
|
"monthly"
|
|
48945
48383
|
]),
|
|
48946
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48947
48384
|
time: /* @__PURE__ */ string$1(),
|
|
48948
48385
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48949
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48950
48386
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48951
48387
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48952
48388
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -49279,32 +48715,6 @@ const generatedFocusOperations = [
|
|
|
49279
48715
|
]));
|
|
49280
48716
|
}
|
|
49281
48717
|
},
|
|
49282
|
-
{
|
|
49283
|
-
id: "focus.sharedreports.get-shared-report-dates",
|
|
49284
|
-
family: "focus",
|
|
49285
|
-
resource: "sharedreports",
|
|
49286
|
-
action: "get-shared-report-dates",
|
|
49287
|
-
title: "Get Shared Report Dates Sharedreports",
|
|
49288
|
-
description: "Get Shared Report Dates Sharedreports.",
|
|
49289
|
-
safety: "read",
|
|
49290
|
-
destructive: false,
|
|
49291
|
-
cli: {
|
|
49292
|
-
group: ["sharedreports"],
|
|
49293
|
-
command: "get-shared-report-dates",
|
|
49294
|
-
interactive: "available"
|
|
49295
|
-
},
|
|
49296
|
-
mcp: { entityTool: "sharedreports" },
|
|
49297
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49298
|
-
execute: (input, { client }) => {
|
|
49299
|
-
const data = input;
|
|
49300
|
-
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
49301
|
-
client.httpClient,
|
|
49302
|
-
client.workspaceIdNumber,
|
|
49303
|
-
data.id,
|
|
49304
|
-
void 0
|
|
49305
|
-
]));
|
|
49306
|
-
}
|
|
49307
|
-
},
|
|
49308
48718
|
{
|
|
49309
48719
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
49310
48720
|
family: "focus",
|
|
@@ -49375,36 +48785,6 @@ const generatedFocusOperations = [
|
|
|
49375
48785
|
void 0
|
|
49376
48786
|
]))
|
|
49377
48787
|
},
|
|
49378
|
-
{
|
|
49379
|
-
id: "focus.sharedreports.mint-shared-report-link",
|
|
49380
|
-
family: "focus",
|
|
49381
|
-
resource: "sharedreports",
|
|
49382
|
-
action: "mint-shared-report-link",
|
|
49383
|
-
title: "Mint Shared Report Link Sharedreports",
|
|
49384
|
-
description: "Mint Shared Report Link Sharedreports.",
|
|
49385
|
-
safety: "update",
|
|
49386
|
-
destructive: false,
|
|
49387
|
-
cli: {
|
|
49388
|
-
group: ["sharedreports"],
|
|
49389
|
-
command: "mint-shared-report-link",
|
|
49390
|
-
interactive: "default"
|
|
49391
|
-
},
|
|
49392
|
-
mcp: { entityTool: "sharedreports" },
|
|
49393
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49394
|
-
id: /* @__PURE__ */ number$2(),
|
|
49395
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49396
|
-
}),
|
|
49397
|
-
execute: (input, { client }) => {
|
|
49398
|
-
const data = input;
|
|
49399
|
-
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
49400
|
-
client.httpClient,
|
|
49401
|
-
client.workspaceIdNumber,
|
|
49402
|
-
data.id,
|
|
49403
|
-
data.payload ?? data.data ?? data,
|
|
49404
|
-
void 0
|
|
49405
|
-
]));
|
|
49406
|
-
}
|
|
49407
|
-
},
|
|
49408
48788
|
{
|
|
49409
48789
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
49410
48790
|
family: "focus",
|
|
@@ -49436,129 +48816,43 @@ const generatedFocusOperations = [
|
|
|
49436
48816
|
}
|
|
49437
48817
|
},
|
|
49438
48818
|
{
|
|
49439
|
-
id: "focus.sharedreports.
|
|
48819
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49440
48820
|
family: "focus",
|
|
49441
48821
|
resource: "sharedreports",
|
|
49442
|
-
action: "
|
|
49443
|
-
title: "
|
|
49444
|
-
description: "
|
|
49445
|
-
safety: "
|
|
49446
|
-
destructive:
|
|
48822
|
+
action: "share-saved-view",
|
|
48823
|
+
title: "Share Saved View Sharedreports",
|
|
48824
|
+
description: "Share Saved View Sharedreports.",
|
|
48825
|
+
safety: "update",
|
|
48826
|
+
destructive: false,
|
|
49447
48827
|
cli: {
|
|
49448
48828
|
group: ["sharedreports"],
|
|
49449
|
-
command: "
|
|
49450
|
-
interactive: "
|
|
48829
|
+
command: "share-saved-view",
|
|
48830
|
+
interactive: "hidden"
|
|
49451
48831
|
},
|
|
49452
48832
|
mcp: { entityTool: "sharedreports" },
|
|
49453
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48833
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48834
|
+
id: /* @__PURE__ */ number$2(),
|
|
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
|
+
})
|
|
48842
|
+
}),
|
|
49454
48843
|
execute: (input, { client }) => {
|
|
49455
48844
|
const data = input;
|
|
49456
|
-
return client.runGeneratedRequest("
|
|
48845
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49457
48846
|
client.httpClient,
|
|
49458
48847
|
client.workspaceIdNumber,
|
|
49459
48848
|
data.id,
|
|
48849
|
+
data.payload ?? data.data ?? data,
|
|
49460
48850
|
void 0
|
|
49461
48851
|
]));
|
|
49462
48852
|
}
|
|
49463
48853
|
},
|
|
49464
48854
|
{
|
|
49465
|
-
id: "focus.sharedreports.
|
|
49466
|
-
family: "focus",
|
|
49467
|
-
resource: "sharedreports",
|
|
49468
|
-
action: "rotate-shared-report-link",
|
|
49469
|
-
title: "Rotate Shared Report Link Sharedreports",
|
|
49470
|
-
description: "Rotate Shared Report Link Sharedreports.",
|
|
49471
|
-
safety: "update",
|
|
49472
|
-
destructive: false,
|
|
49473
|
-
cli: {
|
|
49474
|
-
group: ["sharedreports"],
|
|
49475
|
-
command: "rotate-shared-report-link",
|
|
49476
|
-
interactive: "default"
|
|
49477
|
-
},
|
|
49478
|
-
mcp: { entityTool: "sharedreports" },
|
|
49479
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49480
|
-
id: /* @__PURE__ */ number$2(),
|
|
49481
|
-
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49482
|
-
}),
|
|
49483
|
-
execute: (input, { client }) => {
|
|
49484
|
-
const data = input;
|
|
49485
|
-
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
49486
|
-
client.httpClient,
|
|
49487
|
-
client.workspaceIdNumber,
|
|
49488
|
-
data.id,
|
|
49489
|
-
data.payload ?? data.data ?? data,
|
|
49490
|
-
void 0
|
|
49491
|
-
]));
|
|
49492
|
-
}
|
|
49493
|
-
},
|
|
49494
|
-
{
|
|
49495
|
-
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49496
|
-
family: "focus",
|
|
49497
|
-
resource: "sharedreports",
|
|
49498
|
-
action: "set-shared-report-dates-lock",
|
|
49499
|
-
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49500
|
-
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49501
|
-
safety: "update",
|
|
49502
|
-
destructive: false,
|
|
49503
|
-
cli: {
|
|
49504
|
-
group: ["sharedreports"],
|
|
49505
|
-
command: "set-shared-report-dates-lock",
|
|
49506
|
-
interactive: "default"
|
|
49507
|
-
},
|
|
49508
|
-
mcp: { entityTool: "sharedreports" },
|
|
49509
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49510
|
-
id: /* @__PURE__ */ number$2(),
|
|
49511
|
-
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49512
|
-
}),
|
|
49513
|
-
execute: (input, { client }) => {
|
|
49514
|
-
const data = input;
|
|
49515
|
-
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49516
|
-
client.httpClient,
|
|
49517
|
-
client.workspaceIdNumber,
|
|
49518
|
-
data.id,
|
|
49519
|
-
data.payload ?? data.data ?? data,
|
|
49520
|
-
void 0
|
|
49521
|
-
]));
|
|
49522
|
-
}
|
|
49523
|
-
},
|
|
49524
|
-
{
|
|
49525
|
-
id: "focus.sharedreports.share-saved-view",
|
|
49526
|
-
family: "focus",
|
|
49527
|
-
resource: "sharedreports",
|
|
49528
|
-
action: "share-saved-view",
|
|
49529
|
-
title: "Share Saved View Sharedreports",
|
|
49530
|
-
description: "Share Saved View Sharedreports.",
|
|
49531
|
-
safety: "update",
|
|
49532
|
-
destructive: false,
|
|
49533
|
-
cli: {
|
|
49534
|
-
group: ["sharedreports"],
|
|
49535
|
-
command: "share-saved-view",
|
|
49536
|
-
interactive: "hidden"
|
|
49537
|
-
},
|
|
49538
|
-
mcp: { entityTool: "sharedreports" },
|
|
49539
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
49540
|
-
id: /* @__PURE__ */ number$2(),
|
|
49541
|
-
payload: /* @__PURE__ */ looseObject({
|
|
49542
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
49543
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49544
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49545
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49546
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49547
|
-
})
|
|
49548
|
-
}),
|
|
49549
|
-
execute: (input, { client }) => {
|
|
49550
|
-
const data = input;
|
|
49551
|
-
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49552
|
-
client.httpClient,
|
|
49553
|
-
client.workspaceIdNumber,
|
|
49554
|
-
data.id,
|
|
49555
|
-
data.payload ?? data.data ?? data,
|
|
49556
|
-
void 0
|
|
49557
|
-
]));
|
|
49558
|
-
}
|
|
49559
|
-
},
|
|
49560
|
-
{
|
|
49561
|
-
id: "focus.sharedreports.share-saved-view-many",
|
|
48855
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49562
48856
|
family: "focus",
|
|
49563
48857
|
resource: "sharedreports",
|
|
49564
48858
|
action: "share-saved-view-many",
|
|
@@ -49595,32 +48889,6 @@ const generatedFocusOperations = [
|
|
|
49595
48889
|
]));
|
|
49596
48890
|
}
|
|
49597
48891
|
},
|
|
49598
|
-
{
|
|
49599
|
-
id: "focus.sharedreports.unshare-shared-report",
|
|
49600
|
-
family: "focus",
|
|
49601
|
-
resource: "sharedreports",
|
|
49602
|
-
action: "unshare-shared-report",
|
|
49603
|
-
title: "Unshare Shared Report Sharedreports",
|
|
49604
|
-
description: "Unshare Shared Report Sharedreports.",
|
|
49605
|
-
safety: "delete",
|
|
49606
|
-
destructive: true,
|
|
49607
|
-
cli: {
|
|
49608
|
-
group: ["sharedreports"],
|
|
49609
|
-
command: "unshare-shared-report",
|
|
49610
|
-
interactive: "default"
|
|
49611
|
-
},
|
|
49612
|
-
mcp: { entityTool: "sharedreports" },
|
|
49613
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49614
|
-
execute: (input, { client }) => {
|
|
49615
|
-
const data = input;
|
|
49616
|
-
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49617
|
-
client.httpClient,
|
|
49618
|
-
client.workspaceIdNumber,
|
|
49619
|
-
data.id,
|
|
49620
|
-
void 0
|
|
49621
|
-
]));
|
|
49622
|
-
}
|
|
49623
|
-
},
|
|
49624
48892
|
{
|
|
49625
48893
|
id: "focus.statuses.create-status",
|
|
49626
48894
|
family: "focus",
|
|
@@ -50663,37 +49931,6 @@ const generatedFocusOperations = [
|
|
|
50663
49931
|
return client.createTask(data);
|
|
50664
49932
|
}
|
|
50665
49933
|
},
|
|
50666
|
-
{
|
|
50667
|
-
id: "focus.tasks.create-recurring-occurrence",
|
|
50668
|
-
family: "focus",
|
|
50669
|
-
resource: "tasks",
|
|
50670
|
-
action: "create-recurring-occurrence",
|
|
50671
|
-
title: "Create Recurring Occurrence Tasks",
|
|
50672
|
-
description: "Create Recurring Occurrence Tasks.",
|
|
50673
|
-
safety: "create",
|
|
50674
|
-
destructive: false,
|
|
50675
|
-
cli: {
|
|
50676
|
-
group: ["tasks"],
|
|
50677
|
-
command: "create-recurring-occurrence",
|
|
50678
|
-
interactive: "default"
|
|
50679
|
-
},
|
|
50680
|
-
mcp: { entityTool: "tasks" },
|
|
50681
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50682
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50683
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50684
|
-
}),
|
|
50685
|
-
execute: (input, { client }) => {
|
|
50686
|
-
const data = input;
|
|
50687
|
-
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50688
|
-
client.httpClient,
|
|
50689
|
-
client.organizationId,
|
|
50690
|
-
client.workspaceIdNumber,
|
|
50691
|
-
data.task_id,
|
|
50692
|
-
data.return_occurrence,
|
|
50693
|
-
void 0
|
|
50694
|
-
]));
|
|
50695
|
-
}
|
|
50696
|
-
},
|
|
50697
49934
|
{
|
|
50698
49935
|
id: "focus.tasks.delete",
|
|
50699
49936
|
family: "focus",
|
|
@@ -50918,79 +50155,6 @@ const generatedFocusOperations = [
|
|
|
50918
50155
|
]));
|
|
50919
50156
|
}
|
|
50920
50157
|
},
|
|
50921
|
-
{
|
|
50922
|
-
id: "focus.tasks.get-picker-task-children",
|
|
50923
|
-
family: "focus",
|
|
50924
|
-
resource: "tasks",
|
|
50925
|
-
action: "get-picker-task-children",
|
|
50926
|
-
title: "Get Picker Task Children Tasks",
|
|
50927
|
-
description: "Get Picker Task Children Tasks.",
|
|
50928
|
-
safety: "read",
|
|
50929
|
-
destructive: false,
|
|
50930
|
-
cli: {
|
|
50931
|
-
group: ["tasks"],
|
|
50932
|
-
command: "get-picker-task-children",
|
|
50933
|
-
interactive: "hidden"
|
|
50934
|
-
},
|
|
50935
|
-
mcp: { entityTool: "tasks" },
|
|
50936
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50937
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50938
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50939
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50940
|
-
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50941
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50942
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50943
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50944
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50945
|
-
}),
|
|
50946
|
-
execute: (input, { client }) => {
|
|
50947
|
-
const data = input;
|
|
50948
|
-
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50949
|
-
client.httpClient,
|
|
50950
|
-
client.organizationId,
|
|
50951
|
-
client.workspaceIdNumber,
|
|
50952
|
-
data.parent_task_id,
|
|
50953
|
-
data,
|
|
50954
|
-
void 0
|
|
50955
|
-
]));
|
|
50956
|
-
}
|
|
50957
|
-
},
|
|
50958
|
-
{
|
|
50959
|
-
id: "focus.tasks.get-picker-task-groups",
|
|
50960
|
-
family: "focus",
|
|
50961
|
-
resource: "tasks",
|
|
50962
|
-
action: "get-picker-task-groups",
|
|
50963
|
-
title: "Get Picker Task Groups Tasks",
|
|
50964
|
-
description: "Get Picker Task Groups Tasks.",
|
|
50965
|
-
safety: "read",
|
|
50966
|
-
destructive: false,
|
|
50967
|
-
cli: {
|
|
50968
|
-
group: ["tasks"],
|
|
50969
|
-
command: "get-picker-task-groups",
|
|
50970
|
-
interactive: "hidden"
|
|
50971
|
-
},
|
|
50972
|
-
mcp: { entityTool: "tasks" },
|
|
50973
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50974
|
-
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50975
|
-
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50976
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50977
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50978
|
-
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50979
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50980
|
-
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50981
|
-
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50982
|
-
}),
|
|
50983
|
-
execute: (input, { client }) => {
|
|
50984
|
-
const data = input;
|
|
50985
|
-
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50986
|
-
client.httpClient,
|
|
50987
|
-
client.organizationId,
|
|
50988
|
-
client.workspaceIdNumber,
|
|
50989
|
-
data,
|
|
50990
|
-
void 0
|
|
50991
|
-
]));
|
|
50992
|
-
}
|
|
50993
|
-
},
|
|
50994
50158
|
{
|
|
50995
50159
|
id: "focus.tasks.get-recurring-instances",
|
|
50996
50160
|
family: "focus",
|
|
@@ -51014,13 +50178,9 @@ const generatedFocusOperations = [
|
|
|
51014
50178
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51015
50179
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51016
50180
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51017
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51018
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51019
50181
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51020
50182
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51021
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51022
50183
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51023
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51024
50184
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51025
50185
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51026
50186
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -51066,14 +50226,13 @@ const generatedFocusOperations = [
|
|
|
51066
50226
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51067
50227
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51068
50228
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50229
|
+
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51069
50230
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51070
50231
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51071
50232
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51072
50233
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51073
50234
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51074
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51075
50235
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51076
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51077
50236
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51078
50237
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51079
50238
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -51082,9 +50241,7 @@ const generatedFocusOperations = [
|
|
|
51082
50241
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51083
50242
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51084
50243
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51085
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51086
50244
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51087
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51088
50245
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51089
50246
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51090
50247
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51093,6 +50250,8 @@ const generatedFocusOperations = [
|
|
|
51093
50250
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51094
50251
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51095
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()),
|
|
51096
50255
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51097
50256
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51098
50257
|
}),
|
|
@@ -51220,10 +50379,8 @@ const generatedFocusOperations = [
|
|
|
51220
50379
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51221
50380
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51222
50381
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51223
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51224
50382
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51225
50383
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51226
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51227
50384
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51228
50385
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51229
50386
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51232,8 +50389,6 @@ const generatedFocusOperations = [
|
|
|
51232
50389
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51233
50390
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51234
50391
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51235
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51236
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51237
50392
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51238
50393
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51239
50394
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51242,8 +50397,7 @@ const generatedFocusOperations = [
|
|
|
51242
50397
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
51243
50398
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51244
50399
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51245
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51246
|
-
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50400
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51247
50401
|
}),
|
|
51248
50402
|
execute: (input, { client }) => {
|
|
51249
50403
|
const data = input;
|
|
@@ -51285,17 +50439,13 @@ const generatedFocusOperations = [
|
|
|
51285
50439
|
group_id: /* @__PURE__ */ number$2(),
|
|
51286
50440
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
51287
50441
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
51288
|
-
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
51289
50442
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
51290
50443
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51291
|
-
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51292
50444
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
51293
50445
|
name: /* @__PURE__ */ unknown$1(),
|
|
51294
50446
|
priority: /* @__PURE__ */ unknown$1(),
|
|
51295
50447
|
private_: /* @__PURE__ */ unknown$1(),
|
|
51296
50448
|
project_id: /* @__PURE__ */ number$2(),
|
|
51297
|
-
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51298
|
-
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
51299
50449
|
source: /* @__PURE__ */ unknown$1(),
|
|
51300
50450
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
51301
50451
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -51304,8 +50454,7 @@ const generatedFocusOperations = [
|
|
|
51304
50454
|
tag_id: /* @__PURE__ */ number$2(),
|
|
51305
50455
|
team_id: /* @__PURE__ */ number$2(),
|
|
51306
50456
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
51307
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51308
|
-
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50457
|
+
user_tag_id: /* @__PURE__ */ number$2()
|
|
51309
50458
|
}),
|
|
51310
50459
|
execute: (input, { client }) => {
|
|
51311
50460
|
const data = input;
|
|
@@ -51346,17 +50495,13 @@ const generatedFocusOperations = [
|
|
|
51346
50495
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51347
50496
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51348
50497
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51349
|
-
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51350
50498
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51351
50499
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51352
|
-
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51353
50500
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51354
50501
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51355
50502
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51356
50503
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51357
50504
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51358
|
-
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51359
|
-
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51360
50505
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51361
50506
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51362
50507
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -51365,290 +50510,752 @@ const generatedFocusOperations = [
|
|
|
51365
50510
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51366
50511
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51367
50512
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51368
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51369
|
-
|
|
50513
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50514
|
+
}),
|
|
50515
|
+
execute: (input, { client }) => {
|
|
50516
|
+
const data = input;
|
|
50517
|
+
return client.runGeneratedRequest("getUserTaskGroupsByTeam", () => callGeneratedRequest(getUserTaskGroupsByTeam, [
|
|
50518
|
+
client.httpClient,
|
|
50519
|
+
client.organizationId,
|
|
50520
|
+
client.workspaceIdNumber,
|
|
50521
|
+
data,
|
|
50522
|
+
void 0
|
|
50523
|
+
]));
|
|
50524
|
+
}
|
|
50525
|
+
},
|
|
50526
|
+
{
|
|
50527
|
+
id: "focus.tasks.groups-update",
|
|
50528
|
+
family: "focus",
|
|
50529
|
+
resource: "tasks",
|
|
50530
|
+
action: "groups-update",
|
|
50531
|
+
title: "Groups Update Tasks",
|
|
50532
|
+
description: "Groups Update Tasks.",
|
|
50533
|
+
safety: "update",
|
|
50534
|
+
destructive: false,
|
|
50535
|
+
cli: {
|
|
50536
|
+
group: ["tasks", "groups"],
|
|
50537
|
+
command: "update",
|
|
50538
|
+
interactive: "hidden"
|
|
50539
|
+
},
|
|
50540
|
+
mcp: { entityTool: "tasks" },
|
|
50541
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50542
|
+
group: /* @__PURE__ */ picklist$1([
|
|
50543
|
+
"projects",
|
|
50544
|
+
"users",
|
|
50545
|
+
"tags"
|
|
50546
|
+
]),
|
|
50547
|
+
payload: /* @__PURE__ */ unknown$1()
|
|
50548
|
+
}),
|
|
50549
|
+
execute: (input, { client }) => {
|
|
50550
|
+
const data = input;
|
|
50551
|
+
return client.runGeneratedRequest("updateTaskGroups", () => callGeneratedRequest(updateTaskGroups, [
|
|
50552
|
+
client.httpClient,
|
|
50553
|
+
client.organizationId,
|
|
50554
|
+
client.workspaceIdNumber,
|
|
50555
|
+
data.group,
|
|
50556
|
+
data.payload ?? data.data ?? data,
|
|
50557
|
+
void 0
|
|
50558
|
+
]));
|
|
50559
|
+
}
|
|
50560
|
+
},
|
|
50561
|
+
{
|
|
50562
|
+
id: "focus.tasks.list",
|
|
50563
|
+
family: "focus",
|
|
50564
|
+
resource: "tasks",
|
|
50565
|
+
action: "list",
|
|
50566
|
+
title: "List Tasks",
|
|
50567
|
+
description: "List Tasks.",
|
|
50568
|
+
safety: "read",
|
|
50569
|
+
destructive: false,
|
|
50570
|
+
cli: {
|
|
50571
|
+
group: ["tasks"],
|
|
50572
|
+
command: "list",
|
|
50573
|
+
interactive: "available"
|
|
50574
|
+
},
|
|
50575
|
+
mcp: { entityTool: "tasks" },
|
|
50576
|
+
inputSchema: taskListSchema,
|
|
50577
|
+
execute: (input, { client }) => {
|
|
50578
|
+
const data = input;
|
|
50579
|
+
return client.listTasks(data);
|
|
50580
|
+
}
|
|
50581
|
+
},
|
|
50582
|
+
{
|
|
50583
|
+
id: "focus.tasks.restore",
|
|
50584
|
+
family: "focus",
|
|
50585
|
+
resource: "tasks",
|
|
50586
|
+
action: "restore",
|
|
50587
|
+
title: "Restore Tasks",
|
|
50588
|
+
description: "Restore Tasks.",
|
|
50589
|
+
safety: "update",
|
|
50590
|
+
destructive: false,
|
|
50591
|
+
cli: {
|
|
50592
|
+
group: ["tasks"],
|
|
50593
|
+
command: "restore",
|
|
50594
|
+
interactive: "default"
|
|
50595
|
+
},
|
|
50596
|
+
mcp: { entityTool: "tasks" },
|
|
50597
|
+
inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
|
|
50598
|
+
execute: (input, { client }) => {
|
|
50599
|
+
const data = input;
|
|
50600
|
+
return client.runGeneratedRequest("restoreTask", () => callGeneratedRequest(restoreTask, [
|
|
50601
|
+
client.httpClient,
|
|
50602
|
+
client.organizationId,
|
|
50603
|
+
client.workspaceIdNumber,
|
|
50604
|
+
data.task_id,
|
|
50605
|
+
void 0
|
|
50606
|
+
]));
|
|
50607
|
+
}
|
|
50608
|
+
},
|
|
50609
|
+
{
|
|
50610
|
+
id: "focus.tasks.suggestions-get-project-suggestion-for-atask",
|
|
50611
|
+
family: "focus",
|
|
50612
|
+
resource: "tasks",
|
|
50613
|
+
action: "suggestions-get-project-suggestion-for-atask",
|
|
50614
|
+
title: "Suggestions Get Project Suggestion For Atask Tasks",
|
|
50615
|
+
description: "Suggestions Get Project Suggestion For Atask Tasks.",
|
|
50616
|
+
safety: "update",
|
|
50617
|
+
destructive: false,
|
|
50618
|
+
cli: {
|
|
50619
|
+
group: ["tasks", "suggestions"],
|
|
50620
|
+
command: "get-project-suggestion-for-atask",
|
|
50621
|
+
interactive: "default"
|
|
50622
|
+
},
|
|
50623
|
+
mcp: { entityTool: "tasks" },
|
|
50624
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }) }),
|
|
50625
|
+
execute: (input, { client }) => {
|
|
50626
|
+
const data = input;
|
|
50627
|
+
return client.runGeneratedRequest("getProjectSuggestionForATask", () => callGeneratedRequest(getProjectSuggestionForATask, [
|
|
50628
|
+
client.httpClient,
|
|
50629
|
+
client.organizationId,
|
|
50630
|
+
client.workspaceIdNumber,
|
|
50631
|
+
data.payload ?? data.data ?? data,
|
|
50632
|
+
void 0
|
|
50633
|
+
]));
|
|
50634
|
+
}
|
|
50635
|
+
},
|
|
50636
|
+
{
|
|
50637
|
+
id: "focus.tasks.suggestions-get-project-suggestions-for-multiple-tasks",
|
|
50638
|
+
family: "focus",
|
|
50639
|
+
resource: "tasks",
|
|
50640
|
+
action: "suggestions-get-project-suggestions-for-multiple-tasks",
|
|
50641
|
+
title: "Suggestions Get Project Suggestions For Multiple Tasks Tasks",
|
|
50642
|
+
description: "Suggestions Get Project Suggestions For Multiple Tasks Tasks.",
|
|
50643
|
+
safety: "update",
|
|
50644
|
+
destructive: false,
|
|
50645
|
+
cli: {
|
|
50646
|
+
group: ["tasks", "suggestions"],
|
|
50647
|
+
command: "get-project-suggestions-for-multiple-tasks",
|
|
50648
|
+
interactive: "default"
|
|
50649
|
+
},
|
|
50650
|
+
mcp: { entityTool: "tasks" },
|
|
50651
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
50652
|
+
execute: (input, { client }) => {
|
|
50653
|
+
const data = input;
|
|
50654
|
+
return client.runGeneratedRequest("getProjectSuggestionsForMultipleTasks", () => callGeneratedRequest(getProjectSuggestionsForMultipleTasks, [
|
|
50655
|
+
client.httpClient,
|
|
50656
|
+
client.organizationId,
|
|
50657
|
+
client.workspaceIdNumber,
|
|
50658
|
+
data.payload ?? data.data ?? data,
|
|
50659
|
+
void 0
|
|
50660
|
+
]));
|
|
50661
|
+
}
|
|
50662
|
+
},
|
|
50663
|
+
{
|
|
50664
|
+
id: "focus.tasks.unarchive",
|
|
50665
|
+
family: "focus",
|
|
50666
|
+
resource: "tasks",
|
|
50667
|
+
action: "unarchive",
|
|
50668
|
+
title: "Unarchive Tasks",
|
|
50669
|
+
description: "Unarchive Tasks.",
|
|
50670
|
+
safety: "update",
|
|
50671
|
+
destructive: false,
|
|
50672
|
+
cli: {
|
|
50673
|
+
group: ["tasks"],
|
|
50674
|
+
command: "unarchive",
|
|
50675
|
+
interactive: "default"
|
|
50676
|
+
},
|
|
50677
|
+
mcp: { entityTool: "tasks" },
|
|
50678
|
+
inputSchema: /* @__PURE__ */ looseObject({ task_id: /* @__PURE__ */ number$2() }),
|
|
50679
|
+
execute: (input, { client }) => {
|
|
50680
|
+
const data = input;
|
|
50681
|
+
return client.runGeneratedRequest("unarchiveTask", () => callGeneratedRequest(unarchiveTask, [
|
|
50682
|
+
client.httpClient,
|
|
50683
|
+
client.organizationId,
|
|
50684
|
+
client.workspaceIdNumber,
|
|
50685
|
+
data.task_id,
|
|
50686
|
+
void 0
|
|
50687
|
+
]));
|
|
50688
|
+
}
|
|
50689
|
+
},
|
|
50690
|
+
{
|
|
50691
|
+
id: "focus.tasks.update",
|
|
50692
|
+
family: "focus",
|
|
50693
|
+
resource: "tasks",
|
|
50694
|
+
action: "update",
|
|
50695
|
+
title: "Update Tasks",
|
|
50696
|
+
description: "Update Tasks.",
|
|
50697
|
+
safety: "update",
|
|
50698
|
+
destructive: false,
|
|
50699
|
+
cli: {
|
|
50700
|
+
group: ["tasks"],
|
|
50701
|
+
command: "update",
|
|
50702
|
+
interactive: "default"
|
|
50703
|
+
},
|
|
50704
|
+
mcp: { entityTool: "tasks" },
|
|
50705
|
+
inputSchema: taskUpdateSchema,
|
|
50706
|
+
execute: (input, { client }) => {
|
|
50707
|
+
const data = input;
|
|
50708
|
+
return client.updateTask(data.task_id, data.payload);
|
|
50709
|
+
}
|
|
50710
|
+
},
|
|
50711
|
+
{
|
|
50712
|
+
id: "focus.tasks.full-update",
|
|
50713
|
+
family: "focus",
|
|
50714
|
+
resource: "tasks",
|
|
50715
|
+
action: "full-update",
|
|
50716
|
+
title: "Full Update Tasks",
|
|
50717
|
+
description: "Full Update Tasks.",
|
|
50718
|
+
safety: "update",
|
|
50719
|
+
destructive: false,
|
|
50720
|
+
cli: {
|
|
50721
|
+
group: ["tasks"],
|
|
50722
|
+
command: "full-update",
|
|
50723
|
+
interactive: "hidden"
|
|
50724
|
+
},
|
|
50725
|
+
mcp: { entityTool: "tasks" },
|
|
50726
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50727
|
+
payload: /* @__PURE__ */ looseObject({
|
|
50728
|
+
name: /* @__PURE__ */ string$1(),
|
|
50729
|
+
status_id: /* @__PURE__ */ number$2(),
|
|
50730
|
+
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50731
|
+
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50732
|
+
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50733
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50734
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50735
|
+
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
50736
|
+
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50737
|
+
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
50738
|
+
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50739
|
+
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50740
|
+
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50741
|
+
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
50742
|
+
"none",
|
|
50743
|
+
"low",
|
|
50744
|
+
"medium",
|
|
50745
|
+
"high"
|
|
50746
|
+
])),
|
|
50747
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50748
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50749
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50750
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50751
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50752
|
+
}),
|
|
50753
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50754
|
+
}),
|
|
50755
|
+
execute: (input, { client }) => {
|
|
50756
|
+
const data = input;
|
|
50757
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50758
|
+
client.httpClient,
|
|
50759
|
+
client.organizationId,
|
|
50760
|
+
client.workspaceIdNumber,
|
|
50761
|
+
data.task_id,
|
|
50762
|
+
data.payload ?? data.data ?? data,
|
|
50763
|
+
void 0
|
|
50764
|
+
]));
|
|
50765
|
+
}
|
|
50766
|
+
},
|
|
50767
|
+
{
|
|
50768
|
+
id: "focus.tasks.update-calendar-range",
|
|
50769
|
+
family: "focus",
|
|
50770
|
+
resource: "tasks",
|
|
50771
|
+
action: "update-calendar-range",
|
|
50772
|
+
title: "Update Calendar Range Tasks",
|
|
50773
|
+
description: "Update Calendar Range Tasks.",
|
|
50774
|
+
safety: "update",
|
|
50775
|
+
destructive: false,
|
|
50776
|
+
cli: {
|
|
50777
|
+
group: ["tasks"],
|
|
50778
|
+
command: "update-calendar-range",
|
|
50779
|
+
interactive: "default"
|
|
50780
|
+
},
|
|
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())
|
|
51370
50880
|
}),
|
|
51371
50881
|
execute: (input, { client }) => {
|
|
51372
50882
|
const data = input;
|
|
51373
|
-
return client.runGeneratedRequest("
|
|
50883
|
+
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
51374
50884
|
client.httpClient,
|
|
51375
50885
|
client.organizationId,
|
|
51376
50886
|
client.workspaceIdNumber,
|
|
51377
|
-
data,
|
|
50887
|
+
data.ids,
|
|
50888
|
+
data.outbound_sync,
|
|
51378
50889
|
void 0
|
|
51379
50890
|
]));
|
|
51380
50891
|
}
|
|
51381
50892
|
},
|
|
51382
50893
|
{
|
|
51383
|
-
id: "focus.
|
|
50894
|
+
id: "focus.time-blocks.bulk-partial-update",
|
|
51384
50895
|
family: "focus",
|
|
51385
|
-
resource: "
|
|
51386
|
-
action: "
|
|
51387
|
-
title: "
|
|
51388
|
-
description: "
|
|
50896
|
+
resource: "time-blocks",
|
|
50897
|
+
action: "bulk-partial-update",
|
|
50898
|
+
title: "Bulk Partial Update Time Blocks",
|
|
50899
|
+
description: "Bulk Partial Update Time Blocks.",
|
|
51389
50900
|
safety: "update",
|
|
51390
50901
|
destructive: false,
|
|
51391
50902
|
cli: {
|
|
51392
|
-
group: ["
|
|
51393
|
-
command: "update",
|
|
50903
|
+
group: ["time-blocks", "bulk"],
|
|
50904
|
+
command: "partial-update",
|
|
51394
50905
|
interactive: "hidden"
|
|
51395
50906
|
},
|
|
51396
|
-
mcp: { entityTool: "
|
|
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" },
|
|
51397
50935
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51398
|
-
|
|
51399
|
-
|
|
51400
|
-
|
|
51401
|
-
|
|
51402
|
-
|
|
51403
|
-
|
|
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()
|
|
51404
50943
|
}),
|
|
51405
50944
|
execute: (input, { client }) => {
|
|
51406
50945
|
const data = input;
|
|
51407
|
-
return client.runGeneratedRequest("
|
|
50946
|
+
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
51408
50947
|
client.httpClient,
|
|
51409
50948
|
client.organizationId,
|
|
51410
50949
|
client.workspaceIdNumber,
|
|
51411
|
-
data.
|
|
50950
|
+
data.task_id,
|
|
51412
50951
|
data.payload ?? data.data ?? data,
|
|
51413
50952
|
void 0
|
|
51414
50953
|
]));
|
|
51415
50954
|
}
|
|
51416
50955
|
},
|
|
51417
50956
|
{
|
|
51418
|
-
id: "focus.
|
|
50957
|
+
id: "focus.time-blocks.delete",
|
|
51419
50958
|
family: "focus",
|
|
51420
|
-
resource: "
|
|
51421
|
-
action: "
|
|
51422
|
-
title: "
|
|
51423
|
-
description: "
|
|
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.",
|
|
51424
50996
|
safety: "read",
|
|
51425
50997
|
destructive: false,
|
|
51426
50998
|
cli: {
|
|
51427
|
-
group: ["
|
|
51428
|
-
command: "
|
|
50999
|
+
group: ["time-blocks"],
|
|
51000
|
+
command: "get",
|
|
51429
51001
|
interactive: "available"
|
|
51430
51002
|
},
|
|
51431
|
-
mcp: { entityTool: "
|
|
51432
|
-
inputSchema:
|
|
51003
|
+
mcp: { entityTool: "time-blocks" },
|
|
51004
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51005
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51006
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51007
|
+
}),
|
|
51433
51008
|
execute: (input, { client }) => {
|
|
51434
51009
|
const data = input;
|
|
51435
|
-
return client.
|
|
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
|
+
]));
|
|
51436
51018
|
}
|
|
51437
51019
|
},
|
|
51438
51020
|
{
|
|
51439
|
-
id: "focus.
|
|
51021
|
+
id: "focus.time-blocks.get-range",
|
|
51440
51022
|
family: "focus",
|
|
51441
|
-
resource: "
|
|
51442
|
-
action: "
|
|
51443
|
-
title: "
|
|
51444
|
-
description: "
|
|
51445
|
-
safety: "
|
|
51023
|
+
resource: "time-blocks",
|
|
51024
|
+
action: "get-range",
|
|
51025
|
+
title: "Get Range Time Blocks",
|
|
51026
|
+
description: "Get Range Time Blocks.",
|
|
51027
|
+
safety: "read",
|
|
51446
51028
|
destructive: false,
|
|
51447
51029
|
cli: {
|
|
51448
|
-
group: ["
|
|
51449
|
-
command: "
|
|
51450
|
-
interactive: "
|
|
51030
|
+
group: ["time-blocks"],
|
|
51031
|
+
command: "get-range",
|
|
51032
|
+
interactive: "hidden"
|
|
51451
51033
|
},
|
|
51452
|
-
mcp: { entityTool: "
|
|
51453
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51454
51045
|
execute: (input, { client }) => {
|
|
51455
51046
|
const data = input;
|
|
51456
|
-
return client.runGeneratedRequest("
|
|
51047
|
+
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
51457
51048
|
client.httpClient,
|
|
51458
51049
|
client.organizationId,
|
|
51459
51050
|
client.workspaceIdNumber,
|
|
51460
|
-
data
|
|
51051
|
+
data,
|
|
51461
51052
|
void 0
|
|
51462
51053
|
]));
|
|
51463
51054
|
}
|
|
51464
51055
|
},
|
|
51465
51056
|
{
|
|
51466
|
-
id: "focus.
|
|
51057
|
+
id: "focus.time-blocks.get-range-stream",
|
|
51467
51058
|
family: "focus",
|
|
51468
|
-
resource: "
|
|
51469
|
-
action: "
|
|
51470
|
-
title: "
|
|
51471
|
-
description: "
|
|
51472
|
-
safety: "
|
|
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",
|
|
51473
51064
|
destructive: false,
|
|
51474
51065
|
cli: {
|
|
51475
|
-
group: ["
|
|
51476
|
-
command: "get-
|
|
51477
|
-
interactive: "
|
|
51066
|
+
group: ["time-blocks"],
|
|
51067
|
+
command: "get-range-stream",
|
|
51068
|
+
interactive: "hidden"
|
|
51478
51069
|
},
|
|
51479
|
-
mcp: { entityTool: "
|
|
51480
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51481
51079
|
execute: (input, { client }) => {
|
|
51482
51080
|
const data = input;
|
|
51483
|
-
return client.runGeneratedRequest("
|
|
51081
|
+
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
51484
51082
|
client.httpClient,
|
|
51485
51083
|
client.organizationId,
|
|
51486
51084
|
client.workspaceIdNumber,
|
|
51487
|
-
data
|
|
51085
|
+
data,
|
|
51488
51086
|
void 0
|
|
51489
51087
|
]));
|
|
51490
51088
|
}
|
|
51491
51089
|
},
|
|
51492
51090
|
{
|
|
51493
|
-
id: "focus.
|
|
51091
|
+
id: "focus.time-blocks.get-task-time-blocks",
|
|
51494
51092
|
family: "focus",
|
|
51495
|
-
resource: "
|
|
51496
|
-
action: "
|
|
51497
|
-
title: "
|
|
51498
|
-
description: "
|
|
51499
|
-
safety: "
|
|
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",
|
|
51500
51098
|
destructive: false,
|
|
51501
51099
|
cli: {
|
|
51502
|
-
group: ["
|
|
51503
|
-
command: "get-
|
|
51504
|
-
interactive: "
|
|
51100
|
+
group: ["time-blocks"],
|
|
51101
|
+
command: "get-task-time-blocks",
|
|
51102
|
+
interactive: "hidden"
|
|
51505
51103
|
},
|
|
51506
|
-
mcp: { entityTool: "
|
|
51507
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51508
51112
|
execute: (input, { client }) => {
|
|
51509
51113
|
const data = input;
|
|
51510
|
-
return client.runGeneratedRequest("
|
|
51114
|
+
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51511
51115
|
client.httpClient,
|
|
51512
51116
|
client.organizationId,
|
|
51513
51117
|
client.workspaceIdNumber,
|
|
51514
|
-
data.
|
|
51118
|
+
data.task_id,
|
|
51119
|
+
data,
|
|
51515
51120
|
void 0
|
|
51516
51121
|
]));
|
|
51517
51122
|
}
|
|
51518
51123
|
},
|
|
51519
51124
|
{
|
|
51520
|
-
id: "focus.
|
|
51125
|
+
id: "focus.time-blocks.partial-update",
|
|
51521
51126
|
family: "focus",
|
|
51522
|
-
resource: "
|
|
51523
|
-
action: "
|
|
51524
|
-
title: "
|
|
51525
|
-
description: "
|
|
51127
|
+
resource: "time-blocks",
|
|
51128
|
+
action: "partial-update",
|
|
51129
|
+
title: "Partial Update Time Blocks",
|
|
51130
|
+
description: "Partial Update Time Blocks.",
|
|
51526
51131
|
safety: "update",
|
|
51527
51132
|
destructive: false,
|
|
51528
51133
|
cli: {
|
|
51529
|
-
group: ["
|
|
51530
|
-
command: "
|
|
51134
|
+
group: ["time-blocks"],
|
|
51135
|
+
command: "partial-update",
|
|
51531
51136
|
interactive: "default"
|
|
51532
51137
|
},
|
|
51533
|
-
mcp: { entityTool: "
|
|
51534
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
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
|
+
}),
|
|
51535
51150
|
execute: (input, { client }) => {
|
|
51536
51151
|
const data = input;
|
|
51537
|
-
return client.runGeneratedRequest("
|
|
51152
|
+
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51538
51153
|
client.httpClient,
|
|
51539
51154
|
client.organizationId,
|
|
51540
51155
|
client.workspaceIdNumber,
|
|
51541
51156
|
data.task_id,
|
|
51157
|
+
data.time_block_id,
|
|
51158
|
+
data.payload ?? data.data ?? data,
|
|
51542
51159
|
void 0
|
|
51543
51160
|
]));
|
|
51544
51161
|
}
|
|
51545
51162
|
},
|
|
51546
51163
|
{
|
|
51547
|
-
id: "focus.
|
|
51164
|
+
id: "focus.time-blocks.restore",
|
|
51548
51165
|
family: "focus",
|
|
51549
|
-
resource: "
|
|
51550
|
-
action: "
|
|
51551
|
-
title: "
|
|
51552
|
-
description: "
|
|
51166
|
+
resource: "time-blocks",
|
|
51167
|
+
action: "restore",
|
|
51168
|
+
title: "Restore Time Blocks",
|
|
51169
|
+
description: "Restore Time Blocks.",
|
|
51553
51170
|
safety: "update",
|
|
51554
51171
|
destructive: false,
|
|
51555
51172
|
cli: {
|
|
51556
|
-
group: ["
|
|
51557
|
-
command: "
|
|
51173
|
+
group: ["time-blocks"],
|
|
51174
|
+
command: "restore",
|
|
51558
51175
|
interactive: "default"
|
|
51559
51176
|
},
|
|
51560
|
-
mcp: { entityTool: "
|
|
51561
|
-
inputSchema:
|
|
51177
|
+
mcp: { entityTool: "time-blocks" },
|
|
51178
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51179
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51180
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51181
|
+
}),
|
|
51562
51182
|
execute: (input, { client }) => {
|
|
51563
51183
|
const data = input;
|
|
51564
|
-
return client.
|
|
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
|
+
]));
|
|
51565
51192
|
}
|
|
51566
51193
|
},
|
|
51567
51194
|
{
|
|
51568
|
-
id: "focus.
|
|
51195
|
+
id: "focus.time-blocks.unarchive",
|
|
51569
51196
|
family: "focus",
|
|
51570
|
-
resource: "
|
|
51571
|
-
action: "
|
|
51572
|
-
title: "
|
|
51573
|
-
description: "
|
|
51197
|
+
resource: "time-blocks",
|
|
51198
|
+
action: "unarchive",
|
|
51199
|
+
title: "Unarchive Time Blocks",
|
|
51200
|
+
description: "Unarchive Time Blocks.",
|
|
51574
51201
|
safety: "update",
|
|
51575
51202
|
destructive: false,
|
|
51576
51203
|
cli: {
|
|
51577
|
-
group: ["
|
|
51578
|
-
command: "
|
|
51579
|
-
interactive: "
|
|
51204
|
+
group: ["time-blocks"],
|
|
51205
|
+
command: "unarchive",
|
|
51206
|
+
interactive: "default"
|
|
51580
51207
|
},
|
|
51581
|
-
mcp: { entityTool: "
|
|
51208
|
+
mcp: { entityTool: "time-blocks" },
|
|
51582
51209
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51583
|
-
|
|
51584
|
-
|
|
51585
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
51586
|
-
auto_log_time: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51587
|
-
color: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51588
|
-
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51589
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51590
|
-
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
51591
|
-
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
51592
|
-
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51593
|
-
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51594
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51595
|
-
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51596
|
-
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51597
|
-
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
51598
|
-
"none",
|
|
51599
|
-
"low",
|
|
51600
|
-
"medium",
|
|
51601
|
-
"high"
|
|
51602
|
-
])),
|
|
51603
|
-
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51604
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51605
|
-
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51606
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51607
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51608
|
-
}),
|
|
51609
|
-
task_id: /* @__PURE__ */ number$2()
|
|
51210
|
+
task_id: /* @__PURE__ */ number$2(),
|
|
51211
|
+
time_block_id: /* @__PURE__ */ number$2()
|
|
51610
51212
|
}),
|
|
51611
51213
|
execute: (input, { client }) => {
|
|
51612
51214
|
const data = input;
|
|
51613
|
-
return client.runGeneratedRequest("
|
|
51215
|
+
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51614
51216
|
client.httpClient,
|
|
51615
51217
|
client.organizationId,
|
|
51616
51218
|
client.workspaceIdNumber,
|
|
51617
51219
|
data.task_id,
|
|
51618
|
-
data.
|
|
51220
|
+
data.time_block_id,
|
|
51619
51221
|
void 0
|
|
51620
51222
|
]));
|
|
51621
51223
|
}
|
|
51622
51224
|
},
|
|
51623
51225
|
{
|
|
51624
|
-
id: "focus.
|
|
51226
|
+
id: "focus.time-blocks.update",
|
|
51625
51227
|
family: "focus",
|
|
51626
|
-
resource: "
|
|
51627
|
-
action: "update
|
|
51628
|
-
title: "Update
|
|
51629
|
-
description: "Update
|
|
51228
|
+
resource: "time-blocks",
|
|
51229
|
+
action: "update",
|
|
51230
|
+
title: "Update Time Blocks",
|
|
51231
|
+
description: "Update Time Blocks.",
|
|
51630
51232
|
safety: "update",
|
|
51631
51233
|
destructive: false,
|
|
51632
51234
|
cli: {
|
|
51633
|
-
group: ["
|
|
51634
|
-
command: "update
|
|
51235
|
+
group: ["time-blocks"],
|
|
51236
|
+
command: "update",
|
|
51635
51237
|
interactive: "default"
|
|
51636
51238
|
},
|
|
51637
|
-
mcp: { entityTool: "
|
|
51239
|
+
mcp: { entityTool: "time-blocks" },
|
|
51638
51240
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51639
|
-
|
|
51640
|
-
|
|
51641
|
-
|
|
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()
|
|
51642
51249
|
}),
|
|
51643
51250
|
execute: (input, { client }) => {
|
|
51644
51251
|
const data = input;
|
|
51645
|
-
return client.runGeneratedRequest("
|
|
51252
|
+
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51646
51253
|
client.httpClient,
|
|
51647
51254
|
client.organizationId,
|
|
51648
51255
|
client.workspaceIdNumber,
|
|
51649
|
-
data.
|
|
51650
|
-
data.
|
|
51651
|
-
data.
|
|
51256
|
+
data.task_id,
|
|
51257
|
+
data.time_block_id,
|
|
51258
|
+
data.payload ?? data.data ?? data,
|
|
51652
51259
|
void 0
|
|
51653
51260
|
]));
|
|
51654
51261
|
}
|
|
@@ -51868,8 +51475,7 @@ const generatedFocusOperations = [
|
|
|
51868
51475
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51869
51476
|
"project",
|
|
51870
51477
|
"task",
|
|
51871
|
-
"description"
|
|
51872
|
-
"tags"
|
|
51478
|
+
"description"
|
|
51873
51479
|
]) })),
|
|
51874
51480
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51875
51481
|
}) }),
|
|
@@ -51899,7 +51505,6 @@ const generatedFocusOperations = [
|
|
|
51899
51505
|
},
|
|
51900
51506
|
mcp: { entityTool: "time-entries" },
|
|
51901
51507
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51902
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51903
51508
|
payload: /* @__PURE__ */ looseObject({
|
|
51904
51509
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51905
51510
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51910,12 +51515,11 @@ const generatedFocusOperations = [
|
|
|
51910
51515
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51911
51516
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51912
51517
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51913
|
-
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51914
51518
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51519
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51915
51520
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51916
51521
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51917
51522
|
}),
|
|
51918
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51919
51523
|
task_id: /* @__PURE__ */ number$2()
|
|
51920
51524
|
}),
|
|
51921
51525
|
execute: (input, { client }) => {
|
|
@@ -51926,8 +51530,6 @@ const generatedFocusOperations = [
|
|
|
51926
51530
|
client.workspaceIdNumber,
|
|
51927
51531
|
data.task_id,
|
|
51928
51532
|
data.payload ?? data.data ?? data,
|
|
51929
|
-
data.from_recurring_task_id,
|
|
51930
|
-
data.return_occurrence,
|
|
51931
51533
|
void 0
|
|
51932
51534
|
]));
|
|
51933
51535
|
}
|
|
@@ -51947,25 +51549,21 @@ const generatedFocusOperations = [
|
|
|
51947
51549
|
interactive: "default"
|
|
51948
51550
|
},
|
|
51949
51551
|
mcp: { entityTool: "time-entries" },
|
|
51950
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51951
|
-
|
|
51952
|
-
|
|
51953
|
-
|
|
51954
|
-
|
|
51955
|
-
|
|
51956
|
-
|
|
51957
|
-
|
|
51958
|
-
|
|
51959
|
-
|
|
51960
|
-
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
|
|
51965
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51966
|
-
}),
|
|
51967
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51968
|
-
}),
|
|
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
|
+
}) }),
|
|
51969
51567
|
execute: (input, { client }) => {
|
|
51970
51568
|
const data = input;
|
|
51971
51569
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51973,8 +51571,6 @@ const generatedFocusOperations = [
|
|
|
51973
51571
|
client.organizationId,
|
|
51974
51572
|
client.workspaceIdNumber,
|
|
51975
51573
|
data.payload ?? data.data ?? data,
|
|
51976
|
-
data.from_recurring_task_id,
|
|
51977
|
-
data.return_occurrence,
|
|
51978
51574
|
void 0
|
|
51979
51575
|
]));
|
|
51980
51576
|
}
|
|
@@ -51994,11 +51590,7 @@ const generatedFocusOperations = [
|
|
|
51994
51590
|
interactive: "default"
|
|
51995
51591
|
},
|
|
51996
51592
|
mcp: { entityTool: "time-entries" },
|
|
51997
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51998
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51999
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52000
|
-
time_entry_id: /* @__PURE__ */ number$2()
|
|
52001
|
-
}),
|
|
51593
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
52002
51594
|
execute: (input, { client }) => {
|
|
52003
51595
|
const data = input;
|
|
52004
51596
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -52006,8 +51598,6 @@ const generatedFocusOperations = [
|
|
|
52006
51598
|
client.organizationId,
|
|
52007
51599
|
client.workspaceIdNumber,
|
|
52008
51600
|
data.time_entry_id,
|
|
52009
|
-
data.from_recurring_task_id,
|
|
52010
|
-
data.return_occurrence,
|
|
52011
51601
|
void 0
|
|
52012
51602
|
]));
|
|
52013
51603
|
}
|
|
@@ -52088,7 +51678,6 @@ const generatedFocusOperations = [
|
|
|
52088
51678
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
52089
51679
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
52090
51680
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
52091
|
-
project_id: /* @__PURE__ */ number$2(),
|
|
52092
51681
|
status_id: /* @__PURE__ */ number$2(),
|
|
52093
51682
|
task_id: /* @__PURE__ */ number$2(),
|
|
52094
51683
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -52104,6 +51693,33 @@ const generatedFocusOperations = [
|
|
|
52104
51693
|
]));
|
|
52105
51694
|
}
|
|
52106
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
|
+
},
|
|
52107
51723
|
{
|
|
52108
51724
|
id: "focus.time-entries.get-task-time-entries",
|
|
52109
51725
|
family: "focus",
|
|
@@ -52125,6 +51741,7 @@ const generatedFocusOperations = [
|
|
|
52125
51741
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52126
51742
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
52127
51743
|
task_id: /* @__PURE__ */ number$2(),
|
|
51744
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52128
51745
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
52129
51746
|
}),
|
|
52130
51747
|
execute: (input, { client }) => {
|
|
@@ -52237,14 +51854,12 @@ const generatedFocusOperations = [
|
|
|
52237
51854
|
},
|
|
52238
51855
|
mcp: { entityTool: "time-entries" },
|
|
52239
51856
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52240
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52241
51857
|
payload: /* @__PURE__ */ looseObject({
|
|
52242
51858
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52243
51859
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52244
51860
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52245
51861
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
52246
51862
|
}),
|
|
52247
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52248
51863
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52249
51864
|
}),
|
|
52250
51865
|
execute: (input, { client }) => {
|
|
@@ -52255,8 +51870,6 @@ const generatedFocusOperations = [
|
|
|
52255
51870
|
client.workspaceIdNumber,
|
|
52256
51871
|
data.time_entry_id,
|
|
52257
51872
|
data.payload ?? data.data ?? data,
|
|
52258
|
-
data.from_recurring_task_id,
|
|
52259
|
-
data.return_occurrence,
|
|
52260
51873
|
void 0
|
|
52261
51874
|
]));
|
|
52262
51875
|
}
|
|
@@ -52514,7 +52127,6 @@ const generatedFocusOperations = [
|
|
|
52514
52127
|
},
|
|
52515
52128
|
mcp: { entityTool: "time-entries" },
|
|
52516
52129
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52517
|
-
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52518
52130
|
payload: /* @__PURE__ */ looseObject({
|
|
52519
52131
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52520
52132
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52524,9 +52136,9 @@ const generatedFocusOperations = [
|
|
|
52524
52136
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52525
52137
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52526
52138
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52139
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52527
52140
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52528
52141
|
}),
|
|
52529
|
-
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52530
52142
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52531
52143
|
}),
|
|
52532
52144
|
execute: (input, { client }) => {
|
|
@@ -52537,8 +52149,6 @@ const generatedFocusOperations = [
|
|
|
52537
52149
|
client.workspaceIdNumber,
|
|
52538
52150
|
data.time_entry_id,
|
|
52539
52151
|
data.payload ?? data.data ?? data,
|
|
52540
|
-
data.from_recurring_task_id,
|
|
52541
|
-
data.return_occurrence,
|
|
52542
52152
|
void 0
|
|
52543
52153
|
]));
|
|
52544
52154
|
}
|
|
@@ -52603,118 +52213,6 @@ const generatedFocusOperations = [
|
|
|
52603
52213
|
]));
|
|
52604
52214
|
}
|
|
52605
52215
|
},
|
|
52606
|
-
{
|
|
52607
|
-
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52608
|
-
family: "focus",
|
|
52609
|
-
resource: "time-off",
|
|
52610
|
-
action: "get-timeoff-balance-changes-for-user",
|
|
52611
|
-
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52612
|
-
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52613
|
-
safety: "read",
|
|
52614
|
-
destructive: false,
|
|
52615
|
-
cli: {
|
|
52616
|
-
group: ["time-off"],
|
|
52617
|
-
command: "get-timeoff-balance-changes-for-user",
|
|
52618
|
-
interactive: "hidden"
|
|
52619
|
-
},
|
|
52620
|
-
mcp: { entityTool: "time-off" },
|
|
52621
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52622
|
-
category_id: /* @__PURE__ */ number$2(),
|
|
52623
|
-
page: /* @__PURE__ */ number$2(),
|
|
52624
|
-
rows: /* @__PURE__ */ unknown$1(),
|
|
52625
|
-
user_id: /* @__PURE__ */ number$2(),
|
|
52626
|
-
year: /* @__PURE__ */ unknown$1()
|
|
52627
|
-
}),
|
|
52628
|
-
execute: (input, { client }) => {
|
|
52629
|
-
const data = input;
|
|
52630
|
-
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52631
|
-
client.httpClient,
|
|
52632
|
-
client.organizationId,
|
|
52633
|
-
data.user_id,
|
|
52634
|
-
data,
|
|
52635
|
-
void 0
|
|
52636
|
-
]));
|
|
52637
|
-
}
|
|
52638
|
-
},
|
|
52639
|
-
{
|
|
52640
|
-
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52641
|
-
family: "focus",
|
|
52642
|
-
resource: "time-off",
|
|
52643
|
-
action: "get-timeoff-balances-for-user",
|
|
52644
|
-
title: "Get Timeoff Balances For User Time Off",
|
|
52645
|
-
description: "Get Timeoff Balances For User Time Off.",
|
|
52646
|
-
safety: "read",
|
|
52647
|
-
destructive: false,
|
|
52648
|
-
cli: {
|
|
52649
|
-
group: ["time-off"],
|
|
52650
|
-
command: "get-timeoff-balances-for-user",
|
|
52651
|
-
interactive: "available"
|
|
52652
|
-
},
|
|
52653
|
-
mcp: { entityTool: "time-off" },
|
|
52654
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
52655
|
-
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52656
|
-
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52657
|
-
user_id: /* @__PURE__ */ number$2()
|
|
52658
|
-
}),
|
|
52659
|
-
execute: (input, { client }) => {
|
|
52660
|
-
const data = input;
|
|
52661
|
-
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52662
|
-
client.httpClient,
|
|
52663
|
-
client.organizationId,
|
|
52664
|
-
data.user_id,
|
|
52665
|
-
data,
|
|
52666
|
-
void 0
|
|
52667
|
-
]));
|
|
52668
|
-
}
|
|
52669
|
-
},
|
|
52670
|
-
{
|
|
52671
|
-
id: "focus.time-off.get-timeoff-categories",
|
|
52672
|
-
family: "focus",
|
|
52673
|
-
resource: "time-off",
|
|
52674
|
-
action: "get-timeoff-categories",
|
|
52675
|
-
title: "Get Timeoff Categories Time Off",
|
|
52676
|
-
description: "Get Timeoff Categories Time Off.",
|
|
52677
|
-
safety: "read",
|
|
52678
|
-
destructive: false,
|
|
52679
|
-
cli: {
|
|
52680
|
-
group: ["time-off"],
|
|
52681
|
-
command: "get-timeoff-categories",
|
|
52682
|
-
interactive: "hidden"
|
|
52683
|
-
},
|
|
52684
|
-
mcp: { entityTool: "time-off" },
|
|
52685
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52686
|
-
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52687
|
-
client.httpClient,
|
|
52688
|
-
client.organizationId,
|
|
52689
|
-
void 0
|
|
52690
|
-
]))
|
|
52691
|
-
},
|
|
52692
|
-
{
|
|
52693
|
-
id: "focus.time-off.get-timeoff-category",
|
|
52694
|
-
family: "focus",
|
|
52695
|
-
resource: "time-off",
|
|
52696
|
-
action: "get-timeoff-category",
|
|
52697
|
-
title: "Get Timeoff Category Time Off",
|
|
52698
|
-
description: "Get Timeoff Category Time Off.",
|
|
52699
|
-
safety: "read",
|
|
52700
|
-
destructive: false,
|
|
52701
|
-
cli: {
|
|
52702
|
-
group: ["time-off"],
|
|
52703
|
-
command: "get-timeoff-category",
|
|
52704
|
-
interactive: "available"
|
|
52705
|
-
},
|
|
52706
|
-
mcp: { entityTool: "time-off" },
|
|
52707
|
-
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52708
|
-
execute: (input, { client }) => {
|
|
52709
|
-
const data = input;
|
|
52710
|
-
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52711
|
-
client.httpClient,
|
|
52712
|
-
client.organizationId,
|
|
52713
|
-
data.category_id,
|
|
52714
|
-
void 0
|
|
52715
|
-
]));
|
|
52716
|
-
}
|
|
52717
|
-
},
|
|
52718
52216
|
{
|
|
52719
52217
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52720
52218
|
family: "focus",
|
|
@@ -53166,40 +52664,6 @@ const generatedFocusOperations = [
|
|
|
53166
52664
|
]));
|
|
53167
52665
|
}
|
|
53168
52666
|
},
|
|
53169
|
-
{
|
|
53170
|
-
id: "focus.timesheets.get-status-counts",
|
|
53171
|
-
family: "focus",
|
|
53172
|
-
resource: "timesheets",
|
|
53173
|
-
action: "get-status-counts",
|
|
53174
|
-
title: "Get Status Counts Timesheets",
|
|
53175
|
-
description: "Get Status Counts Timesheets.",
|
|
53176
|
-
safety: "read",
|
|
53177
|
-
destructive: false,
|
|
53178
|
-
cli: {
|
|
53179
|
-
group: ["timesheets"],
|
|
53180
|
-
command: "get-status-counts",
|
|
53181
|
-
interactive: "hidden"
|
|
53182
|
-
},
|
|
53183
|
-
mcp: { entityTool: "timesheets" },
|
|
53184
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
53185
|
-
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
53186
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
53187
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
53188
|
-
setup_id: /* @__PURE__ */ number$2(),
|
|
53189
|
-
team_ids: /* @__PURE__ */ unknown$1(),
|
|
53190
|
-
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
53191
|
-
}),
|
|
53192
|
-
execute: (input, { client }) => {
|
|
53193
|
-
const data = input;
|
|
53194
|
-
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
53195
|
-
client.httpClient,
|
|
53196
|
-
client.organizationId,
|
|
53197
|
-
client.workspaceIdNumber,
|
|
53198
|
-
data,
|
|
53199
|
-
void 0
|
|
53200
|
-
]));
|
|
53201
|
-
}
|
|
53202
|
-
},
|
|
53203
52667
|
{
|
|
53204
52668
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
53205
52669
|
family: "focus",
|
|
@@ -53749,33 +53213,6 @@ const generatedFocusOperations = [
|
|
|
53749
53213
|
]));
|
|
53750
53214
|
}
|
|
53751
53215
|
},
|
|
53752
|
-
{
|
|
53753
|
-
id: "focus.track-team-invites.post",
|
|
53754
|
-
family: "focus",
|
|
53755
|
-
resource: "track-team-invites",
|
|
53756
|
-
action: "post",
|
|
53757
|
-
title: "Post Track Team Invites",
|
|
53758
|
-
description: "Post Track Team Invites.",
|
|
53759
|
-
safety: "create",
|
|
53760
|
-
destructive: false,
|
|
53761
|
-
cli: {
|
|
53762
|
-
group: ["track-team-invites"],
|
|
53763
|
-
command: "post",
|
|
53764
|
-
interactive: "default"
|
|
53765
|
-
},
|
|
53766
|
-
mcp: { entityTool: "track-team-invites" },
|
|
53767
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53768
|
-
execute: (input, { client }) => {
|
|
53769
|
-
const data = input;
|
|
53770
|
-
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53771
|
-
client.httpClient,
|
|
53772
|
-
client.organizationId,
|
|
53773
|
-
client.workspaceIdNumber,
|
|
53774
|
-
data.payload ?? data.data ?? data,
|
|
53775
|
-
void 0
|
|
53776
|
-
]));
|
|
53777
|
-
}
|
|
53778
|
-
},
|
|
53779
53216
|
{
|
|
53780
53217
|
id: "focus.users.list",
|
|
53781
53218
|
family: "focus",
|
|
@@ -53797,56 +53234,6 @@ const generatedFocusOperations = [
|
|
|
53797
53234
|
return client.listOrgUsers(data);
|
|
53798
53235
|
}
|
|
53799
53236
|
},
|
|
53800
|
-
{
|
|
53801
|
-
id: "focus.users.settings-email-unsubscribe",
|
|
53802
|
-
family: "focus",
|
|
53803
|
-
resource: "users",
|
|
53804
|
-
action: "settings-email-unsubscribe",
|
|
53805
|
-
title: "Settings Email Unsubscribe Users",
|
|
53806
|
-
description: "Settings Email Unsubscribe Users.",
|
|
53807
|
-
safety: "update",
|
|
53808
|
-
destructive: false,
|
|
53809
|
-
cli: {
|
|
53810
|
-
group: ["users", "settings"],
|
|
53811
|
-
command: "email-unsubscribe",
|
|
53812
|
-
interactive: "default"
|
|
53813
|
-
},
|
|
53814
|
-
mcp: { entityTool: "users" },
|
|
53815
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53816
|
-
execute: (input, { client }) => {
|
|
53817
|
-
const data = input;
|
|
53818
|
-
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53819
|
-
client.httpClient,
|
|
53820
|
-
data.token,
|
|
53821
|
-
void 0
|
|
53822
|
-
]));
|
|
53823
|
-
}
|
|
53824
|
-
},
|
|
53825
|
-
{
|
|
53826
|
-
id: "focus.users.settings-email-unsubscribe-page",
|
|
53827
|
-
family: "focus",
|
|
53828
|
-
resource: "users",
|
|
53829
|
-
action: "settings-email-unsubscribe-page",
|
|
53830
|
-
title: "Settings Email Unsubscribe Page Users",
|
|
53831
|
-
description: "Settings Email Unsubscribe Page Users.",
|
|
53832
|
-
safety: "read",
|
|
53833
|
-
destructive: false,
|
|
53834
|
-
cli: {
|
|
53835
|
-
group: ["users", "settings"],
|
|
53836
|
-
command: "email-unsubscribe-page",
|
|
53837
|
-
interactive: "available"
|
|
53838
|
-
},
|
|
53839
|
-
mcp: { entityTool: "users" },
|
|
53840
|
-
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53841
|
-
execute: (input, { client }) => {
|
|
53842
|
-
const data = input;
|
|
53843
|
-
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53844
|
-
client.httpClient,
|
|
53845
|
-
data.token,
|
|
53846
|
-
void 0
|
|
53847
|
-
]));
|
|
53848
|
-
}
|
|
53849
|
-
},
|
|
53850
53237
|
{
|
|
53851
53238
|
id: "focus.users.settings-list",
|
|
53852
53239
|
family: "focus",
|
|
@@ -53908,9 +53295,6 @@ const generatedFocusOperations = [
|
|
|
53908
53295
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53909
53296
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53910
53297
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53911
|
-
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53912
|
-
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53913
|
-
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53914
53298
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53915
53299
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53916
53300
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54109,38 +53493,6 @@ const generatedFocusOperations = [
|
|
|
54109
53493
|
]));
|
|
54110
53494
|
}
|
|
54111
53495
|
},
|
|
54112
|
-
{
|
|
54113
|
-
id: "focus.working-hours.replace-working-hours-for-users",
|
|
54114
|
-
family: "focus",
|
|
54115
|
-
resource: "working-hours",
|
|
54116
|
-
action: "replace-working-hours-for-users",
|
|
54117
|
-
title: "Replace Working Hours For Users Working Hours",
|
|
54118
|
-
description: "Replace Working Hours For Users Working Hours.",
|
|
54119
|
-
safety: "update",
|
|
54120
|
-
destructive: false,
|
|
54121
|
-
cli: {
|
|
54122
|
-
group: ["working-hours"],
|
|
54123
|
-
command: "replace-working-hours-for-users",
|
|
54124
|
-
interactive: "default"
|
|
54125
|
-
},
|
|
54126
|
-
mcp: { entityTool: "working-hours" },
|
|
54127
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
54128
|
-
schedule: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
54129
|
-
working_hours: /* @__PURE__ */ number$2(),
|
|
54130
|
-
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
54131
|
-
})),
|
|
54132
|
-
user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2())
|
|
54133
|
-
}) }),
|
|
54134
|
-
execute: (input, { client }) => {
|
|
54135
|
-
const data = input;
|
|
54136
|
-
return client.runGeneratedRequest("replaceWorkingHoursForUsers", () => callGeneratedRequest(replaceWorkingHoursForUsers, [
|
|
54137
|
-
client.httpClient,
|
|
54138
|
-
client.organizationId,
|
|
54139
|
-
data.payload ?? data.data ?? data,
|
|
54140
|
-
void 0
|
|
54141
|
-
]));
|
|
54142
|
-
}
|
|
54143
|
-
},
|
|
54144
53496
|
{
|
|
54145
53497
|
id: "focus.working-hours.update-for-user",
|
|
54146
53498
|
family: "focus",
|
|
@@ -55485,7 +54837,7 @@ function registerWorkspaceTools(server) {
|
|
|
55485
54837
|
//#region src/package-version.ts
|
|
55486
54838
|
function mcpPackageVersion() {
|
|
55487
54839
|
try {
|
|
55488
|
-
return "1.11.
|
|
54840
|
+
return "1.11.94";
|
|
55489
54841
|
} catch {
|
|
55490
54842
|
return "unknown";
|
|
55491
54843
|
}
|
|
@@ -55660,7 +55012,7 @@ import_main.default.config({
|
|
|
55660
55012
|
quiet: true,
|
|
55661
55013
|
ignore: ["MISSING_ENV_FILE"]
|
|
55662
55014
|
});
|
|
55663
|
-
const packageVersion = "1.11.
|
|
55015
|
+
const packageVersion = "1.11.94";
|
|
55664
55016
|
function resolvePublicUrls() {
|
|
55665
55017
|
return {
|
|
55666
55018
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55725,4 +55077,4 @@ function bootstrapServer(options = {}) {
|
|
|
55725
55077
|
//#endregion
|
|
55726
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 };
|
|
55727
55079
|
|
|
55728
|
-
//# sourceMappingURL=src-
|
|
55080
|
+
//# sourceMappingURL=src-CTYPIYWG.js.map
|