@togglhq/mcp 1.11.4 → 1.11.6
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-Us_sEvGs.js → src-BkmLNZ2p.js} +418 -225
- package/package.json +1 -1
|
@@ -32773,10 +32773,6 @@ 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
|
-
/**
|
|
32780
32776
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
32781
32777
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
32782
32778
|
*/
|
|
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
|
|
|
32830
32826
|
};
|
|
32831
32827
|
}
|
|
32832
32828
|
/* @__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__ */
|
|
32849
32829
|
function isoTimestamp(message$1) {
|
|
32850
32830
|
return {
|
|
32851
32831
|
kind: "validation",
|
|
@@ -35429,14 +35409,14 @@ function isHttpError(error) {
|
|
|
35429
35409
|
}
|
|
35430
35410
|
//#endregion
|
|
35431
35411
|
//#region ../focus-queries/dist/utils/requests.ts
|
|
35432
|
-
const META_SYMBOL
|
|
35433
|
-
function withResponseMeta
|
|
35412
|
+
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
35413
|
+
function withResponseMeta(data, headers, status) {
|
|
35434
35414
|
if (!data) return data;
|
|
35435
35415
|
const meta = {
|
|
35436
35416
|
headers: Object.fromEntries(headers.entries()),
|
|
35437
35417
|
status
|
|
35438
35418
|
};
|
|
35439
|
-
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL
|
|
35419
|
+
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL, {
|
|
35440
35420
|
value: meta,
|
|
35441
35421
|
enumerable: false,
|
|
35442
35422
|
writable: false,
|
|
@@ -36552,6 +36532,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
36552
36532
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36553
36533
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36554
36534
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36535
|
+
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."))),
|
|
36555
36536
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36556
36537
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36557
36538
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -36613,6 +36594,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
36613
36594
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36614
36595
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
36615
36596
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36597
|
+
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."))),
|
|
36616
36598
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
36617
36599
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36618
36600
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -36795,6 +36777,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
36795
36777
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36796
36778
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36797
36779
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36780
|
+
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."))),
|
|
36781
|
+
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."))),
|
|
36798
36782
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36799
36783
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36800
36784
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -36959,6 +36943,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
36959
36943
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36960
36944
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
36961
36945
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36946
|
+
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."))),
|
|
36947
|
+
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."))),
|
|
36962
36948
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
36963
36949
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
36964
36950
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -37189,6 +37175,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
37189
37175
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37190
37176
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37191
37177
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37178
|
+
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."))),
|
|
37192
37179
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37193
37180
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37194
37181
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37225,6 +37212,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
37225
37212
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37226
37213
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37227
37214
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
37215
|
+
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."))),
|
|
37228
37216
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
37229
37217
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
37230
37218
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -37414,7 +37402,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37414
37402
|
include_calendar_integration
|
|
37415
37403
|
}, true)
|
|
37416
37404
|
});
|
|
37417
|
-
return withResponseMeta
|
|
37405
|
+
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
37418
37406
|
}
|
|
37419
37407
|
//#endregion
|
|
37420
37408
|
//#region ../focus-queries/out/utils/requests.js
|
|
@@ -37763,7 +37751,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37763
37751
|
}
|
|
37764
37752
|
//#endregion
|
|
37765
37753
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37766
|
-
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) {
|
|
37754
|
+
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37767
37755
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37768
37756
|
signal,
|
|
37769
37757
|
searchParams: buildSearchParams$2({
|
|
@@ -37814,7 +37802,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37814
37802
|
include_assignees,
|
|
37815
37803
|
include_parent_matches,
|
|
37816
37804
|
disable_aggregations,
|
|
37817
|
-
cf_filter
|
|
37805
|
+
cf_filter,
|
|
37806
|
+
recurring_occurrences_after,
|
|
37807
|
+
max_recurring_occurrences_after,
|
|
37808
|
+
recurring_task_read,
|
|
37809
|
+
include_projected_occurrences
|
|
37818
37810
|
})
|
|
37819
37811
|
}).json();
|
|
37820
37812
|
}
|
|
@@ -37889,16 +37881,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37889
37881
|
})
|
|
37890
37882
|
}).json();
|
|
37891
37883
|
}
|
|
37892
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37884
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37893
37885
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37894
37886
|
signal,
|
|
37895
37887
|
searchParams: buildSearchParams$2({
|
|
37896
37888
|
date_from,
|
|
37897
|
-
date_to
|
|
37889
|
+
date_to,
|
|
37890
|
+
skip_provider_refresh
|
|
37898
37891
|
})
|
|
37899
37892
|
}).json();
|
|
37900
37893
|
}
|
|
37901
|
-
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) {
|
|
37894
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37902
37895
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37903
37896
|
signal,
|
|
37904
37897
|
searchParams: buildSearchParams$2({
|
|
@@ -37914,11 +37907,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37914
37907
|
assignee_team_id,
|
|
37915
37908
|
assignee_user_id,
|
|
37916
37909
|
tag_id,
|
|
37917
|
-
include_assignees
|
|
37910
|
+
include_assignees,
|
|
37911
|
+
recurring_occurrences_after,
|
|
37912
|
+
max_recurring_occurrences_after,
|
|
37913
|
+
recurring_task_read,
|
|
37914
|
+
include_projected_occurrences
|
|
37918
37915
|
})
|
|
37919
37916
|
}).json();
|
|
37920
37917
|
}
|
|
37921
|
-
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) {
|
|
37918
|
+
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, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37922
37919
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37923
37920
|
signal,
|
|
37924
37921
|
searchParams: buildSearchParams$2({
|
|
@@ -37963,7 +37960,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37963
37960
|
recurring_task_ids,
|
|
37964
37961
|
client_id,
|
|
37965
37962
|
include_assignees,
|
|
37966
|
-
cf_filter
|
|
37963
|
+
cf_filter,
|
|
37964
|
+
recurring_occurrences_after,
|
|
37965
|
+
max_recurring_occurrences_after,
|
|
37966
|
+
recurring_task_read,
|
|
37967
|
+
include_projected_occurrences
|
|
37967
37968
|
})
|
|
37968
37969
|
}).json();
|
|
37969
37970
|
}
|
|
@@ -38018,6 +38019,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
38018
38019
|
})
|
|
38019
38020
|
}).json();
|
|
38020
38021
|
}
|
|
38022
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38023
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38024
|
+
signal,
|
|
38025
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38026
|
+
}).json();
|
|
38027
|
+
}
|
|
38021
38028
|
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) {
|
|
38022
38029
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
38023
38030
|
signal,
|
|
@@ -38154,16 +38161,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
38154
38161
|
})
|
|
38155
38162
|
}).json();
|
|
38156
38163
|
}
|
|
38157
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38164
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38158
38165
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
38159
38166
|
signal,
|
|
38160
|
-
json: data
|
|
38167
|
+
json: data,
|
|
38168
|
+
searchParams: buildSearchParams$2({
|
|
38169
|
+
from_recurring_task_id,
|
|
38170
|
+
return_occurrence
|
|
38171
|
+
})
|
|
38161
38172
|
}).json();
|
|
38162
38173
|
}
|
|
38163
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38174
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38164
38175
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38165
38176
|
signal,
|
|
38166
|
-
json: data
|
|
38177
|
+
json: data,
|
|
38178
|
+
searchParams: buildSearchParams$2({
|
|
38179
|
+
from_recurring_task_id,
|
|
38180
|
+
return_occurrence
|
|
38181
|
+
})
|
|
38167
38182
|
}).json();
|
|
38168
38183
|
}
|
|
38169
38184
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38214,7 +38229,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38214
38229
|
json: data
|
|
38215
38230
|
}).json();
|
|
38216
38231
|
}
|
|
38217
|
-
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) {
|
|
38232
|
+
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, project_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38218
38233
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38219
38234
|
signal,
|
|
38220
38235
|
searchParams: buildSearchParams$2({
|
|
@@ -38222,6 +38237,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38222
38237
|
date_to,
|
|
38223
38238
|
task_id,
|
|
38224
38239
|
status_id,
|
|
38240
|
+
project_id,
|
|
38225
38241
|
type,
|
|
38226
38242
|
order_by,
|
|
38227
38243
|
archived,
|
|
@@ -38245,19 +38261,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
38245
38261
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38246
38262
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38247
38263
|
}
|
|
38248
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38264
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38249
38265
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38250
38266
|
signal,
|
|
38251
|
-
json: data
|
|
38267
|
+
json: data,
|
|
38268
|
+
searchParams: buildSearchParams$2({
|
|
38269
|
+
from_recurring_task_id,
|
|
38270
|
+
return_occurrence
|
|
38271
|
+
})
|
|
38252
38272
|
}).json();
|
|
38253
38273
|
}
|
|
38254
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38255
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38274
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38275
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38276
|
+
signal,
|
|
38277
|
+
searchParams: buildSearchParams$2({
|
|
38278
|
+
from_recurring_task_id,
|
|
38279
|
+
return_occurrence
|
|
38280
|
+
})
|
|
38281
|
+
}).json();
|
|
38256
38282
|
}
|
|
38257
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38283
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38258
38284
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38259
38285
|
signal,
|
|
38260
|
-
json: data
|
|
38286
|
+
json: data,
|
|
38287
|
+
searchParams: buildSearchParams$2({
|
|
38288
|
+
from_recurring_task_id,
|
|
38289
|
+
return_occurrence
|
|
38290
|
+
})
|
|
38261
38291
|
}).json();
|
|
38262
38292
|
}
|
|
38263
38293
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38372,7 +38402,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38372
38402
|
]))
|
|
38373
38403
|
});
|
|
38374
38404
|
//#endregion
|
|
38375
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38405
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38376
38406
|
async function getInvitations(httpClient, signal) {
|
|
38377
38407
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38378
38408
|
}
|
|
@@ -38389,22 +38419,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38389
38419
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38390
38420
|
}
|
|
38391
38421
|
//#endregion
|
|
38392
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38393
|
-
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
38394
|
-
function withResponseMeta(data, headers, status) {
|
|
38395
|
-
if (!data) return data;
|
|
38396
|
-
const meta = {
|
|
38397
|
-
headers: Object.fromEntries(headers.entries()),
|
|
38398
|
-
status
|
|
38399
|
-
};
|
|
38400
|
-
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL, {
|
|
38401
|
-
value: meta,
|
|
38402
|
-
enumerable: false,
|
|
38403
|
-
writable: false,
|
|
38404
|
-
configurable: false
|
|
38405
|
-
});
|
|
38406
|
-
return data;
|
|
38407
|
-
}
|
|
38422
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38408
38423
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38409
38424
|
const searchParams = new URLSearchParams();
|
|
38410
38425
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38416,7 +38431,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38416
38431
|
return searchParams;
|
|
38417
38432
|
}
|
|
38418
38433
|
//#endregion
|
|
38419
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38434
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38420
38435
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38421
38436
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38422
38437
|
}
|
|
@@ -38430,7 +38445,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38430
38445
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38431
38446
|
}
|
|
38432
38447
|
//#endregion
|
|
38433
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38448
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38434
38449
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38435
38450
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38436
38451
|
}
|
|
@@ -38450,24 +38465,23 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38450
38465
|
});
|
|
38451
38466
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38452
38467
|
//#endregion
|
|
38453
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38454
|
-
async function
|
|
38455
|
-
|
|
38468
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38469
|
+
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38470
|
+
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38456
38471
|
signal,
|
|
38457
38472
|
searchParams: buildSearchParams({
|
|
38458
|
-
|
|
38459
|
-
|
|
38473
|
+
year,
|
|
38474
|
+
country
|
|
38460
38475
|
}, true)
|
|
38461
|
-
});
|
|
38462
|
-
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
38476
|
+
})).json();
|
|
38463
38477
|
}
|
|
38464
38478
|
//#endregion
|
|
38465
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38479
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38466
38480
|
async function getStatus(httpClient, signal) {
|
|
38467
38481
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38468
38482
|
}
|
|
38469
38483
|
//#endregion
|
|
38470
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38484
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38471
38485
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38472
38486
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38473
38487
|
signal,
|
|
@@ -38495,7 +38509,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38495
38509
|
return response.json();
|
|
38496
38510
|
}
|
|
38497
38511
|
//#endregion
|
|
38498
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38512
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.21_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_0f67cdfcb189f7cb2e84dcd5c08e0ebf/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38499
38513
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38500
38514
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38501
38515
|
}
|
|
@@ -38520,7 +38534,7 @@ async function deleteMyWorkingHours(httpClient, organization_id, data, signal) {
|
|
|
38520
38534
|
return response.json();
|
|
38521
38535
|
}
|
|
38522
38536
|
//#endregion
|
|
38523
|
-
//#region ../cli-core/build/focus-client-
|
|
38537
|
+
//#region ../cli-core/build/focus-client-C-6hmEQA.js
|
|
38524
38538
|
/** Request header the API reads to attribute traffic to MCP or CLI. */
|
|
38525
38539
|
const TOGGL_CLIENT_HEADER = "X-Toggl-Client";
|
|
38526
38540
|
/** Header the Focus API reads for analytics and presence `platform_origin`. */
|
|
@@ -39408,11 +39422,15 @@ var FocusClient = class {
|
|
|
39408
39422
|
return this.softValidateResponse("getSharedDataStatus", StatusOKSchema, response);
|
|
39409
39423
|
}
|
|
39410
39424
|
async listPublicHolidays(year, country) {
|
|
39411
|
-
const response = await this.run("listPublicHolidays", () =>
|
|
39412
|
-
|
|
39425
|
+
const response = await this.run("listPublicHolidays", () => holidayListDates(this.orgHttp, this.organizationIdNum, country === void 0 ? { year } : {
|
|
39426
|
+
year,
|
|
39427
|
+
country
|
|
39428
|
+
}));
|
|
39429
|
+
if (!response.ok) return response;
|
|
39430
|
+
return {
|
|
39413
39431
|
ok: true,
|
|
39414
|
-
data: response.data
|
|
39415
|
-
}
|
|
39432
|
+
data: response.data.dates
|
|
39433
|
+
};
|
|
39416
39434
|
}
|
|
39417
39435
|
async getMyWorkingHoursShared() {
|
|
39418
39436
|
const response = await this.run("getMyWorkingHoursShared", () => getMyWorkingHours(this.sharedDataHttp, this.organizationIdNum));
|
|
@@ -40589,7 +40607,7 @@ function createAuthenticatedClientProxy() {
|
|
|
40589
40607
|
} });
|
|
40590
40608
|
}
|
|
40591
40609
|
//#endregion
|
|
40592
|
-
//#region ../operations/build/validation-
|
|
40610
|
+
//#region ../operations/build/validation-CvDIY-Ah.js
|
|
40593
40611
|
const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
|
|
40594
40612
|
const perPageField = (max) => /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ integer(), /* @__PURE__ */ minValue$1(1), /* @__PURE__ */ maxValue$1(max), /* @__PURE__ */ description$1(`Results per page (1-${max})`)));
|
|
40595
40613
|
const perPageSchema = perPageField(100);
|
|
@@ -41937,7 +41955,7 @@ const orgSharedOperations = [
|
|
|
41937
41955
|
resource: "holidays",
|
|
41938
41956
|
action: "list",
|
|
41939
41957
|
title: "List public holidays",
|
|
41940
|
-
description: "List
|
|
41958
|
+
description: "List organization holiday calendar dates for a year (optional ISO country override).",
|
|
41941
41959
|
safety: "read",
|
|
41942
41960
|
destructive: false,
|
|
41943
41961
|
cli: {
|
|
@@ -42142,13 +42160,14 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
42142
42160
|
}
|
|
42143
42161
|
//#endregion
|
|
42144
42162
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
42145
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42163
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42146
42164
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
42147
42165
|
signal,
|
|
42148
42166
|
searchParams: buildSearchParams$2({
|
|
42149
42167
|
workspace_id,
|
|
42150
42168
|
entity_type,
|
|
42151
42169
|
entity_id,
|
|
42170
|
+
project_id,
|
|
42152
42171
|
action,
|
|
42153
42172
|
user_id,
|
|
42154
42173
|
page_size,
|
|
@@ -42157,12 +42176,13 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
42157
42176
|
})
|
|
42158
42177
|
}).json();
|
|
42159
42178
|
}
|
|
42160
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42179
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42161
42180
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
42162
42181
|
signal,
|
|
42163
42182
|
searchParams: buildSearchParams$2({
|
|
42164
42183
|
entity_type,
|
|
42165
42184
|
entity_id,
|
|
42185
|
+
project_id,
|
|
42166
42186
|
action,
|
|
42167
42187
|
user_id,
|
|
42168
42188
|
page_size,
|
|
@@ -42315,13 +42335,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42315
42335
|
}
|
|
42316
42336
|
//#endregion
|
|
42317
42337
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42318
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42338
|
+
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, { start_date, end_date, user_id, team_id, private: private_, task_source, unit, include_drafts, include_task_estimates }, signal) {
|
|
42319
42339
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42320
42340
|
signal,
|
|
42321
42341
|
searchParams: buildSearchParams$2({
|
|
42322
|
-
user_id,
|
|
42323
42342
|
start_date,
|
|
42324
42343
|
end_date,
|
|
42344
|
+
user_id,
|
|
42345
|
+
team_id,
|
|
42325
42346
|
private: private_,
|
|
42326
42347
|
task_source,
|
|
42327
42348
|
unit,
|
|
@@ -42381,6 +42402,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42381
42402
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42382
42403
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42383
42404
|
}
|
|
42405
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42406
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42407
|
+
}
|
|
42408
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42409
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42410
|
+
signal,
|
|
42411
|
+
json: data
|
|
42412
|
+
}).json();
|
|
42413
|
+
}
|
|
42384
42414
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42385
42415
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42386
42416
|
signal,
|
|
@@ -42688,9 +42718,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42688
42718
|
json: data
|
|
42689
42719
|
}).json();
|
|
42690
42720
|
}
|
|
42691
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42692
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42693
|
-
}
|
|
42694
42721
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42695
42722
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42696
42723
|
}
|
|
@@ -42727,7 +42754,7 @@ async function getProjectRatesSummary(httpClient, organization_id, workspace_id,
|
|
|
42727
42754
|
search
|
|
42728
42755
|
})
|
|
42729
42756
|
});
|
|
42730
|
-
return withResponseMeta
|
|
42757
|
+
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
42731
42758
|
}
|
|
42732
42759
|
async function getProjectRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
|
|
42733
42760
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/rates`, {
|
|
@@ -42994,9 +43021,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42994
43021
|
}
|
|
42995
43022
|
//#endregion
|
|
42996
43023
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42997
|
-
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) {
|
|
43024
|
+
async function getUserTaskGroupsByProject(httpClient, organization_id, workspace_id, { project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger }, signal) {
|
|
42998
43025
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42999
43026
|
signal,
|
|
43027
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43000
43028
|
searchParams: buildSearchParams$2({
|
|
43001
43029
|
project_id,
|
|
43002
43030
|
source,
|
|
@@ -43025,13 +43053,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
43025
43053
|
min_days,
|
|
43026
43054
|
include_drafts,
|
|
43027
43055
|
cf_filter,
|
|
43028
|
-
user_cf_filter
|
|
43056
|
+
user_cf_filter,
|
|
43057
|
+
recurring_occurrences_after,
|
|
43058
|
+
max_recurring_occurrences_after,
|
|
43059
|
+
recurring_task_read,
|
|
43060
|
+
include_projected_occurrences
|
|
43029
43061
|
})
|
|
43030
43062
|
}).json();
|
|
43031
43063
|
}
|
|
43032
|
-
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) {
|
|
43064
|
+
async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id, { team_id, project_id, source, priority, status_id, client_id, assignee_user_id, tag_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, xTimelineFetchTrigger } = {}, signal) {
|
|
43033
43065
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
43034
43066
|
signal,
|
|
43067
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43035
43068
|
searchParams: buildSearchParams$2({
|
|
43036
43069
|
team_id,
|
|
43037
43070
|
project_id,
|
|
@@ -43060,13 +43093,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
43060
43093
|
min_days,
|
|
43061
43094
|
include_drafts,
|
|
43062
43095
|
cf_filter,
|
|
43063
|
-
user_cf_filter
|
|
43096
|
+
user_cf_filter,
|
|
43097
|
+
recurring_occurrences_after,
|
|
43098
|
+
max_recurring_occurrences_after,
|
|
43099
|
+
recurring_task_read,
|
|
43100
|
+
include_projected_occurrences
|
|
43064
43101
|
})
|
|
43065
43102
|
}).json();
|
|
43066
43103
|
}
|
|
43067
|
-
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) {
|
|
43104
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
43068
43105
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
43069
43106
|
signal,
|
|
43107
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
43070
43108
|
searchParams: buildSearchParams$2({
|
|
43071
43109
|
source,
|
|
43072
43110
|
priority,
|
|
@@ -43096,6 +43134,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
43096
43134
|
include_drafts,
|
|
43097
43135
|
cf_filter,
|
|
43098
43136
|
user_cf_filter,
|
|
43137
|
+
recurring_occurrences_after,
|
|
43138
|
+
max_recurring_occurrences_after,
|
|
43139
|
+
recurring_task_read,
|
|
43140
|
+
include_projected_occurrences,
|
|
43099
43141
|
page,
|
|
43100
43142
|
per_page,
|
|
43101
43143
|
order_by
|
|
@@ -43574,10 +43616,11 @@ const generatedFocusOperations = [
|
|
|
43574
43616
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43575
43617
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43576
43618
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43577
|
-
from: /* @__PURE__ */
|
|
43619
|
+
from: /* @__PURE__ */ string$1(),
|
|
43578
43620
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43579
43621
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43580
|
-
|
|
43622
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43623
|
+
to: /* @__PURE__ */ string$1(),
|
|
43581
43624
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43582
43625
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43583
43626
|
}),
|
|
@@ -43614,10 +43657,11 @@ const generatedFocusOperations = [
|
|
|
43614
43657
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43615
43658
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43616
43659
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43617
|
-
from: /* @__PURE__ */
|
|
43660
|
+
from: /* @__PURE__ */ string$1(),
|
|
43618
43661
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43619
43662
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43620
|
-
|
|
43663
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43664
|
+
to: /* @__PURE__ */ string$1(),
|
|
43621
43665
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43622
43666
|
}),
|
|
43623
43667
|
execute: (input, { client }) => {
|
|
@@ -43650,12 +43694,13 @@ const generatedFocusOperations = [
|
|
|
43650
43694
|
mcp: { entityTool: "capacities" },
|
|
43651
43695
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43652
43696
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43653
|
-
group: /* @__PURE__ */
|
|
43697
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
43654
43698
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
43655
43699
|
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
43656
43700
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43657
43701
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43658
43702
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43703
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43659
43704
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43660
43705
|
user_id: /* @__PURE__ */ number$2()
|
|
43661
43706
|
}),
|
|
@@ -44096,6 +44141,33 @@ const generatedFocusOperations = [
|
|
|
44096
44141
|
]));
|
|
44097
44142
|
}
|
|
44098
44143
|
},
|
|
44144
|
+
{
|
|
44145
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
44146
|
+
family: "focus",
|
|
44147
|
+
resource: "custom-fields",
|
|
44148
|
+
action: "get-allowed-users",
|
|
44149
|
+
title: "Get Allowed Users Custom Fields",
|
|
44150
|
+
description: "Get Allowed Users Custom Fields.",
|
|
44151
|
+
safety: "read",
|
|
44152
|
+
destructive: false,
|
|
44153
|
+
cli: {
|
|
44154
|
+
group: ["custom-fields"],
|
|
44155
|
+
command: "get-allowed-users",
|
|
44156
|
+
interactive: "available"
|
|
44157
|
+
},
|
|
44158
|
+
mcp: { entityTool: "custom-fields" },
|
|
44159
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
44160
|
+
execute: (input, { client }) => {
|
|
44161
|
+
const data = input;
|
|
44162
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
44163
|
+
client.httpClient,
|
|
44164
|
+
client.organizationId,
|
|
44165
|
+
client.workspaceIdNumber,
|
|
44166
|
+
data.custom_field_id,
|
|
44167
|
+
void 0
|
|
44168
|
+
]));
|
|
44169
|
+
}
|
|
44170
|
+
},
|
|
44099
44171
|
{
|
|
44100
44172
|
id: "focus.custom-fields.list",
|
|
44101
44173
|
family: "focus",
|
|
@@ -44265,6 +44337,37 @@ const generatedFocusOperations = [
|
|
|
44265
44337
|
]));
|
|
44266
44338
|
}
|
|
44267
44339
|
},
|
|
44340
|
+
{
|
|
44341
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44342
|
+
family: "focus",
|
|
44343
|
+
resource: "custom-fields",
|
|
44344
|
+
action: "replace-custom-field-allowed-users",
|
|
44345
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44346
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44347
|
+
safety: "update",
|
|
44348
|
+
destructive: false,
|
|
44349
|
+
cli: {
|
|
44350
|
+
group: ["custom-fields"],
|
|
44351
|
+
command: "replace-custom-field-allowed-users",
|
|
44352
|
+
interactive: "default"
|
|
44353
|
+
},
|
|
44354
|
+
mcp: { entityTool: "custom-fields" },
|
|
44355
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44356
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44357
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44358
|
+
}),
|
|
44359
|
+
execute: (input, { client }) => {
|
|
44360
|
+
const data = input;
|
|
44361
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44362
|
+
client.httpClient,
|
|
44363
|
+
client.organizationId,
|
|
44364
|
+
client.workspaceIdNumber,
|
|
44365
|
+
data.custom_field_id,
|
|
44366
|
+
data.payload ?? data.data ?? data,
|
|
44367
|
+
void 0
|
|
44368
|
+
]));
|
|
44369
|
+
}
|
|
44370
|
+
},
|
|
44268
44371
|
{
|
|
44269
44372
|
id: "focus.custom-fields.update",
|
|
44270
44373
|
family: "focus",
|
|
@@ -44411,13 +44514,7 @@ const generatedFocusOperations = [
|
|
|
44411
44514
|
},
|
|
44412
44515
|
mcp: { entityTool: "goals" },
|
|
44413
44516
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44414
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44415
44517
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44416
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44417
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44418
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44419
|
-
name: /* @__PURE__ */ string$1(),
|
|
44420
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44421
44518
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44422
44519
|
"daily",
|
|
44423
44520
|
"weekly",
|
|
@@ -44425,12 +44522,18 @@ const generatedFocusOperations = [
|
|
|
44425
44522
|
"monthly"
|
|
44426
44523
|
]),
|
|
44427
44524
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44428
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44429
44525
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44430
|
-
|
|
44431
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44526
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44432
44527
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44433
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44528
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44529
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44530
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44531
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44532
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44533
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44534
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44535
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44536
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44434
44537
|
}) }),
|
|
44435
44538
|
execute: (input, { client }) => {
|
|
44436
44539
|
const data = input;
|
|
@@ -44536,13 +44639,6 @@ const generatedFocusOperations = [
|
|
|
44536
44639
|
},
|
|
44537
44640
|
mcp: { entityTool: "goals" },
|
|
44538
44641
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44539
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44540
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44541
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44542
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44543
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44544
|
-
name: /* @__PURE__ */ string$1(),
|
|
44545
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44546
44642
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44547
44643
|
"daily",
|
|
44548
44644
|
"weekly",
|
|
@@ -44550,12 +44646,19 @@ const generatedFocusOperations = [
|
|
|
44550
44646
|
"monthly"
|
|
44551
44647
|
]),
|
|
44552
44648
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44553
|
-
|
|
44554
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44555
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44556
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44649
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44557
44650
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44558
|
-
|
|
44651
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44652
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44653
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44654
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44655
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44656
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44657
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44658
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44659
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44660
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44661
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44559
44662
|
}) }),
|
|
44560
44663
|
execute: (input, { client }) => {
|
|
44561
44664
|
const data = input;
|
|
@@ -45311,7 +45414,7 @@ const generatedFocusOperations = [
|
|
|
45311
45414
|
},
|
|
45312
45415
|
mcp: { entityTool: "projects" },
|
|
45313
45416
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45314
|
-
attachment_id: /* @__PURE__ */
|
|
45417
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
45315
45418
|
payload: /* @__PURE__ */ looseObject({
|
|
45316
45419
|
display_order: /* @__PURE__ */ number$2(),
|
|
45317
45420
|
name: /* @__PURE__ */ string$1()
|
|
@@ -45522,9 +45625,17 @@ const generatedFocusOperations = [
|
|
|
45522
45625
|
mcp: { entityTool: "projects" },
|
|
45523
45626
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45524
45627
|
payload: /* @__PURE__ */ looseObject({
|
|
45628
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45629
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45525
45630
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45526
45631
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45527
45632
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45633
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45634
|
+
"expire",
|
|
45635
|
+
"carry_all",
|
|
45636
|
+
"carry_over"
|
|
45637
|
+
])),
|
|
45638
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45528
45639
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45529
45640
|
}),
|
|
45530
45641
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45965,7 +46076,7 @@ const generatedFocusOperations = [
|
|
|
45965
46076
|
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45966
46077
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
45967
46078
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45968
|
-
group: /* @__PURE__ */
|
|
46079
|
+
group: /* @__PURE__ */ string$1(),
|
|
45969
46080
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45970
46081
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45971
46082
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -46070,29 +46181,6 @@ const generatedFocusOperations = [
|
|
|
46070
46181
|
]));
|
|
46071
46182
|
}
|
|
46072
46183
|
},
|
|
46073
|
-
{
|
|
46074
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
46075
|
-
family: "focus",
|
|
46076
|
-
resource: "projects",
|
|
46077
|
-
action: "margin-targets-clear-workspace",
|
|
46078
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
46079
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
46080
|
-
safety: "delete",
|
|
46081
|
-
destructive: true,
|
|
46082
|
-
cli: {
|
|
46083
|
-
group: ["projects", "margin-targets"],
|
|
46084
|
-
command: "clear-workspace",
|
|
46085
|
-
interactive: "default"
|
|
46086
|
-
},
|
|
46087
|
-
mcp: { entityTool: "projects" },
|
|
46088
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
46089
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
46090
|
-
client.httpClient,
|
|
46091
|
-
client.organizationId,
|
|
46092
|
-
client.workspaceIdNumber,
|
|
46093
|
-
void 0
|
|
46094
|
-
]))
|
|
46095
|
-
},
|
|
46096
46184
|
{
|
|
46097
46185
|
id: "focus.projects.margin-targets-get",
|
|
46098
46186
|
family: "focus",
|
|
@@ -46698,13 +46786,13 @@ const generatedFocusOperations = [
|
|
|
46698
46786
|
cli: {
|
|
46699
46787
|
group: ["rates", "billable"],
|
|
46700
46788
|
command: "delete-project-billable-rate-range",
|
|
46701
|
-
interactive: "
|
|
46789
|
+
interactive: "default"
|
|
46702
46790
|
},
|
|
46703
46791
|
mcp: { entityTool: "rates" },
|
|
46704
46792
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46705
|
-
from: /* @__PURE__ */
|
|
46793
|
+
from: /* @__PURE__ */ string$1(),
|
|
46706
46794
|
project_id: /* @__PURE__ */ number$2(),
|
|
46707
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
46795
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46708
46796
|
}),
|
|
46709
46797
|
execute: (input, { client }) => {
|
|
46710
46798
|
const data = input;
|
|
@@ -46731,13 +46819,13 @@ const generatedFocusOperations = [
|
|
|
46731
46819
|
cli: {
|
|
46732
46820
|
group: ["rates", "billable"],
|
|
46733
46821
|
command: "delete-project-user-billable-rate-range",
|
|
46734
|
-
interactive: "
|
|
46822
|
+
interactive: "default"
|
|
46735
46823
|
},
|
|
46736
46824
|
mcp: { entityTool: "rates" },
|
|
46737
46825
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46738
|
-
from: /* @__PURE__ */
|
|
46826
|
+
from: /* @__PURE__ */ string$1(),
|
|
46739
46827
|
project_id: /* @__PURE__ */ number$2(),
|
|
46740
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
46828
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46741
46829
|
user_id: /* @__PURE__ */ number$2()
|
|
46742
46830
|
}),
|
|
46743
46831
|
execute: (input, { client }) => {
|
|
@@ -46766,12 +46854,12 @@ const generatedFocusOperations = [
|
|
|
46766
46854
|
cli: {
|
|
46767
46855
|
group: ["rates", "billable"],
|
|
46768
46856
|
command: "delete-workspace-billable-rate-range",
|
|
46769
|
-
interactive: "
|
|
46857
|
+
interactive: "default"
|
|
46770
46858
|
},
|
|
46771
46859
|
mcp: { entityTool: "rates" },
|
|
46772
46860
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46773
|
-
from: /* @__PURE__ */
|
|
46774
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
46861
|
+
from: /* @__PURE__ */ string$1(),
|
|
46862
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
46775
46863
|
}),
|
|
46776
46864
|
execute: (input, { client }) => {
|
|
46777
46865
|
const data = input;
|
|
@@ -46797,12 +46885,12 @@ const generatedFocusOperations = [
|
|
|
46797
46885
|
cli: {
|
|
46798
46886
|
group: ["rates", "billable"],
|
|
46799
46887
|
command: "delete-workspace-user-billable-rate-range",
|
|
46800
|
-
interactive: "
|
|
46888
|
+
interactive: "default"
|
|
46801
46889
|
},
|
|
46802
46890
|
mcp: { entityTool: "rates" },
|
|
46803
46891
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
46804
|
-
from: /* @__PURE__ */
|
|
46805
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
46892
|
+
from: /* @__PURE__ */ string$1(),
|
|
46893
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
46806
46894
|
user_id: /* @__PURE__ */ number$2()
|
|
46807
46895
|
}),
|
|
46808
46896
|
execute: (input, { client }) => {
|
|
@@ -47233,13 +47321,13 @@ const generatedFocusOperations = [
|
|
|
47233
47321
|
cli: {
|
|
47234
47322
|
group: ["rates"],
|
|
47235
47323
|
command: "delete-project",
|
|
47236
|
-
interactive: "
|
|
47324
|
+
interactive: "default"
|
|
47237
47325
|
},
|
|
47238
47326
|
mcp: { entityTool: "rates" },
|
|
47239
47327
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47240
|
-
from: /* @__PURE__ */
|
|
47328
|
+
from: /* @__PURE__ */ string$1(),
|
|
47241
47329
|
project_id: /* @__PURE__ */ number$2(),
|
|
47242
|
-
to: /* @__PURE__ */
|
|
47330
|
+
to: /* @__PURE__ */ string$1()
|
|
47243
47331
|
}),
|
|
47244
47332
|
execute: (input, { client }) => {
|
|
47245
47333
|
const data = input;
|
|
@@ -47478,13 +47566,13 @@ const generatedFocusOperations = [
|
|
|
47478
47566
|
cli: {
|
|
47479
47567
|
group: ["rates", "labor"],
|
|
47480
47568
|
command: "delete-project-labor-cost-rate-range",
|
|
47481
|
-
interactive: "
|
|
47569
|
+
interactive: "default"
|
|
47482
47570
|
},
|
|
47483
47571
|
mcp: { entityTool: "rates" },
|
|
47484
47572
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47485
|
-
from: /* @__PURE__ */
|
|
47573
|
+
from: /* @__PURE__ */ string$1(),
|
|
47486
47574
|
project_id: /* @__PURE__ */ number$2(),
|
|
47487
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
47575
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
47488
47576
|
}),
|
|
47489
47577
|
execute: (input, { client }) => {
|
|
47490
47578
|
const data = input;
|
|
@@ -47511,13 +47599,13 @@ const generatedFocusOperations = [
|
|
|
47511
47599
|
cli: {
|
|
47512
47600
|
group: ["rates", "labor"],
|
|
47513
47601
|
command: "delete-project-user-labor-cost-rate-range",
|
|
47514
|
-
interactive: "
|
|
47602
|
+
interactive: "default"
|
|
47515
47603
|
},
|
|
47516
47604
|
mcp: { entityTool: "rates" },
|
|
47517
47605
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47518
|
-
from: /* @__PURE__ */
|
|
47606
|
+
from: /* @__PURE__ */ string$1(),
|
|
47519
47607
|
project_id: /* @__PURE__ */ number$2(),
|
|
47520
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
47608
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
47521
47609
|
user_id: /* @__PURE__ */ number$2()
|
|
47522
47610
|
}),
|
|
47523
47611
|
execute: (input, { client }) => {
|
|
@@ -47573,12 +47661,12 @@ const generatedFocusOperations = [
|
|
|
47573
47661
|
cli: {
|
|
47574
47662
|
group: ["rates", "labor"],
|
|
47575
47663
|
command: "delete-workspace-labor-cost-rate-range",
|
|
47576
|
-
interactive: "
|
|
47664
|
+
interactive: "default"
|
|
47577
47665
|
},
|
|
47578
47666
|
mcp: { entityTool: "rates" },
|
|
47579
47667
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47580
|
-
from: /* @__PURE__ */
|
|
47581
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
47668
|
+
from: /* @__PURE__ */ string$1(),
|
|
47669
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
47582
47670
|
}),
|
|
47583
47671
|
execute: (input, { client }) => {
|
|
47584
47672
|
const data = input;
|
|
@@ -47604,12 +47692,12 @@ const generatedFocusOperations = [
|
|
|
47604
47692
|
cli: {
|
|
47605
47693
|
group: ["rates", "labor"],
|
|
47606
47694
|
command: "delete-workspace-user-labor-cost-rate-range",
|
|
47607
|
-
interactive: "
|
|
47695
|
+
interactive: "default"
|
|
47608
47696
|
},
|
|
47609
47697
|
mcp: { entityTool: "rates" },
|
|
47610
47698
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
47611
|
-
from: /* @__PURE__ */
|
|
47612
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
47699
|
+
from: /* @__PURE__ */ string$1(),
|
|
47700
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
47613
47701
|
user_id: /* @__PURE__ */ number$2()
|
|
47614
47702
|
}),
|
|
47615
47703
|
execute: (input, { client }) => {
|
|
@@ -48237,7 +48325,7 @@ const generatedFocusOperations = [
|
|
|
48237
48325
|
},
|
|
48238
48326
|
mcp: { entityTool: "reports" },
|
|
48239
48327
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48240
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
48328
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
48241
48329
|
payload: /* @__PURE__ */ looseObject({
|
|
48242
48330
|
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48243
48331
|
aggregation: /* @__PURE__ */ looseObject({
|
|
@@ -48285,8 +48373,12 @@ const generatedFocusOperations = [
|
|
|
48285
48373
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48286
48374
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48287
48375
|
}),
|
|
48288
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
48289
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
48376
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
48377
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48378
|
+
"csv",
|
|
48379
|
+
"xlsx",
|
|
48380
|
+
"pdf"
|
|
48381
|
+
]))
|
|
48290
48382
|
}),
|
|
48291
48383
|
execute: (input, { client }) => {
|
|
48292
48384
|
const data = input;
|
|
@@ -48436,7 +48528,11 @@ const generatedFocusOperations = [
|
|
|
48436
48528
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
48437
48529
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48438
48530
|
}),
|
|
48439
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
48531
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
48532
|
+
"csv",
|
|
48533
|
+
"xlsx",
|
|
48534
|
+
"pdf"
|
|
48535
|
+
]))
|
|
48440
48536
|
}),
|
|
48441
48537
|
execute: (input, { client }) => {
|
|
48442
48538
|
const data = input;
|
|
@@ -48461,10 +48557,10 @@ const generatedFocusOperations = [
|
|
|
48461
48557
|
cli: {
|
|
48462
48558
|
group: ["reportschedules"],
|
|
48463
48559
|
command: "delete-shared-report-schedule",
|
|
48464
|
-
interactive: "
|
|
48560
|
+
interactive: "default"
|
|
48465
48561
|
},
|
|
48466
48562
|
mcp: { entityTool: "reportschedules" },
|
|
48467
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
48563
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48468
48564
|
execute: (input, { client }) => {
|
|
48469
48565
|
const data = input;
|
|
48470
48566
|
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
@@ -48491,15 +48587,17 @@ const generatedFocusOperations = [
|
|
|
48491
48587
|
},
|
|
48492
48588
|
mcp: { entityTool: "reportschedules" },
|
|
48493
48589
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48494
|
-
id: /* @__PURE__ */
|
|
48590
|
+
id: /* @__PURE__ */ number$2(),
|
|
48495
48591
|
payload: /* @__PURE__ */ looseObject({
|
|
48496
48592
|
cadence: /* @__PURE__ */ picklist$1([
|
|
48497
48593
|
"daily",
|
|
48498
48594
|
"weekly",
|
|
48499
48595
|
"monthly"
|
|
48500
48596
|
]),
|
|
48597
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48501
48598
|
time: /* @__PURE__ */ string$1(),
|
|
48502
48599
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48600
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48503
48601
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48504
48602
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48505
48603
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48528,11 +48626,11 @@ const generatedFocusOperations = [
|
|
|
48528
48626
|
cli: {
|
|
48529
48627
|
group: ["reportschedules"],
|
|
48530
48628
|
command: "upsert-shared-report-schedule",
|
|
48531
|
-
interactive: "
|
|
48629
|
+
interactive: "default"
|
|
48532
48630
|
},
|
|
48533
48631
|
mcp: { entityTool: "reportschedules" },
|
|
48534
48632
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48535
|
-
id: /* @__PURE__ */
|
|
48633
|
+
id: /* @__PURE__ */ number$2(),
|
|
48536
48634
|
payload: /* @__PURE__ */ looseObject({
|
|
48537
48635
|
cadence: /* @__PURE__ */ picklist$1([
|
|
48538
48636
|
"daily",
|
|
@@ -48784,11 +48882,11 @@ const generatedFocusOperations = [
|
|
|
48784
48882
|
cli: {
|
|
48785
48883
|
group: ["sharedreports"],
|
|
48786
48884
|
command: "add-shared-report-grants",
|
|
48787
|
-
interactive: "
|
|
48885
|
+
interactive: "default"
|
|
48788
48886
|
},
|
|
48789
48887
|
mcp: { entityTool: "sharedreports" },
|
|
48790
48888
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48791
|
-
id: /* @__PURE__ */
|
|
48889
|
+
id: /* @__PURE__ */ number$2(),
|
|
48792
48890
|
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48793
48891
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48794
48892
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -48818,10 +48916,10 @@ const generatedFocusOperations = [
|
|
|
48818
48916
|
cli: {
|
|
48819
48917
|
group: ["sharedreports"],
|
|
48820
48918
|
command: "get-saved-view-shared-report",
|
|
48821
|
-
interactive: "
|
|
48919
|
+
interactive: "available"
|
|
48822
48920
|
},
|
|
48823
48921
|
mcp: { entityTool: "sharedreports" },
|
|
48824
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
48922
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48825
48923
|
execute: (input, { client }) => {
|
|
48826
48924
|
const data = input;
|
|
48827
48925
|
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
@@ -48844,10 +48942,10 @@ const generatedFocusOperations = [
|
|
|
48844
48942
|
cli: {
|
|
48845
48943
|
group: ["sharedreports"],
|
|
48846
48944
|
command: "get-shared-report-for-viewer",
|
|
48847
|
-
interactive: "
|
|
48945
|
+
interactive: "available"
|
|
48848
48946
|
},
|
|
48849
48947
|
mcp: { entityTool: "sharedreports" },
|
|
48850
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
48948
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48851
48949
|
execute: (input, { client }) => {
|
|
48852
48950
|
const data = input;
|
|
48853
48951
|
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
@@ -48914,12 +49012,12 @@ const generatedFocusOperations = [
|
|
|
48914
49012
|
cli: {
|
|
48915
49013
|
group: ["sharedreports"],
|
|
48916
49014
|
command: "revoke-shared-report-grant",
|
|
48917
|
-
interactive: "
|
|
49015
|
+
interactive: "default"
|
|
48918
49016
|
},
|
|
48919
49017
|
mcp: { entityTool: "sharedreports" },
|
|
48920
49018
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48921
49019
|
grant_id: /* @__PURE__ */ number$2(),
|
|
48922
|
-
id: /* @__PURE__ */
|
|
49020
|
+
id: /* @__PURE__ */ number$2()
|
|
48923
49021
|
}),
|
|
48924
49022
|
execute: (input, { client }) => {
|
|
48925
49023
|
const data = input;
|
|
@@ -48948,7 +49046,7 @@ const generatedFocusOperations = [
|
|
|
48948
49046
|
},
|
|
48949
49047
|
mcp: { entityTool: "sharedreports" },
|
|
48950
49048
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48951
|
-
id: /* @__PURE__ */
|
|
49049
|
+
id: /* @__PURE__ */ number$2(),
|
|
48952
49050
|
payload: /* @__PURE__ */ looseObject({
|
|
48953
49051
|
charts: /* @__PURE__ */ unknown$1(),
|
|
48954
49052
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -48984,7 +49082,7 @@ const generatedFocusOperations = [
|
|
|
48984
49082
|
},
|
|
48985
49083
|
mcp: { entityTool: "sharedreports" },
|
|
48986
49084
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48987
|
-
id: /* @__PURE__ */
|
|
49085
|
+
id: /* @__PURE__ */ number$2(),
|
|
48988
49086
|
payload: /* @__PURE__ */ looseObject({
|
|
48989
49087
|
charts: /* @__PURE__ */ unknown$1(),
|
|
48990
49088
|
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
@@ -49377,10 +49475,10 @@ const generatedFocusOperations = [
|
|
|
49377
49475
|
cli: {
|
|
49378
49476
|
group: ["tags", "bulk"],
|
|
49379
49477
|
command: "delete",
|
|
49380
|
-
interactive: "
|
|
49478
|
+
interactive: "default"
|
|
49381
49479
|
},
|
|
49382
49480
|
mcp: { entityTool: "tags" },
|
|
49383
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */
|
|
49481
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
49384
49482
|
execute: (input, { client }) => {
|
|
49385
49483
|
const data = input;
|
|
49386
49484
|
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
@@ -49784,7 +49882,7 @@ const generatedFocusOperations = [
|
|
|
49784
49882
|
},
|
|
49785
49883
|
mcp: { entityTool: "tasks" },
|
|
49786
49884
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
49787
|
-
attachment_id: /* @__PURE__ */
|
|
49885
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
49788
49886
|
payload: /* @__PURE__ */ looseObject({
|
|
49789
49887
|
display_order: /* @__PURE__ */ number$2(),
|
|
49790
49888
|
name: /* @__PURE__ */ string$1()
|
|
@@ -50048,6 +50146,37 @@ const generatedFocusOperations = [
|
|
|
50048
50146
|
return client.createTask(data);
|
|
50049
50147
|
}
|
|
50050
50148
|
},
|
|
50149
|
+
{
|
|
50150
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50151
|
+
family: "focus",
|
|
50152
|
+
resource: "tasks",
|
|
50153
|
+
action: "create-recurring-occurrence",
|
|
50154
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50155
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50156
|
+
safety: "create",
|
|
50157
|
+
destructive: false,
|
|
50158
|
+
cli: {
|
|
50159
|
+
group: ["tasks"],
|
|
50160
|
+
command: "create-recurring-occurrence",
|
|
50161
|
+
interactive: "default"
|
|
50162
|
+
},
|
|
50163
|
+
mcp: { entityTool: "tasks" },
|
|
50164
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50165
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50166
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50167
|
+
}),
|
|
50168
|
+
execute: (input, { client }) => {
|
|
50169
|
+
const data = input;
|
|
50170
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50171
|
+
client.httpClient,
|
|
50172
|
+
client.organizationId,
|
|
50173
|
+
client.workspaceIdNumber,
|
|
50174
|
+
data.task_id,
|
|
50175
|
+
data.return_occurrence,
|
|
50176
|
+
void 0
|
|
50177
|
+
]));
|
|
50178
|
+
}
|
|
50179
|
+
},
|
|
50051
50180
|
{
|
|
50052
50181
|
id: "focus.tasks.delete",
|
|
50053
50182
|
family: "focus",
|
|
@@ -50112,11 +50241,11 @@ const generatedFocusOperations = [
|
|
|
50112
50241
|
cli: {
|
|
50113
50242
|
group: ["tasks", "estimate-allocations"],
|
|
50114
50243
|
command: "delete",
|
|
50115
|
-
interactive: "
|
|
50244
|
+
interactive: "default"
|
|
50116
50245
|
},
|
|
50117
50246
|
mcp: { entityTool: "tasks" },
|
|
50118
50247
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50119
|
-
id: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
50248
|
+
id: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
50120
50249
|
task_id: /* @__PURE__ */ number$2()
|
|
50121
50250
|
}),
|
|
50122
50251
|
execute: (input, { client }) => {
|
|
@@ -50295,9 +50424,13 @@ const generatedFocusOperations = [
|
|
|
50295
50424
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50296
50425
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50297
50426
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50427
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50428
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50298
50429
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50299
50430
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50431
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50300
50432
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50433
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50301
50434
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50302
50435
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50303
50436
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50349,7 +50482,9 @@ const generatedFocusOperations = [
|
|
|
50349
50482
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50350
50483
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50351
50484
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50485
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50352
50486
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50487
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50353
50488
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50354
50489
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50355
50490
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50358,7 +50493,9 @@ const generatedFocusOperations = [
|
|
|
50358
50493
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50359
50494
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50360
50495
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50496
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50361
50497
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50498
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50362
50499
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50363
50500
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50364
50501
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50488,12 +50625,18 @@ const generatedFocusOperations = [
|
|
|
50488
50625
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50489
50626
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50490
50627
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50491
|
-
group: /* @__PURE__ */
|
|
50628
|
+
group: /* @__PURE__ */ picklist$1([
|
|
50629
|
+
"projects",
|
|
50630
|
+
"users",
|
|
50631
|
+
"tags"
|
|
50632
|
+
]),
|
|
50492
50633
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50493
50634
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50494
50635
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50636
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50495
50637
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50496
50638
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50639
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50497
50640
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50498
50641
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50499
50642
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50502,6 +50645,8 @@ const generatedFocusOperations = [
|
|
|
50502
50645
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50503
50646
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50504
50647
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50648
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50649
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50505
50650
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50506
50651
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50507
50652
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50510,7 +50655,8 @@ const generatedFocusOperations = [
|
|
|
50510
50655
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50511
50656
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50512
50657
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50513
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50658
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50659
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50514
50660
|
}),
|
|
50515
50661
|
execute: (input, { client }) => {
|
|
50516
50662
|
const data = input;
|
|
@@ -50552,13 +50698,17 @@ const generatedFocusOperations = [
|
|
|
50552
50698
|
group_id: /* @__PURE__ */ number$2(),
|
|
50553
50699
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50554
50700
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50701
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50555
50702
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50556
50703
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50704
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50557
50705
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50558
50706
|
name: /* @__PURE__ */ unknown$1(),
|
|
50559
50707
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50560
50708
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50561
50709
|
project_id: /* @__PURE__ */ number$2(),
|
|
50710
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50711
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50562
50712
|
source: /* @__PURE__ */ unknown$1(),
|
|
50563
50713
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50564
50714
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50567,7 +50717,8 @@ const generatedFocusOperations = [
|
|
|
50567
50717
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50568
50718
|
team_id: /* @__PURE__ */ number$2(),
|
|
50569
50719
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50570
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50720
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
50721
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50571
50722
|
}),
|
|
50572
50723
|
execute: (input, { client }) => {
|
|
50573
50724
|
const data = input;
|
|
@@ -50608,13 +50759,17 @@ const generatedFocusOperations = [
|
|
|
50608
50759
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50609
50760
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50610
50761
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50762
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50611
50763
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50612
50764
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50765
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50613
50766
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50614
50767
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50615
50768
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50616
50769
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50617
50770
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50771
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50772
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50618
50773
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50619
50774
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50620
50775
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50623,7 +50778,8 @@ const generatedFocusOperations = [
|
|
|
50623
50778
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50624
50779
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50625
50780
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50626
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50781
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50782
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50627
50783
|
}),
|
|
50628
50784
|
execute: (input, { client }) => {
|
|
50629
50785
|
const data = input;
|
|
@@ -50652,7 +50808,11 @@ const generatedFocusOperations = [
|
|
|
50652
50808
|
},
|
|
50653
50809
|
mcp: { entityTool: "tasks" },
|
|
50654
50810
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50655
|
-
group: /* @__PURE__ */
|
|
50811
|
+
group: /* @__PURE__ */ picklist$1([
|
|
50812
|
+
"projects",
|
|
50813
|
+
"users",
|
|
50814
|
+
"tags"
|
|
50815
|
+
]),
|
|
50656
50816
|
payload: /* @__PURE__ */ unknown$1()
|
|
50657
50817
|
}),
|
|
50658
50818
|
execute: (input, { client }) => {
|
|
@@ -50885,12 +51045,13 @@ const generatedFocusOperations = [
|
|
|
50885
51045
|
cli: {
|
|
50886
51046
|
group: ["tasks"],
|
|
50887
51047
|
command: "update-calendar-range",
|
|
50888
|
-
interactive: "
|
|
51048
|
+
interactive: "default"
|
|
50889
51049
|
},
|
|
50890
51050
|
mcp: { entityTool: "tasks" },
|
|
50891
51051
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50892
|
-
date_from: /* @__PURE__ */
|
|
50893
|
-
date_to: /* @__PURE__ */
|
|
51052
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
51053
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51054
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50894
51055
|
}),
|
|
50895
51056
|
execute: (input, { client }) => {
|
|
50896
51057
|
const data = input;
|
|
@@ -50900,6 +51061,7 @@ const generatedFocusOperations = [
|
|
|
50900
51061
|
client.workspaceIdNumber,
|
|
50901
51062
|
data.date_from,
|
|
50902
51063
|
data.date_to,
|
|
51064
|
+
data.skip_provider_refresh,
|
|
50903
51065
|
void 0
|
|
50904
51066
|
]));
|
|
50905
51067
|
}
|
|
@@ -51486,7 +51648,8 @@ const generatedFocusOperations = [
|
|
|
51486
51648
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51487
51649
|
"project",
|
|
51488
51650
|
"task",
|
|
51489
|
-
"description"
|
|
51651
|
+
"description",
|
|
51652
|
+
"tags"
|
|
51490
51653
|
]) })),
|
|
51491
51654
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51492
51655
|
}) }),
|
|
@@ -51516,6 +51679,7 @@ const generatedFocusOperations = [
|
|
|
51516
51679
|
},
|
|
51517
51680
|
mcp: { entityTool: "time-entries" },
|
|
51518
51681
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51682
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51519
51683
|
payload: /* @__PURE__ */ looseObject({
|
|
51520
51684
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51521
51685
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51526,11 +51690,13 @@ const generatedFocusOperations = [
|
|
|
51526
51690
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51527
51691
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51528
51692
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51693
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51529
51694
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51530
51695
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51531
51696
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51532
51697
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51533
51698
|
}),
|
|
51699
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51534
51700
|
task_id: /* @__PURE__ */ number$2()
|
|
51535
51701
|
}),
|
|
51536
51702
|
execute: (input, { client }) => {
|
|
@@ -51541,6 +51707,8 @@ const generatedFocusOperations = [
|
|
|
51541
51707
|
client.workspaceIdNumber,
|
|
51542
51708
|
data.task_id,
|
|
51543
51709
|
data.payload ?? data.data ?? data,
|
|
51710
|
+
data.from_recurring_task_id,
|
|
51711
|
+
data.return_occurrence,
|
|
51544
51712
|
void 0
|
|
51545
51713
|
]));
|
|
51546
51714
|
}
|
|
@@ -51560,21 +51728,26 @@ const generatedFocusOperations = [
|
|
|
51560
51728
|
interactive: "default"
|
|
51561
51729
|
},
|
|
51562
51730
|
mcp: { entityTool: "time-entries" },
|
|
51563
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51564
|
-
|
|
51565
|
-
|
|
51566
|
-
|
|
51567
|
-
|
|
51568
|
-
|
|
51569
|
-
|
|
51570
|
-
|
|
51571
|
-
|
|
51572
|
-
|
|
51573
|
-
|
|
51574
|
-
|
|
51575
|
-
|
|
51576
|
-
|
|
51577
|
-
|
|
51731
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51732
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51733
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51734
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51735
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51736
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51737
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51738
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51739
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51740
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51741
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51742
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51743
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51744
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51745
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51746
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51747
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51748
|
+
}),
|
|
51749
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51750
|
+
}),
|
|
51578
51751
|
execute: (input, { client }) => {
|
|
51579
51752
|
const data = input;
|
|
51580
51753
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51582,6 +51755,8 @@ const generatedFocusOperations = [
|
|
|
51582
51755
|
client.organizationId,
|
|
51583
51756
|
client.workspaceIdNumber,
|
|
51584
51757
|
data.payload ?? data.data ?? data,
|
|
51758
|
+
data.from_recurring_task_id,
|
|
51759
|
+
data.return_occurrence,
|
|
51585
51760
|
void 0
|
|
51586
51761
|
]));
|
|
51587
51762
|
}
|
|
@@ -51601,7 +51776,11 @@ const generatedFocusOperations = [
|
|
|
51601
51776
|
interactive: "default"
|
|
51602
51777
|
},
|
|
51603
51778
|
mcp: { entityTool: "time-entries" },
|
|
51604
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51779
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51780
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51781
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51782
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51783
|
+
}),
|
|
51605
51784
|
execute: (input, { client }) => {
|
|
51606
51785
|
const data = input;
|
|
51607
51786
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51609,6 +51788,8 @@ const generatedFocusOperations = [
|
|
|
51609
51788
|
client.organizationId,
|
|
51610
51789
|
client.workspaceIdNumber,
|
|
51611
51790
|
data.time_entry_id,
|
|
51791
|
+
data.from_recurring_task_id,
|
|
51792
|
+
data.return_occurrence,
|
|
51612
51793
|
void 0
|
|
51613
51794
|
]));
|
|
51614
51795
|
}
|
|
@@ -51689,6 +51870,7 @@ const generatedFocusOperations = [
|
|
|
51689
51870
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51690
51871
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51691
51872
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51873
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51692
51874
|
status_id: /* @__PURE__ */ number$2(),
|
|
51693
51875
|
task_id: /* @__PURE__ */ number$2(),
|
|
51694
51876
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51865,12 +52047,14 @@ const generatedFocusOperations = [
|
|
|
51865
52047
|
},
|
|
51866
52048
|
mcp: { entityTool: "time-entries" },
|
|
51867
52049
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52050
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51868
52051
|
payload: /* @__PURE__ */ looseObject({
|
|
51869
52052
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51870
52053
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51871
52054
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51872
52055
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51873
52056
|
}),
|
|
52057
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51874
52058
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51875
52059
|
}),
|
|
51876
52060
|
execute: (input, { client }) => {
|
|
@@ -51881,6 +52065,8 @@ const generatedFocusOperations = [
|
|
|
51881
52065
|
client.workspaceIdNumber,
|
|
51882
52066
|
data.time_entry_id,
|
|
51883
52067
|
data.payload ?? data.data ?? data,
|
|
52068
|
+
data.from_recurring_task_id,
|
|
52069
|
+
data.return_occurrence,
|
|
51884
52070
|
void 0
|
|
51885
52071
|
]));
|
|
51886
52072
|
}
|
|
@@ -51997,11 +52183,11 @@ const generatedFocusOperations = [
|
|
|
51997
52183
|
cli: {
|
|
51998
52184
|
group: ["time-entries"],
|
|
51999
52185
|
command: "sync",
|
|
52000
|
-
interactive: "
|
|
52186
|
+
interactive: "default"
|
|
52001
52187
|
},
|
|
52002
52188
|
mcp: { entityTool: "time-entries" },
|
|
52003
52189
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52004
|
-
client_uuid: /* @__PURE__ */
|
|
52190
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
52005
52191
|
payload: /* @__PURE__ */ looseObject({
|
|
52006
52192
|
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
52007
52193
|
client_updated_at: apiDateTimeString,
|
|
@@ -52138,6 +52324,7 @@ const generatedFocusOperations = [
|
|
|
52138
52324
|
},
|
|
52139
52325
|
mcp: { entityTool: "time-entries" },
|
|
52140
52326
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52327
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52141
52328
|
payload: /* @__PURE__ */ looseObject({
|
|
52142
52329
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52143
52330
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52150,6 +52337,7 @@ const generatedFocusOperations = [
|
|
|
52150
52337
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52151
52338
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52152
52339
|
}),
|
|
52340
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52153
52341
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52154
52342
|
}),
|
|
52155
52343
|
execute: (input, { client }) => {
|
|
@@ -52160,6 +52348,8 @@ const generatedFocusOperations = [
|
|
|
52160
52348
|
client.workspaceIdNumber,
|
|
52161
52349
|
data.time_entry_id,
|
|
52162
52350
|
data.payload ?? data.data ?? data,
|
|
52351
|
+
data.from_recurring_task_id,
|
|
52352
|
+
data.return_occurrence,
|
|
52163
52353
|
void 0
|
|
52164
52354
|
]));
|
|
52165
52355
|
}
|
|
@@ -53306,6 +53496,9 @@ const generatedFocusOperations = [
|
|
|
53306
53496
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53307
53497
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53308
53498
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53499
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53500
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53501
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53309
53502
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53310
53503
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53311
53504
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54849,7 +55042,7 @@ function registerWorkspaceTools(server) {
|
|
|
54849
55042
|
//#region src/package-version.ts
|
|
54850
55043
|
function mcpPackageVersion() {
|
|
54851
55044
|
try {
|
|
54852
|
-
return "1.11.
|
|
55045
|
+
return "1.11.6";
|
|
54853
55046
|
} catch {
|
|
54854
55047
|
return "unknown";
|
|
54855
55048
|
}
|
|
@@ -55024,7 +55217,7 @@ import_main.default.config({
|
|
|
55024
55217
|
quiet: true,
|
|
55025
55218
|
ignore: ["MISSING_ENV_FILE"]
|
|
55026
55219
|
});
|
|
55027
|
-
const packageVersion = "1.11.
|
|
55220
|
+
const packageVersion = "1.11.6";
|
|
55028
55221
|
function resolvePublicUrls() {
|
|
55029
55222
|
return {
|
|
55030
55223
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55089,4 +55282,4 @@ function bootstrapServer(options = {}) {
|
|
|
55089
55282
|
//#endregion
|
|
55090
55283
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55091
55284
|
|
|
55092
|
-
//# sourceMappingURL=src-
|
|
55285
|
+
//# sourceMappingURL=src-BkmLNZ2p.js.map
|