@togglhq/cli 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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-D1YXUttr.js → program-Bl7GS_uC.js} +416 -223
- package/build/program.js +1 -1
- package/package.json +2 -2
|
@@ -5495,10 +5495,6 @@ function _joinExpects$1(values$1, separator) {
|
|
|
5495
5495
|
*/
|
|
5496
5496
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
5497
5497
|
/**
|
|
5498
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
5499
|
-
*/
|
|
5500
|
-
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;
|
|
5501
|
-
/**
|
|
5502
5498
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
5503
5499
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
5504
5500
|
*/
|
|
@@ -5552,22 +5548,6 @@ function isoDate$1(message$1) {
|
|
|
5552
5548
|
};
|
|
5553
5549
|
}
|
|
5554
5550
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5555
|
-
function isoDateTime$1(message$1) {
|
|
5556
|
-
return {
|
|
5557
|
-
kind: "validation",
|
|
5558
|
-
type: "iso_date_time",
|
|
5559
|
-
reference: isoDateTime$1,
|
|
5560
|
-
async: false,
|
|
5561
|
-
expects: null,
|
|
5562
|
-
requirement: ISO_DATE_TIME_REGEX$1,
|
|
5563
|
-
message: message$1,
|
|
5564
|
-
"~run"(dataset, config$1) {
|
|
5565
|
-
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
5566
|
-
return dataset;
|
|
5567
|
-
}
|
|
5568
|
-
};
|
|
5569
|
-
}
|
|
5570
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
5571
5551
|
function isoTimestamp(message$1) {
|
|
5572
5552
|
return {
|
|
5573
5553
|
kind: "validation",
|
|
@@ -8151,14 +8131,14 @@ function isHttpError(error) {
|
|
|
8151
8131
|
}
|
|
8152
8132
|
//#endregion
|
|
8153
8133
|
//#region ../focus-queries/dist/utils/requests.ts
|
|
8154
|
-
const META_SYMBOL
|
|
8155
|
-
function withResponseMeta
|
|
8134
|
+
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
8135
|
+
function withResponseMeta(data, headers, status) {
|
|
8156
8136
|
if (!data) return data;
|
|
8157
8137
|
const meta = {
|
|
8158
8138
|
headers: Object.fromEntries(headers.entries()),
|
|
8159
8139
|
status
|
|
8160
8140
|
};
|
|
8161
|
-
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL
|
|
8141
|
+
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL, {
|
|
8162
8142
|
value: meta,
|
|
8163
8143
|
enumerable: false,
|
|
8164
8144
|
writable: false,
|
|
@@ -9143,6 +9123,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
9143
9123
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9144
9124
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9145
9125
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9126
|
+
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."))),
|
|
9146
9127
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9147
9128
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9148
9129
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -9204,6 +9185,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
9204
9185
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9205
9186
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
9206
9187
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9188
|
+
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."))),
|
|
9207
9189
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
9208
9190
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9209
9191
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -9386,6 +9368,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
9386
9368
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9387
9369
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9388
9370
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9371
|
+
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."))),
|
|
9372
|
+
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."))),
|
|
9389
9373
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9390
9374
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9391
9375
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9550,6 +9534,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
9550
9534
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9551
9535
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
9552
9536
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9537
|
+
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."))),
|
|
9538
|
+
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."))),
|
|
9553
9539
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
9554
9540
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
9555
9541
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -9780,6 +9766,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
9780
9766
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9781
9767
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9782
9768
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9769
|
+
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."))),
|
|
9783
9770
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9784
9771
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9785
9772
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -9816,6 +9803,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
9816
9803
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9817
9804
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9818
9805
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
9806
|
+
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."))),
|
|
9819
9807
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
9820
9808
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
9821
9809
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -10005,7 +9993,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
10005
9993
|
include_calendar_integration
|
|
10006
9994
|
}, true)
|
|
10007
9995
|
});
|
|
10008
|
-
return withResponseMeta
|
|
9996
|
+
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
10009
9997
|
}
|
|
10010
9998
|
//#endregion
|
|
10011
9999
|
//#region ../focus-queries/out/utils/requests.js
|
|
@@ -10354,7 +10342,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10354
10342
|
}
|
|
10355
10343
|
//#endregion
|
|
10356
10344
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10357
|
-
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) {
|
|
10345
|
+
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) {
|
|
10358
10346
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10359
10347
|
signal,
|
|
10360
10348
|
searchParams: buildSearchParams$2({
|
|
@@ -10405,7 +10393,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10405
10393
|
include_assignees,
|
|
10406
10394
|
include_parent_matches,
|
|
10407
10395
|
disable_aggregations,
|
|
10408
|
-
cf_filter
|
|
10396
|
+
cf_filter,
|
|
10397
|
+
recurring_occurrences_after,
|
|
10398
|
+
max_recurring_occurrences_after,
|
|
10399
|
+
recurring_task_read,
|
|
10400
|
+
include_projected_occurrences
|
|
10409
10401
|
})
|
|
10410
10402
|
}).json();
|
|
10411
10403
|
}
|
|
@@ -10480,16 +10472,17 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
10480
10472
|
})
|
|
10481
10473
|
}).json();
|
|
10482
10474
|
}
|
|
10483
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
10475
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
10484
10476
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
10485
10477
|
signal,
|
|
10486
10478
|
searchParams: buildSearchParams$2({
|
|
10487
10479
|
date_from,
|
|
10488
|
-
date_to
|
|
10480
|
+
date_to,
|
|
10481
|
+
skip_provider_refresh
|
|
10489
10482
|
})
|
|
10490
10483
|
}).json();
|
|
10491
10484
|
}
|
|
10492
|
-
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) {
|
|
10485
|
+
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) {
|
|
10493
10486
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
10494
10487
|
signal,
|
|
10495
10488
|
searchParams: buildSearchParams$2({
|
|
@@ -10505,11 +10498,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10505
10498
|
assignee_team_id,
|
|
10506
10499
|
assignee_user_id,
|
|
10507
10500
|
tag_id,
|
|
10508
|
-
include_assignees
|
|
10501
|
+
include_assignees,
|
|
10502
|
+
recurring_occurrences_after,
|
|
10503
|
+
max_recurring_occurrences_after,
|
|
10504
|
+
recurring_task_read,
|
|
10505
|
+
include_projected_occurrences
|
|
10509
10506
|
})
|
|
10510
10507
|
}).json();
|
|
10511
10508
|
}
|
|
10512
|
-
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) {
|
|
10509
|
+
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) {
|
|
10513
10510
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10514
10511
|
signal,
|
|
10515
10512
|
searchParams: buildSearchParams$2({
|
|
@@ -10554,7 +10551,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10554
10551
|
recurring_task_ids,
|
|
10555
10552
|
client_id,
|
|
10556
10553
|
include_assignees,
|
|
10557
|
-
cf_filter
|
|
10554
|
+
cf_filter,
|
|
10555
|
+
recurring_occurrences_after,
|
|
10556
|
+
max_recurring_occurrences_after,
|
|
10557
|
+
recurring_task_read,
|
|
10558
|
+
include_projected_occurrences
|
|
10558
10559
|
})
|
|
10559
10560
|
}).json();
|
|
10560
10561
|
}
|
|
@@ -10609,6 +10610,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
10609
10610
|
})
|
|
10610
10611
|
}).json();
|
|
10611
10612
|
}
|
|
10613
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
10614
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
10615
|
+
signal,
|
|
10616
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
10617
|
+
}).json();
|
|
10618
|
+
}
|
|
10612
10619
|
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) {
|
|
10613
10620
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
10614
10621
|
signal,
|
|
@@ -10745,16 +10752,24 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
10745
10752
|
})
|
|
10746
10753
|
}).json();
|
|
10747
10754
|
}
|
|
10748
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
10755
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10749
10756
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
10750
10757
|
signal,
|
|
10751
|
-
json: data
|
|
10758
|
+
json: data,
|
|
10759
|
+
searchParams: buildSearchParams$2({
|
|
10760
|
+
from_recurring_task_id,
|
|
10761
|
+
return_occurrence
|
|
10762
|
+
})
|
|
10752
10763
|
}).json();
|
|
10753
10764
|
}
|
|
10754
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
10765
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10755
10766
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
10756
10767
|
signal,
|
|
10757
|
-
json: data
|
|
10768
|
+
json: data,
|
|
10769
|
+
searchParams: buildSearchParams$2({
|
|
10770
|
+
from_recurring_task_id,
|
|
10771
|
+
return_occurrence
|
|
10772
|
+
})
|
|
10758
10773
|
}).json();
|
|
10759
10774
|
}
|
|
10760
10775
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -10805,7 +10820,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
10805
10820
|
json: data
|
|
10806
10821
|
}).json();
|
|
10807
10822
|
}
|
|
10808
|
-
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) {
|
|
10823
|
+
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) {
|
|
10809
10824
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
10810
10825
|
signal,
|
|
10811
10826
|
searchParams: buildSearchParams$2({
|
|
@@ -10813,6 +10828,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
10813
10828
|
date_to,
|
|
10814
10829
|
task_id,
|
|
10815
10830
|
status_id,
|
|
10831
|
+
project_id,
|
|
10816
10832
|
type,
|
|
10817
10833
|
order_by,
|
|
10818
10834
|
archived,
|
|
@@ -10836,19 +10852,33 @@ async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_
|
|
|
10836
10852
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10837
10853
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
10838
10854
|
}
|
|
10839
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10855
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10840
10856
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10841
10857
|
signal,
|
|
10842
|
-
json: data
|
|
10858
|
+
json: data,
|
|
10859
|
+
searchParams: buildSearchParams$2({
|
|
10860
|
+
from_recurring_task_id,
|
|
10861
|
+
return_occurrence
|
|
10862
|
+
})
|
|
10843
10863
|
}).json();
|
|
10844
10864
|
}
|
|
10845
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10846
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10865
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
10866
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10867
|
+
signal,
|
|
10868
|
+
searchParams: buildSearchParams$2({
|
|
10869
|
+
from_recurring_task_id,
|
|
10870
|
+
return_occurrence
|
|
10871
|
+
})
|
|
10872
|
+
}).json();
|
|
10847
10873
|
}
|
|
10848
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10874
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
10849
10875
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
10850
10876
|
signal,
|
|
10851
|
-
json: data
|
|
10877
|
+
json: data,
|
|
10878
|
+
searchParams: buildSearchParams$2({
|
|
10879
|
+
from_recurring_task_id,
|
|
10880
|
+
return_occurrence
|
|
10881
|
+
})
|
|
10852
10882
|
}).json();
|
|
10853
10883
|
}
|
|
10854
10884
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -10963,7 +10993,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10963
10993
|
]))
|
|
10964
10994
|
});
|
|
10965
10995
|
//#endregion
|
|
10966
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10996
|
+
//#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
|
|
10967
10997
|
async function getInvitations(httpClient, signal) {
|
|
10968
10998
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10969
10999
|
}
|
|
@@ -10980,22 +11010,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10980
11010
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10981
11011
|
}
|
|
10982
11012
|
//#endregion
|
|
10983
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10984
|
-
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
10985
|
-
function withResponseMeta(data, headers, status) {
|
|
10986
|
-
if (!data) return data;
|
|
10987
|
-
const meta = {
|
|
10988
|
-
headers: Object.fromEntries(headers.entries()),
|
|
10989
|
-
status
|
|
10990
|
-
};
|
|
10991
|
-
if (typeof data === "object") Object.defineProperty(data, META_SYMBOL, {
|
|
10992
|
-
value: meta,
|
|
10993
|
-
enumerable: false,
|
|
10994
|
-
writable: false,
|
|
10995
|
-
configurable: false
|
|
10996
|
-
});
|
|
10997
|
-
return data;
|
|
10998
|
-
}
|
|
11013
|
+
//#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
|
|
10999
11014
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11000
11015
|
const searchParams = new URLSearchParams();
|
|
11001
11016
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11007,7 +11022,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11007
11022
|
return searchParams;
|
|
11008
11023
|
}
|
|
11009
11024
|
//#endregion
|
|
11010
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11025
|
+
//#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
|
|
11011
11026
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11012
11027
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11013
11028
|
}
|
|
@@ -11021,7 +11036,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11021
11036
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11022
11037
|
}
|
|
11023
11038
|
//#endregion
|
|
11024
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11039
|
+
//#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
|
|
11025
11040
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11026
11041
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11027
11042
|
}
|
|
@@ -11041,24 +11056,23 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11041
11056
|
});
|
|
11042
11057
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11043
11058
|
//#endregion
|
|
11044
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11045
|
-
async function
|
|
11046
|
-
|
|
11059
|
+
//#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
|
|
11060
|
+
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11061
|
+
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11047
11062
|
signal,
|
|
11048
11063
|
searchParams: buildSearchParams({
|
|
11049
|
-
|
|
11050
|
-
|
|
11064
|
+
year,
|
|
11065
|
+
country
|
|
11051
11066
|
}, true)
|
|
11052
|
-
});
|
|
11053
|
-
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
11067
|
+
})).json();
|
|
11054
11068
|
}
|
|
11055
11069
|
//#endregion
|
|
11056
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11070
|
+
//#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
|
|
11057
11071
|
async function getStatus(httpClient, signal) {
|
|
11058
11072
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11059
11073
|
}
|
|
11060
11074
|
//#endregion
|
|
11061
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11075
|
+
//#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
|
|
11062
11076
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11063
11077
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11064
11078
|
signal,
|
|
@@ -11086,7 +11100,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11086
11100
|
return response.json();
|
|
11087
11101
|
}
|
|
11088
11102
|
//#endregion
|
|
11089
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11103
|
+
//#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
|
|
11090
11104
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11091
11105
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11092
11106
|
}
|
|
@@ -11111,7 +11125,7 @@ async function deleteMyWorkingHours(httpClient, organization_id, data, signal) {
|
|
|
11111
11125
|
return response.json();
|
|
11112
11126
|
}
|
|
11113
11127
|
//#endregion
|
|
11114
|
-
//#region ../cli-core/build/focus-client-
|
|
11128
|
+
//#region ../cli-core/build/focus-client-C-6hmEQA.js
|
|
11115
11129
|
/** Request header the API reads to attribute traffic to MCP or CLI. */
|
|
11116
11130
|
const TOGGL_CLIENT_HEADER = "X-Toggl-Client";
|
|
11117
11131
|
/** Header the Focus API reads for analytics and presence `platform_origin`. */
|
|
@@ -11999,11 +12013,15 @@ var FocusClient = class {
|
|
|
11999
12013
|
return this.softValidateResponse("getSharedDataStatus", StatusOKSchema, response);
|
|
12000
12014
|
}
|
|
12001
12015
|
async listPublicHolidays(year, country) {
|
|
12002
|
-
const response = await this.run("listPublicHolidays", () =>
|
|
12003
|
-
|
|
12016
|
+
const response = await this.run("listPublicHolidays", () => holidayListDates(this.orgHttp, this.organizationIdNum, country === void 0 ? { year } : {
|
|
12017
|
+
year,
|
|
12018
|
+
country
|
|
12019
|
+
}));
|
|
12020
|
+
if (!response.ok) return response;
|
|
12021
|
+
return {
|
|
12004
12022
|
ok: true,
|
|
12005
|
-
data: response.data
|
|
12006
|
-
}
|
|
12023
|
+
data: response.data.dates
|
|
12024
|
+
};
|
|
12007
12025
|
}
|
|
12008
12026
|
async getMyWorkingHoursShared() {
|
|
12009
12027
|
const response = await this.run("getMyWorkingHoursShared", () => getMyWorkingHours(this.sharedDataHttp, this.organizationIdNum));
|
|
@@ -13153,7 +13171,7 @@ async function runSkillSetup(options) {
|
|
|
13153
13171
|
});
|
|
13154
13172
|
}
|
|
13155
13173
|
//#endregion
|
|
13156
|
-
//#region ../operations/build/validation-
|
|
13174
|
+
//#region ../operations/build/validation-CvDIY-Ah.js
|
|
13157
13175
|
const optionalNumber = /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2());
|
|
13158
13176
|
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})`)));
|
|
13159
13177
|
const perPageSchema = perPageField(100);
|
|
@@ -14501,7 +14519,7 @@ const orgSharedOperations = [
|
|
|
14501
14519
|
resource: "holidays",
|
|
14502
14520
|
action: "list",
|
|
14503
14521
|
title: "List public holidays",
|
|
14504
|
-
description: "List
|
|
14522
|
+
description: "List organization holiday calendar dates for a year (optional ISO country override).",
|
|
14505
14523
|
safety: "read",
|
|
14506
14524
|
destructive: false,
|
|
14507
14525
|
cli: {
|
|
@@ -14706,13 +14724,14 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
14706
14724
|
}
|
|
14707
14725
|
//#endregion
|
|
14708
14726
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
14709
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14727
|
+
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) {
|
|
14710
14728
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
14711
14729
|
signal,
|
|
14712
14730
|
searchParams: buildSearchParams$2({
|
|
14713
14731
|
workspace_id,
|
|
14714
14732
|
entity_type,
|
|
14715
14733
|
entity_id,
|
|
14734
|
+
project_id,
|
|
14716
14735
|
action,
|
|
14717
14736
|
user_id,
|
|
14718
14737
|
page_size,
|
|
@@ -14721,12 +14740,13 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
14721
14740
|
})
|
|
14722
14741
|
}).json();
|
|
14723
14742
|
}
|
|
14724
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
14743
|
+
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) {
|
|
14725
14744
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
14726
14745
|
signal,
|
|
14727
14746
|
searchParams: buildSearchParams$2({
|
|
14728
14747
|
entity_type,
|
|
14729
14748
|
entity_id,
|
|
14749
|
+
project_id,
|
|
14730
14750
|
action,
|
|
14731
14751
|
user_id,
|
|
14732
14752
|
page_size,
|
|
@@ -14879,13 +14899,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
14879
14899
|
}
|
|
14880
14900
|
//#endregion
|
|
14881
14901
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
14882
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
14902
|
+
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) {
|
|
14883
14903
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
14884
14904
|
signal,
|
|
14885
14905
|
searchParams: buildSearchParams$2({
|
|
14886
|
-
user_id,
|
|
14887
14906
|
start_date,
|
|
14888
14907
|
end_date,
|
|
14908
|
+
user_id,
|
|
14909
|
+
team_id,
|
|
14889
14910
|
private: private_,
|
|
14890
14911
|
task_source,
|
|
14891
14912
|
unit,
|
|
@@ -14945,6 +14966,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
14945
14966
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14946
14967
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
14947
14968
|
}
|
|
14969
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
14970
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
14971
|
+
}
|
|
14972
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
14973
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
14974
|
+
signal,
|
|
14975
|
+
json: data
|
|
14976
|
+
}).json();
|
|
14977
|
+
}
|
|
14948
14978
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
14949
14979
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
14950
14980
|
signal,
|
|
@@ -15252,9 +15282,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
15252
15282
|
json: data
|
|
15253
15283
|
}).json();
|
|
15254
15284
|
}
|
|
15255
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
15256
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
15257
|
-
}
|
|
15258
15285
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
15259
15286
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
15260
15287
|
}
|
|
@@ -15291,7 +15318,7 @@ async function getProjectRatesSummary(httpClient, organization_id, workspace_id,
|
|
|
15291
15318
|
search
|
|
15292
15319
|
})
|
|
15293
15320
|
});
|
|
15294
|
-
return withResponseMeta
|
|
15321
|
+
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
15295
15322
|
}
|
|
15296
15323
|
async function getProjectRates(httpClient, organization_id, workspace_id, project_id, { order_by } = {}, signal) {
|
|
15297
15324
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/${project_id}/rates`, {
|
|
@@ -15558,9 +15585,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
15558
15585
|
}
|
|
15559
15586
|
//#endregion
|
|
15560
15587
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
15561
|
-
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) {
|
|
15588
|
+
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) {
|
|
15562
15589
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
15563
15590
|
signal,
|
|
15591
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15564
15592
|
searchParams: buildSearchParams$2({
|
|
15565
15593
|
project_id,
|
|
15566
15594
|
source,
|
|
@@ -15589,13 +15617,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
15589
15617
|
min_days,
|
|
15590
15618
|
include_drafts,
|
|
15591
15619
|
cf_filter,
|
|
15592
|
-
user_cf_filter
|
|
15620
|
+
user_cf_filter,
|
|
15621
|
+
recurring_occurrences_after,
|
|
15622
|
+
max_recurring_occurrences_after,
|
|
15623
|
+
recurring_task_read,
|
|
15624
|
+
include_projected_occurrences
|
|
15593
15625
|
})
|
|
15594
15626
|
}).json();
|
|
15595
15627
|
}
|
|
15596
|
-
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) {
|
|
15628
|
+
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) {
|
|
15597
15629
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
15598
15630
|
signal,
|
|
15631
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15599
15632
|
searchParams: buildSearchParams$2({
|
|
15600
15633
|
team_id,
|
|
15601
15634
|
project_id,
|
|
@@ -15624,13 +15657,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
15624
15657
|
min_days,
|
|
15625
15658
|
include_drafts,
|
|
15626
15659
|
cf_filter,
|
|
15627
|
-
user_cf_filter
|
|
15660
|
+
user_cf_filter,
|
|
15661
|
+
recurring_occurrences_after,
|
|
15662
|
+
max_recurring_occurrences_after,
|
|
15663
|
+
recurring_task_read,
|
|
15664
|
+
include_projected_occurrences
|
|
15628
15665
|
})
|
|
15629
15666
|
}).json();
|
|
15630
15667
|
}
|
|
15631
|
-
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) {
|
|
15668
|
+
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) {
|
|
15632
15669
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
15633
15670
|
signal,
|
|
15671
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
15634
15672
|
searchParams: buildSearchParams$2({
|
|
15635
15673
|
source,
|
|
15636
15674
|
priority,
|
|
@@ -15660,6 +15698,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
15660
15698
|
include_drafts,
|
|
15661
15699
|
cf_filter,
|
|
15662
15700
|
user_cf_filter,
|
|
15701
|
+
recurring_occurrences_after,
|
|
15702
|
+
max_recurring_occurrences_after,
|
|
15703
|
+
recurring_task_read,
|
|
15704
|
+
include_projected_occurrences,
|
|
15663
15705
|
page,
|
|
15664
15706
|
per_page,
|
|
15665
15707
|
order_by
|
|
@@ -16138,10 +16180,11 @@ const generatedFocusOperations = [
|
|
|
16138
16180
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16139
16181
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16140
16182
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16141
|
-
from: /* @__PURE__ */
|
|
16183
|
+
from: /* @__PURE__ */ string$1(),
|
|
16142
16184
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16143
16185
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16144
|
-
|
|
16186
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16187
|
+
to: /* @__PURE__ */ string$1(),
|
|
16145
16188
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16146
16189
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16147
16190
|
}),
|
|
@@ -16178,10 +16221,11 @@ const generatedFocusOperations = [
|
|
|
16178
16221
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16179
16222
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16180
16223
|
export_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16181
|
-
from: /* @__PURE__ */
|
|
16224
|
+
from: /* @__PURE__ */ string$1(),
|
|
16182
16225
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16183
16226
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
16184
|
-
|
|
16227
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
16228
|
+
to: /* @__PURE__ */ string$1(),
|
|
16185
16229
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
16186
16230
|
}),
|
|
16187
16231
|
execute: (input, { client }) => {
|
|
@@ -16214,12 +16258,13 @@ const generatedFocusOperations = [
|
|
|
16214
16258
|
mcp: { entityTool: "capacities" },
|
|
16215
16259
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
16216
16260
|
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16217
|
-
group: /* @__PURE__ */
|
|
16261
|
+
group: /* @__PURE__ */ picklist$1(["users"]),
|
|
16218
16262
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
16219
16263
|
include_task_estimates: /* @__PURE__ */ unknown$1(),
|
|
16220
16264
|
private_: /* @__PURE__ */ unknown$1(),
|
|
16221
16265
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16222
16266
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
16267
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
16223
16268
|
unit: /* @__PURE__ */ unknown$1(),
|
|
16224
16269
|
user_id: /* @__PURE__ */ number$2()
|
|
16225
16270
|
}),
|
|
@@ -16660,6 +16705,33 @@ const generatedFocusOperations = [
|
|
|
16660
16705
|
]));
|
|
16661
16706
|
}
|
|
16662
16707
|
},
|
|
16708
|
+
{
|
|
16709
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
16710
|
+
family: "focus",
|
|
16711
|
+
resource: "custom-fields",
|
|
16712
|
+
action: "get-allowed-users",
|
|
16713
|
+
title: "Get Allowed Users Custom Fields",
|
|
16714
|
+
description: "Get Allowed Users Custom Fields.",
|
|
16715
|
+
safety: "read",
|
|
16716
|
+
destructive: false,
|
|
16717
|
+
cli: {
|
|
16718
|
+
group: ["custom-fields"],
|
|
16719
|
+
command: "get-allowed-users",
|
|
16720
|
+
interactive: "available"
|
|
16721
|
+
},
|
|
16722
|
+
mcp: { entityTool: "custom-fields" },
|
|
16723
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
16724
|
+
execute: (input, { client }) => {
|
|
16725
|
+
const data = input;
|
|
16726
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
16727
|
+
client.httpClient,
|
|
16728
|
+
client.organizationId,
|
|
16729
|
+
client.workspaceIdNumber,
|
|
16730
|
+
data.custom_field_id,
|
|
16731
|
+
void 0
|
|
16732
|
+
]));
|
|
16733
|
+
}
|
|
16734
|
+
},
|
|
16663
16735
|
{
|
|
16664
16736
|
id: "focus.custom-fields.list",
|
|
16665
16737
|
family: "focus",
|
|
@@ -16829,6 +16901,37 @@ const generatedFocusOperations = [
|
|
|
16829
16901
|
]));
|
|
16830
16902
|
}
|
|
16831
16903
|
},
|
|
16904
|
+
{
|
|
16905
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
16906
|
+
family: "focus",
|
|
16907
|
+
resource: "custom-fields",
|
|
16908
|
+
action: "replace-custom-field-allowed-users",
|
|
16909
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
16910
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
16911
|
+
safety: "update",
|
|
16912
|
+
destructive: false,
|
|
16913
|
+
cli: {
|
|
16914
|
+
group: ["custom-fields"],
|
|
16915
|
+
command: "replace-custom-field-allowed-users",
|
|
16916
|
+
interactive: "default"
|
|
16917
|
+
},
|
|
16918
|
+
mcp: { entityTool: "custom-fields" },
|
|
16919
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
16920
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
16921
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
16922
|
+
}),
|
|
16923
|
+
execute: (input, { client }) => {
|
|
16924
|
+
const data = input;
|
|
16925
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
16926
|
+
client.httpClient,
|
|
16927
|
+
client.organizationId,
|
|
16928
|
+
client.workspaceIdNumber,
|
|
16929
|
+
data.custom_field_id,
|
|
16930
|
+
data.payload ?? data.data ?? data,
|
|
16931
|
+
void 0
|
|
16932
|
+
]));
|
|
16933
|
+
}
|
|
16934
|
+
},
|
|
16832
16935
|
{
|
|
16833
16936
|
id: "focus.custom-fields.update",
|
|
16834
16937
|
family: "focus",
|
|
@@ -16975,13 +17078,7 @@ const generatedFocusOperations = [
|
|
|
16975
17078
|
},
|
|
16976
17079
|
mcp: { entityTool: "goals" },
|
|
16977
17080
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
16978
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
16979
17081
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
16980
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16981
|
-
icon: /* @__PURE__ */ string$1(),
|
|
16982
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
16983
|
-
name: /* @__PURE__ */ string$1(),
|
|
16984
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16985
17082
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
16986
17083
|
"daily",
|
|
16987
17084
|
"weekly",
|
|
@@ -16989,12 +17086,18 @@ const generatedFocusOperations = [
|
|
|
16989
17086
|
"monthly"
|
|
16990
17087
|
]),
|
|
16991
17088
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
16992
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
16993
17089
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
16994
|
-
|
|
16995
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17090
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
16996
17091
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
16997
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
17092
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17093
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17094
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17095
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17096
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17097
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17098
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17099
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17100
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
16998
17101
|
}) }),
|
|
16999
17102
|
execute: (input, { client }) => {
|
|
17000
17103
|
const data = input;
|
|
@@ -17100,13 +17203,6 @@ const generatedFocusOperations = [
|
|
|
17100
17203
|
},
|
|
17101
17204
|
mcp: { entityTool: "goals" },
|
|
17102
17205
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
17103
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
17104
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
17105
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17106
|
-
icon: /* @__PURE__ */ string$1(),
|
|
17107
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
17108
|
-
name: /* @__PURE__ */ string$1(),
|
|
17109
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17110
17206
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
17111
17207
|
"daily",
|
|
17112
17208
|
"weekly",
|
|
@@ -17114,12 +17210,19 @@ const generatedFocusOperations = [
|
|
|
17114
17210
|
"monthly"
|
|
17115
17211
|
]),
|
|
17116
17212
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
17117
|
-
|
|
17118
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
17119
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17120
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
17213
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
17121
17214
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17122
|
-
|
|
17215
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
17216
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17217
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
17218
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17219
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
17220
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
17221
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17222
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17223
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
17224
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
17225
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
17123
17226
|
}) }),
|
|
17124
17227
|
execute: (input, { client }) => {
|
|
17125
17228
|
const data = input;
|
|
@@ -17875,7 +17978,7 @@ const generatedFocusOperations = [
|
|
|
17875
17978
|
},
|
|
17876
17979
|
mcp: { entityTool: "projects" },
|
|
17877
17980
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
17878
|
-
attachment_id: /* @__PURE__ */
|
|
17981
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
17879
17982
|
payload: /* @__PURE__ */ looseObject({
|
|
17880
17983
|
display_order: /* @__PURE__ */ number$2(),
|
|
17881
17984
|
name: /* @__PURE__ */ string$1()
|
|
@@ -18086,9 +18189,17 @@ const generatedFocusOperations = [
|
|
|
18086
18189
|
mcp: { entityTool: "projects" },
|
|
18087
18190
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
18088
18191
|
payload: /* @__PURE__ */ looseObject({
|
|
18192
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18193
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
18089
18194
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18090
18195
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18091
18196
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
18197
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
18198
|
+
"expire",
|
|
18199
|
+
"carry_all",
|
|
18200
|
+
"carry_over"
|
|
18201
|
+
])),
|
|
18202
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
18092
18203
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
18093
18204
|
}),
|
|
18094
18205
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -18529,7 +18640,7 @@ const generatedFocusOperations = [
|
|
|
18529
18640
|
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18530
18641
|
creator_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
18531
18642
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
18532
|
-
group: /* @__PURE__ */
|
|
18643
|
+
group: /* @__PURE__ */ string$1(),
|
|
18533
18644
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18534
18645
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
18535
18646
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -18634,29 +18745,6 @@ const generatedFocusOperations = [
|
|
|
18634
18745
|
]));
|
|
18635
18746
|
}
|
|
18636
18747
|
},
|
|
18637
|
-
{
|
|
18638
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
18639
|
-
family: "focus",
|
|
18640
|
-
resource: "projects",
|
|
18641
|
-
action: "margin-targets-clear-workspace",
|
|
18642
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
18643
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
18644
|
-
safety: "delete",
|
|
18645
|
-
destructive: true,
|
|
18646
|
-
cli: {
|
|
18647
|
-
group: ["projects", "margin-targets"],
|
|
18648
|
-
command: "clear-workspace",
|
|
18649
|
-
interactive: "default"
|
|
18650
|
-
},
|
|
18651
|
-
mcp: { entityTool: "projects" },
|
|
18652
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
18653
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
18654
|
-
client.httpClient,
|
|
18655
|
-
client.organizationId,
|
|
18656
|
-
client.workspaceIdNumber,
|
|
18657
|
-
void 0
|
|
18658
|
-
]))
|
|
18659
|
-
},
|
|
18660
18748
|
{
|
|
18661
18749
|
id: "focus.projects.margin-targets-get",
|
|
18662
18750
|
family: "focus",
|
|
@@ -19262,13 +19350,13 @@ const generatedFocusOperations = [
|
|
|
19262
19350
|
cli: {
|
|
19263
19351
|
group: ["rates", "billable"],
|
|
19264
19352
|
command: "delete-project-billable-rate-range",
|
|
19265
|
-
interactive: "
|
|
19353
|
+
interactive: "default"
|
|
19266
19354
|
},
|
|
19267
19355
|
mcp: { entityTool: "rates" },
|
|
19268
19356
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19269
|
-
from: /* @__PURE__ */
|
|
19357
|
+
from: /* @__PURE__ */ string$1(),
|
|
19270
19358
|
project_id: /* @__PURE__ */ number$2(),
|
|
19271
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19359
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
19272
19360
|
}),
|
|
19273
19361
|
execute: (input, { client }) => {
|
|
19274
19362
|
const data = input;
|
|
@@ -19295,13 +19383,13 @@ const generatedFocusOperations = [
|
|
|
19295
19383
|
cli: {
|
|
19296
19384
|
group: ["rates", "billable"],
|
|
19297
19385
|
command: "delete-project-user-billable-rate-range",
|
|
19298
|
-
interactive: "
|
|
19386
|
+
interactive: "default"
|
|
19299
19387
|
},
|
|
19300
19388
|
mcp: { entityTool: "rates" },
|
|
19301
19389
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19302
|
-
from: /* @__PURE__ */
|
|
19390
|
+
from: /* @__PURE__ */ string$1(),
|
|
19303
19391
|
project_id: /* @__PURE__ */ number$2(),
|
|
19304
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19392
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19305
19393
|
user_id: /* @__PURE__ */ number$2()
|
|
19306
19394
|
}),
|
|
19307
19395
|
execute: (input, { client }) => {
|
|
@@ -19330,12 +19418,12 @@ const generatedFocusOperations = [
|
|
|
19330
19418
|
cli: {
|
|
19331
19419
|
group: ["rates", "billable"],
|
|
19332
19420
|
command: "delete-workspace-billable-rate-range",
|
|
19333
|
-
interactive: "
|
|
19421
|
+
interactive: "default"
|
|
19334
19422
|
},
|
|
19335
19423
|
mcp: { entityTool: "rates" },
|
|
19336
19424
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19337
|
-
from: /* @__PURE__ */
|
|
19338
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19425
|
+
from: /* @__PURE__ */ string$1(),
|
|
19426
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
19339
19427
|
}),
|
|
19340
19428
|
execute: (input, { client }) => {
|
|
19341
19429
|
const data = input;
|
|
@@ -19361,12 +19449,12 @@ const generatedFocusOperations = [
|
|
|
19361
19449
|
cli: {
|
|
19362
19450
|
group: ["rates", "billable"],
|
|
19363
19451
|
command: "delete-workspace-user-billable-rate-range",
|
|
19364
|
-
interactive: "
|
|
19452
|
+
interactive: "default"
|
|
19365
19453
|
},
|
|
19366
19454
|
mcp: { entityTool: "rates" },
|
|
19367
19455
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19368
|
-
from: /* @__PURE__ */
|
|
19369
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
19456
|
+
from: /* @__PURE__ */ string$1(),
|
|
19457
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
19370
19458
|
user_id: /* @__PURE__ */ number$2()
|
|
19371
19459
|
}),
|
|
19372
19460
|
execute: (input, { client }) => {
|
|
@@ -19797,13 +19885,13 @@ const generatedFocusOperations = [
|
|
|
19797
19885
|
cli: {
|
|
19798
19886
|
group: ["rates"],
|
|
19799
19887
|
command: "delete-project",
|
|
19800
|
-
interactive: "
|
|
19888
|
+
interactive: "default"
|
|
19801
19889
|
},
|
|
19802
19890
|
mcp: { entityTool: "rates" },
|
|
19803
19891
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19804
|
-
from: /* @__PURE__ */
|
|
19892
|
+
from: /* @__PURE__ */ string$1(),
|
|
19805
19893
|
project_id: /* @__PURE__ */ number$2(),
|
|
19806
|
-
to: /* @__PURE__ */
|
|
19894
|
+
to: /* @__PURE__ */ string$1()
|
|
19807
19895
|
}),
|
|
19808
19896
|
execute: (input, { client }) => {
|
|
19809
19897
|
const data = input;
|
|
@@ -20042,13 +20130,13 @@ const generatedFocusOperations = [
|
|
|
20042
20130
|
cli: {
|
|
20043
20131
|
group: ["rates", "labor"],
|
|
20044
20132
|
command: "delete-project-labor-cost-rate-range",
|
|
20045
|
-
interactive: "
|
|
20133
|
+
interactive: "default"
|
|
20046
20134
|
},
|
|
20047
20135
|
mcp: { entityTool: "rates" },
|
|
20048
20136
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20049
|
-
from: /* @__PURE__ */
|
|
20137
|
+
from: /* @__PURE__ */ string$1(),
|
|
20050
20138
|
project_id: /* @__PURE__ */ number$2(),
|
|
20051
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20139
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20052
20140
|
}),
|
|
20053
20141
|
execute: (input, { client }) => {
|
|
20054
20142
|
const data = input;
|
|
@@ -20075,13 +20163,13 @@ const generatedFocusOperations = [
|
|
|
20075
20163
|
cli: {
|
|
20076
20164
|
group: ["rates", "labor"],
|
|
20077
20165
|
command: "delete-project-user-labor-cost-rate-range",
|
|
20078
|
-
interactive: "
|
|
20166
|
+
interactive: "default"
|
|
20079
20167
|
},
|
|
20080
20168
|
mcp: { entityTool: "rates" },
|
|
20081
20169
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20082
|
-
from: /* @__PURE__ */
|
|
20170
|
+
from: /* @__PURE__ */ string$1(),
|
|
20083
20171
|
project_id: /* @__PURE__ */ number$2(),
|
|
20084
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20172
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20085
20173
|
user_id: /* @__PURE__ */ number$2()
|
|
20086
20174
|
}),
|
|
20087
20175
|
execute: (input, { client }) => {
|
|
@@ -20137,12 +20225,12 @@ const generatedFocusOperations = [
|
|
|
20137
20225
|
cli: {
|
|
20138
20226
|
group: ["rates", "labor"],
|
|
20139
20227
|
command: "delete-workspace-labor-cost-rate-range",
|
|
20140
|
-
interactive: "
|
|
20228
|
+
interactive: "default"
|
|
20141
20229
|
},
|
|
20142
20230
|
mcp: { entityTool: "rates" },
|
|
20143
20231
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20144
|
-
from: /* @__PURE__ */
|
|
20145
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20232
|
+
from: /* @__PURE__ */ string$1(),
|
|
20233
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
20146
20234
|
}),
|
|
20147
20235
|
execute: (input, { client }) => {
|
|
20148
20236
|
const data = input;
|
|
@@ -20168,12 +20256,12 @@ const generatedFocusOperations = [
|
|
|
20168
20256
|
cli: {
|
|
20169
20257
|
group: ["rates", "labor"],
|
|
20170
20258
|
command: "delete-workspace-user-labor-cost-rate-range",
|
|
20171
|
-
interactive: "
|
|
20259
|
+
interactive: "default"
|
|
20172
20260
|
},
|
|
20173
20261
|
mcp: { entityTool: "rates" },
|
|
20174
20262
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20175
|
-
from: /* @__PURE__ */
|
|
20176
|
-
to: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20263
|
+
from: /* @__PURE__ */ string$1(),
|
|
20264
|
+
to: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20177
20265
|
user_id: /* @__PURE__ */ number$2()
|
|
20178
20266
|
}),
|
|
20179
20267
|
execute: (input, { client }) => {
|
|
@@ -20801,7 +20889,7 @@ const generatedFocusOperations = [
|
|
|
20801
20889
|
},
|
|
20802
20890
|
mcp: { entityTool: "reports" },
|
|
20803
20891
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
20804
|
-
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20892
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
20805
20893
|
payload: /* @__PURE__ */ looseObject({
|
|
20806
20894
|
aggregation_filters: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
20807
20895
|
aggregation: /* @__PURE__ */ looseObject({
|
|
@@ -20849,8 +20937,12 @@ const generatedFocusOperations = [
|
|
|
20849
20937
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
20850
20938
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
20851
20939
|
}),
|
|
20852
|
-
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20853
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
20940
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
20941
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
20942
|
+
"csv",
|
|
20943
|
+
"xlsx",
|
|
20944
|
+
"pdf"
|
|
20945
|
+
]))
|
|
20854
20946
|
}),
|
|
20855
20947
|
execute: (input, { client }) => {
|
|
20856
20948
|
const data = input;
|
|
@@ -21000,7 +21092,11 @@ const generatedFocusOperations = [
|
|
|
21000
21092
|
chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
21001
21093
|
shared_report_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
21002
21094
|
}),
|
|
21003
|
-
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
21095
|
+
xTogglReportExport: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
21096
|
+
"csv",
|
|
21097
|
+
"xlsx",
|
|
21098
|
+
"pdf"
|
|
21099
|
+
]))
|
|
21004
21100
|
}),
|
|
21005
21101
|
execute: (input, { client }) => {
|
|
21006
21102
|
const data = input;
|
|
@@ -21025,10 +21121,10 @@ const generatedFocusOperations = [
|
|
|
21025
21121
|
cli: {
|
|
21026
21122
|
group: ["reportschedules"],
|
|
21027
21123
|
command: "delete-shared-report-schedule",
|
|
21028
|
-
interactive: "
|
|
21124
|
+
interactive: "default"
|
|
21029
21125
|
},
|
|
21030
21126
|
mcp: { entityTool: "reportschedules" },
|
|
21031
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21127
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21032
21128
|
execute: (input, { client }) => {
|
|
21033
21129
|
const data = input;
|
|
21034
21130
|
return client.runGeneratedRequest("deleteSharedReportSchedule", () => callGeneratedRequest(deleteSharedReportSchedule, [
|
|
@@ -21055,15 +21151,17 @@ const generatedFocusOperations = [
|
|
|
21055
21151
|
},
|
|
21056
21152
|
mcp: { entityTool: "reportschedules" },
|
|
21057
21153
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21058
|
-
id: /* @__PURE__ */
|
|
21154
|
+
id: /* @__PURE__ */ number$2(),
|
|
21059
21155
|
payload: /* @__PURE__ */ looseObject({
|
|
21060
21156
|
cadence: /* @__PURE__ */ picklist$1([
|
|
21061
21157
|
"daily",
|
|
21062
21158
|
"weekly",
|
|
21063
21159
|
"monthly"
|
|
21064
21160
|
]),
|
|
21161
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
21065
21162
|
time: /* @__PURE__ */ string$1(),
|
|
21066
21163
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21164
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
21067
21165
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21068
21166
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
21069
21167
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -21092,11 +21190,11 @@ const generatedFocusOperations = [
|
|
|
21092
21190
|
cli: {
|
|
21093
21191
|
group: ["reportschedules"],
|
|
21094
21192
|
command: "upsert-shared-report-schedule",
|
|
21095
|
-
interactive: "
|
|
21193
|
+
interactive: "default"
|
|
21096
21194
|
},
|
|
21097
21195
|
mcp: { entityTool: "reportschedules" },
|
|
21098
21196
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21099
|
-
id: /* @__PURE__ */
|
|
21197
|
+
id: /* @__PURE__ */ number$2(),
|
|
21100
21198
|
payload: /* @__PURE__ */ looseObject({
|
|
21101
21199
|
cadence: /* @__PURE__ */ picklist$1([
|
|
21102
21200
|
"daily",
|
|
@@ -21348,11 +21446,11 @@ const generatedFocusOperations = [
|
|
|
21348
21446
|
cli: {
|
|
21349
21447
|
group: ["sharedreports"],
|
|
21350
21448
|
command: "add-shared-report-grants",
|
|
21351
|
-
interactive: "
|
|
21449
|
+
interactive: "default"
|
|
21352
21450
|
},
|
|
21353
21451
|
mcp: { entityTool: "sharedreports" },
|
|
21354
21452
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21355
|
-
id: /* @__PURE__ */
|
|
21453
|
+
id: /* @__PURE__ */ number$2(),
|
|
21356
21454
|
payload: /* @__PURE__ */ looseObject({ grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
21357
21455
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
21358
21456
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -21382,10 +21480,10 @@ const generatedFocusOperations = [
|
|
|
21382
21480
|
cli: {
|
|
21383
21481
|
group: ["sharedreports"],
|
|
21384
21482
|
command: "get-saved-view-shared-report",
|
|
21385
|
-
interactive: "
|
|
21483
|
+
interactive: "available"
|
|
21386
21484
|
},
|
|
21387
21485
|
mcp: { entityTool: "sharedreports" },
|
|
21388
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21486
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21389
21487
|
execute: (input, { client }) => {
|
|
21390
21488
|
const data = input;
|
|
21391
21489
|
return client.runGeneratedRequest("getSavedViewSharedReport", () => callGeneratedRequest(getSavedViewSharedReport, [
|
|
@@ -21408,10 +21506,10 @@ const generatedFocusOperations = [
|
|
|
21408
21506
|
cli: {
|
|
21409
21507
|
group: ["sharedreports"],
|
|
21410
21508
|
command: "get-shared-report-for-viewer",
|
|
21411
|
-
interactive: "
|
|
21509
|
+
interactive: "available"
|
|
21412
21510
|
},
|
|
21413
21511
|
mcp: { entityTool: "sharedreports" },
|
|
21414
|
-
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */
|
|
21512
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
21415
21513
|
execute: (input, { client }) => {
|
|
21416
21514
|
const data = input;
|
|
21417
21515
|
return client.runGeneratedRequest("getSharedReportForViewer", () => callGeneratedRequest(getSharedReportForViewer, [
|
|
@@ -21478,12 +21576,12 @@ const generatedFocusOperations = [
|
|
|
21478
21576
|
cli: {
|
|
21479
21577
|
group: ["sharedreports"],
|
|
21480
21578
|
command: "revoke-shared-report-grant",
|
|
21481
|
-
interactive: "
|
|
21579
|
+
interactive: "default"
|
|
21482
21580
|
},
|
|
21483
21581
|
mcp: { entityTool: "sharedreports" },
|
|
21484
21582
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21485
21583
|
grant_id: /* @__PURE__ */ number$2(),
|
|
21486
|
-
id: /* @__PURE__ */
|
|
21584
|
+
id: /* @__PURE__ */ number$2()
|
|
21487
21585
|
}),
|
|
21488
21586
|
execute: (input, { client }) => {
|
|
21489
21587
|
const data = input;
|
|
@@ -21512,7 +21610,7 @@ const generatedFocusOperations = [
|
|
|
21512
21610
|
},
|
|
21513
21611
|
mcp: { entityTool: "sharedreports" },
|
|
21514
21612
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21515
|
-
id: /* @__PURE__ */
|
|
21613
|
+
id: /* @__PURE__ */ number$2(),
|
|
21516
21614
|
payload: /* @__PURE__ */ looseObject({
|
|
21517
21615
|
charts: /* @__PURE__ */ unknown$1(),
|
|
21518
21616
|
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -21548,7 +21646,7 @@ const generatedFocusOperations = [
|
|
|
21548
21646
|
},
|
|
21549
21647
|
mcp: { entityTool: "sharedreports" },
|
|
21550
21648
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
21551
|
-
id: /* @__PURE__ */
|
|
21649
|
+
id: /* @__PURE__ */ number$2(),
|
|
21552
21650
|
payload: /* @__PURE__ */ looseObject({
|
|
21553
21651
|
charts: /* @__PURE__ */ unknown$1(),
|
|
21554
21652
|
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
@@ -21941,10 +22039,10 @@ const generatedFocusOperations = [
|
|
|
21941
22039
|
cli: {
|
|
21942
22040
|
group: ["tags", "bulk"],
|
|
21943
22041
|
command: "delete",
|
|
21944
|
-
interactive: "
|
|
22042
|
+
interactive: "default"
|
|
21945
22043
|
},
|
|
21946
22044
|
mcp: { entityTool: "tags" },
|
|
21947
|
-
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */
|
|
22045
|
+
inputSchema: /* @__PURE__ */ looseObject({ ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }),
|
|
21948
22046
|
execute: (input, { client }) => {
|
|
21949
22047
|
const data = input;
|
|
21950
22048
|
return client.runGeneratedRequest("bulkDeleteTags", () => callGeneratedRequest(bulkDeleteTags, [
|
|
@@ -22348,7 +22446,7 @@ const generatedFocusOperations = [
|
|
|
22348
22446
|
},
|
|
22349
22447
|
mcp: { entityTool: "tasks" },
|
|
22350
22448
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22351
|
-
attachment_id: /* @__PURE__ */
|
|
22449
|
+
attachment_id: /* @__PURE__ */ string$1(),
|
|
22352
22450
|
payload: /* @__PURE__ */ looseObject({
|
|
22353
22451
|
display_order: /* @__PURE__ */ number$2(),
|
|
22354
22452
|
name: /* @__PURE__ */ string$1()
|
|
@@ -22612,6 +22710,37 @@ const generatedFocusOperations = [
|
|
|
22612
22710
|
return client.createTask(data);
|
|
22613
22711
|
}
|
|
22614
22712
|
},
|
|
22713
|
+
{
|
|
22714
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
22715
|
+
family: "focus",
|
|
22716
|
+
resource: "tasks",
|
|
22717
|
+
action: "create-recurring-occurrence",
|
|
22718
|
+
title: "Create Recurring Occurrence Tasks",
|
|
22719
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
22720
|
+
safety: "create",
|
|
22721
|
+
destructive: false,
|
|
22722
|
+
cli: {
|
|
22723
|
+
group: ["tasks"],
|
|
22724
|
+
command: "create-recurring-occurrence",
|
|
22725
|
+
interactive: "default"
|
|
22726
|
+
},
|
|
22727
|
+
mcp: { entityTool: "tasks" },
|
|
22728
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
22729
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
22730
|
+
task_id: /* @__PURE__ */ number$2()
|
|
22731
|
+
}),
|
|
22732
|
+
execute: (input, { client }) => {
|
|
22733
|
+
const data = input;
|
|
22734
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
22735
|
+
client.httpClient,
|
|
22736
|
+
client.organizationId,
|
|
22737
|
+
client.workspaceIdNumber,
|
|
22738
|
+
data.task_id,
|
|
22739
|
+
data.return_occurrence,
|
|
22740
|
+
void 0
|
|
22741
|
+
]));
|
|
22742
|
+
}
|
|
22743
|
+
},
|
|
22615
22744
|
{
|
|
22616
22745
|
id: "focus.tasks.delete",
|
|
22617
22746
|
family: "focus",
|
|
@@ -22676,11 +22805,11 @@ const generatedFocusOperations = [
|
|
|
22676
22805
|
cli: {
|
|
22677
22806
|
group: ["tasks", "estimate-allocations"],
|
|
22678
22807
|
command: "delete",
|
|
22679
|
-
interactive: "
|
|
22808
|
+
interactive: "default"
|
|
22680
22809
|
},
|
|
22681
22810
|
mcp: { entityTool: "tasks" },
|
|
22682
22811
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
22683
|
-
id: /* @__PURE__ */ optional$1(/* @__PURE__ */
|
|
22812
|
+
id: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
22684
22813
|
task_id: /* @__PURE__ */ number$2()
|
|
22685
22814
|
}),
|
|
22686
22815
|
execute: (input, { client }) => {
|
|
@@ -22859,9 +22988,13 @@ const generatedFocusOperations = [
|
|
|
22859
22988
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22860
22989
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22861
22990
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22991
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22992
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22862
22993
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22863
22994
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22995
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22864
22996
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22997
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22865
22998
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22866
22999
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
22867
23000
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -22913,7 +23046,9 @@ const generatedFocusOperations = [
|
|
|
22913
23046
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22914
23047
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22915
23048
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23049
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22916
23050
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23051
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22917
23052
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22918
23053
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22919
23054
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -22922,7 +23057,9 @@ const generatedFocusOperations = [
|
|
|
22922
23057
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22923
23058
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
22924
23059
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22925
23061
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22926
23063
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
22927
23064
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
22928
23065
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23052,12 +23189,18 @@ const generatedFocusOperations = [
|
|
|
23052
23189
|
end_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23053
23190
|
end_date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23054
23191
|
exclude_empty: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23055
|
-
group: /* @__PURE__ */
|
|
23192
|
+
group: /* @__PURE__ */ picklist$1([
|
|
23193
|
+
"projects",
|
|
23194
|
+
"users",
|
|
23195
|
+
"tags"
|
|
23196
|
+
]),
|
|
23056
23197
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23057
23198
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23058
23199
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23200
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23059
23201
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23060
23202
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23203
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23061
23204
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23062
23205
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23063
23206
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23066,6 +23209,8 @@ const generatedFocusOperations = [
|
|
|
23066
23209
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23067
23210
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23068
23211
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23212
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23213
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23069
23214
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23070
23215
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23071
23216
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23074,7 +23219,8 @@ const generatedFocusOperations = [
|
|
|
23074
23219
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
23075
23220
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23076
23221
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23077
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23222
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23223
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23078
23224
|
}),
|
|
23079
23225
|
execute: (input, { client }) => {
|
|
23080
23226
|
const data = input;
|
|
@@ -23116,13 +23262,17 @@ const generatedFocusOperations = [
|
|
|
23116
23262
|
group_id: /* @__PURE__ */ number$2(),
|
|
23117
23263
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
23118
23264
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
23265
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
23119
23266
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
23120
23267
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
23268
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23121
23269
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
23122
23270
|
name: /* @__PURE__ */ unknown$1(),
|
|
23123
23271
|
priority: /* @__PURE__ */ unknown$1(),
|
|
23124
23272
|
private_: /* @__PURE__ */ unknown$1(),
|
|
23125
23273
|
project_id: /* @__PURE__ */ number$2(),
|
|
23274
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
23275
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
23126
23276
|
source: /* @__PURE__ */ unknown$1(),
|
|
23127
23277
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
23128
23278
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -23131,7 +23281,8 @@ const generatedFocusOperations = [
|
|
|
23131
23281
|
tag_id: /* @__PURE__ */ number$2(),
|
|
23132
23282
|
team_id: /* @__PURE__ */ number$2(),
|
|
23133
23283
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
23134
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
23284
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
23285
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
23135
23286
|
}),
|
|
23136
23287
|
execute: (input, { client }) => {
|
|
23137
23288
|
const data = input;
|
|
@@ -23172,13 +23323,17 @@ const generatedFocusOperations = [
|
|
|
23172
23323
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23173
23324
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23174
23325
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23326
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23175
23327
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23176
23328
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23329
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23177
23330
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23178
23331
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23179
23332
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23180
23333
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23181
23334
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23335
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23336
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23182
23337
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23183
23338
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23184
23339
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -23187,7 +23342,8 @@ const generatedFocusOperations = [
|
|
|
23187
23342
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23188
23343
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23189
23344
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23190
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
23345
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23346
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23191
23347
|
}),
|
|
23192
23348
|
execute: (input, { client }) => {
|
|
23193
23349
|
const data = input;
|
|
@@ -23216,7 +23372,11 @@ const generatedFocusOperations = [
|
|
|
23216
23372
|
},
|
|
23217
23373
|
mcp: { entityTool: "tasks" },
|
|
23218
23374
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23219
|
-
group: /* @__PURE__ */
|
|
23375
|
+
group: /* @__PURE__ */ picklist$1([
|
|
23376
|
+
"projects",
|
|
23377
|
+
"users",
|
|
23378
|
+
"tags"
|
|
23379
|
+
]),
|
|
23220
23380
|
payload: /* @__PURE__ */ unknown$1()
|
|
23221
23381
|
}),
|
|
23222
23382
|
execute: (input, { client }) => {
|
|
@@ -23449,12 +23609,13 @@ const generatedFocusOperations = [
|
|
|
23449
23609
|
cli: {
|
|
23450
23610
|
group: ["tasks"],
|
|
23451
23611
|
command: "update-calendar-range",
|
|
23452
|
-
interactive: "
|
|
23612
|
+
interactive: "default"
|
|
23453
23613
|
},
|
|
23454
23614
|
mcp: { entityTool: "tasks" },
|
|
23455
23615
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23456
|
-
date_from: /* @__PURE__ */
|
|
23457
|
-
date_to: /* @__PURE__ */
|
|
23616
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
23617
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
23618
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
23458
23619
|
}),
|
|
23459
23620
|
execute: (input, { client }) => {
|
|
23460
23621
|
const data = input;
|
|
@@ -23464,6 +23625,7 @@ const generatedFocusOperations = [
|
|
|
23464
23625
|
client.workspaceIdNumber,
|
|
23465
23626
|
data.date_from,
|
|
23466
23627
|
data.date_to,
|
|
23628
|
+
data.skip_provider_refresh,
|
|
23467
23629
|
void 0
|
|
23468
23630
|
]));
|
|
23469
23631
|
}
|
|
@@ -24050,7 +24212,8 @@ const generatedFocusOperations = [
|
|
|
24050
24212
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
24051
24213
|
"project",
|
|
24052
24214
|
"task",
|
|
24053
|
-
"description"
|
|
24215
|
+
"description",
|
|
24216
|
+
"tags"
|
|
24054
24217
|
]) })),
|
|
24055
24218
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24056
24219
|
}) }),
|
|
@@ -24080,6 +24243,7 @@ const generatedFocusOperations = [
|
|
|
24080
24243
|
},
|
|
24081
24244
|
mcp: { entityTool: "time-entries" },
|
|
24082
24245
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24246
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24083
24247
|
payload: /* @__PURE__ */ looseObject({
|
|
24084
24248
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24085
24249
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -24090,11 +24254,13 @@ const generatedFocusOperations = [
|
|
|
24090
24254
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24091
24255
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24092
24256
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24257
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24093
24258
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24094
24259
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24095
24260
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24096
24261
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24097
24262
|
}),
|
|
24263
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24098
24264
|
task_id: /* @__PURE__ */ number$2()
|
|
24099
24265
|
}),
|
|
24100
24266
|
execute: (input, { client }) => {
|
|
@@ -24105,6 +24271,8 @@ const generatedFocusOperations = [
|
|
|
24105
24271
|
client.workspaceIdNumber,
|
|
24106
24272
|
data.task_id,
|
|
24107
24273
|
data.payload ?? data.data ?? data,
|
|
24274
|
+
data.from_recurring_task_id,
|
|
24275
|
+
data.return_occurrence,
|
|
24108
24276
|
void 0
|
|
24109
24277
|
]));
|
|
24110
24278
|
}
|
|
@@ -24124,21 +24292,26 @@ const generatedFocusOperations = [
|
|
|
24124
24292
|
interactive: "default"
|
|
24125
24293
|
},
|
|
24126
24294
|
mcp: { entityTool: "time-entries" },
|
|
24127
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24131
|
-
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24295
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24296
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24297
|
+
payload: /* @__PURE__ */ looseObject({
|
|
24298
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
24299
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24300
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24301
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24302
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24303
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24304
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24305
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
24306
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24307
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24308
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24309
|
+
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24310
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
24311
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
24312
|
+
}),
|
|
24313
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
24314
|
+
}),
|
|
24142
24315
|
execute: (input, { client }) => {
|
|
24143
24316
|
const data = input;
|
|
24144
24317
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -24146,6 +24319,8 @@ const generatedFocusOperations = [
|
|
|
24146
24319
|
client.organizationId,
|
|
24147
24320
|
client.workspaceIdNumber,
|
|
24148
24321
|
data.payload ?? data.data ?? data,
|
|
24322
|
+
data.from_recurring_task_id,
|
|
24323
|
+
data.return_occurrence,
|
|
24149
24324
|
void 0
|
|
24150
24325
|
]));
|
|
24151
24326
|
}
|
|
@@ -24165,7 +24340,11 @@ const generatedFocusOperations = [
|
|
|
24165
24340
|
interactive: "default"
|
|
24166
24341
|
},
|
|
24167
24342
|
mcp: { entityTool: "time-entries" },
|
|
24168
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
24343
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
24344
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24345
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24346
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
24347
|
+
}),
|
|
24169
24348
|
execute: (input, { client }) => {
|
|
24170
24349
|
const data = input;
|
|
24171
24350
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -24173,6 +24352,8 @@ const generatedFocusOperations = [
|
|
|
24173
24352
|
client.organizationId,
|
|
24174
24353
|
client.workspaceIdNumber,
|
|
24175
24354
|
data.time_entry_id,
|
|
24355
|
+
data.from_recurring_task_id,
|
|
24356
|
+
data.return_occurrence,
|
|
24176
24357
|
void 0
|
|
24177
24358
|
]));
|
|
24178
24359
|
}
|
|
@@ -24253,6 +24434,7 @@ const generatedFocusOperations = [
|
|
|
24253
24434
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
24254
24435
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
24255
24436
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
24437
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
24256
24438
|
status_id: /* @__PURE__ */ number$2(),
|
|
24257
24439
|
task_id: /* @__PURE__ */ number$2(),
|
|
24258
24440
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -24429,12 +24611,14 @@ const generatedFocusOperations = [
|
|
|
24429
24611
|
},
|
|
24430
24612
|
mcp: { entityTool: "time-entries" },
|
|
24431
24613
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24614
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24432
24615
|
payload: /* @__PURE__ */ looseObject({
|
|
24433
24616
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24434
24617
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24435
24618
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24436
24619
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
24437
24620
|
}),
|
|
24621
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24438
24622
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24439
24623
|
}),
|
|
24440
24624
|
execute: (input, { client }) => {
|
|
@@ -24445,6 +24629,8 @@ const generatedFocusOperations = [
|
|
|
24445
24629
|
client.workspaceIdNumber,
|
|
24446
24630
|
data.time_entry_id,
|
|
24447
24631
|
data.payload ?? data.data ?? data,
|
|
24632
|
+
data.from_recurring_task_id,
|
|
24633
|
+
data.return_occurrence,
|
|
24448
24634
|
void 0
|
|
24449
24635
|
]));
|
|
24450
24636
|
}
|
|
@@ -24561,11 +24747,11 @@ const generatedFocusOperations = [
|
|
|
24561
24747
|
cli: {
|
|
24562
24748
|
group: ["time-entries"],
|
|
24563
24749
|
command: "sync",
|
|
24564
|
-
interactive: "
|
|
24750
|
+
interactive: "default"
|
|
24565
24751
|
},
|
|
24566
24752
|
mcp: { entityTool: "time-entries" },
|
|
24567
24753
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24568
|
-
client_uuid: /* @__PURE__ */
|
|
24754
|
+
client_uuid: /* @__PURE__ */ string$1(),
|
|
24569
24755
|
payload: /* @__PURE__ */ looseObject({
|
|
24570
24756
|
billable_source: /* @__PURE__ */ picklist$1(["manual", "task_default"]),
|
|
24571
24757
|
client_updated_at: apiDateTimeString,
|
|
@@ -24702,6 +24888,7 @@ const generatedFocusOperations = [
|
|
|
24702
24888
|
},
|
|
24703
24889
|
mcp: { entityTool: "time-entries" },
|
|
24704
24890
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
24891
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24705
24892
|
payload: /* @__PURE__ */ looseObject({
|
|
24706
24893
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
24707
24894
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -24714,6 +24901,7 @@ const generatedFocusOperations = [
|
|
|
24714
24901
|
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
24715
24902
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
24716
24903
|
}),
|
|
24904
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
24717
24905
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
24718
24906
|
}),
|
|
24719
24907
|
execute: (input, { client }) => {
|
|
@@ -24724,6 +24912,8 @@ const generatedFocusOperations = [
|
|
|
24724
24912
|
client.workspaceIdNumber,
|
|
24725
24913
|
data.time_entry_id,
|
|
24726
24914
|
data.payload ?? data.data ?? data,
|
|
24915
|
+
data.from_recurring_task_id,
|
|
24916
|
+
data.return_occurrence,
|
|
24727
24917
|
void 0
|
|
24728
24918
|
]));
|
|
24729
24919
|
}
|
|
@@ -25870,6 +26060,9 @@ const generatedFocusOperations = [
|
|
|
25870
26060
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25871
26061
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25872
26062
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26063
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26064
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
26065
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25873
26066
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25874
26067
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
25875
26068
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -27916,4 +28109,4 @@ Common commands:
|
|
|
27916
28109
|
//#endregion
|
|
27917
28110
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
27918
28111
|
|
|
27919
|
-
//# sourceMappingURL=program-
|
|
28112
|
+
//# sourceMappingURL=program-Bl7GS_uC.js.map
|