@togglhq/mcp 1.11.69 → 1.11.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +2 -2
- package/build/index.js +1 -1
- package/build/{src-C40qQeNj.js → src-BAnNc8Xd.js} +1148 -843
- package/package.json +1 -1
|
@@ -32773,10 +32773,6 @@ function _joinExpects$1(values$1, separator) {
|
|
|
32773
32773
|
*/
|
|
32774
32774
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
32775
32775
|
/**
|
|
32776
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
32777
|
-
*/
|
|
32778
|
-
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
32779
|
-
/**
|
|
32780
32776
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
32781
32777
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
32782
32778
|
*/
|
|
@@ -32830,22 +32826,6 @@ function isoDate$1(message$1) {
|
|
|
32830
32826
|
};
|
|
32831
32827
|
}
|
|
32832
32828
|
/* @__NO_SIDE_EFFECTS__ */
|
|
32833
|
-
function isoDateTime$1(message$1) {
|
|
32834
|
-
return {
|
|
32835
|
-
kind: "validation",
|
|
32836
|
-
type: "iso_date_time",
|
|
32837
|
-
reference: isoDateTime$1,
|
|
32838
|
-
async: false,
|
|
32839
|
-
expects: null,
|
|
32840
|
-
requirement: ISO_DATE_TIME_REGEX$1,
|
|
32841
|
-
message: message$1,
|
|
32842
|
-
"~run"(dataset, config$1) {
|
|
32843
|
-
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
32844
|
-
return dataset;
|
|
32845
|
-
}
|
|
32846
|
-
};
|
|
32847
|
-
}
|
|
32848
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
32849
32829
|
function isoTimestamp(message$1) {
|
|
32850
32830
|
return {
|
|
32851
32831
|
kind: "validation",
|
|
@@ -34683,6 +34663,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34683
34663
|
name: /* @__PURE__ */ string(),
|
|
34684
34664
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34685
34665
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34666
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34686
34667
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34687
34668
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34688
34669
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34769,6 +34750,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34769
34750
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34770
34751
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34771
34752
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34753
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34772
34754
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34773
34755
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34774
34756
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34830,6 +34812,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34830
34812
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34831
34813
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34832
34814
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34815
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34833
34816
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34834
34817
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34835
34818
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34990,6 +34973,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34990
34973
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34991
34974
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34992
34975
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34976
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
34977
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
34993
34978
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34994
34979
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34995
34980
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35075,8 +35060,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35075
35060
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35076
35061
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35077
35062
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35063
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35078
35064
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35079
35065
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35066
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35080
35067
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35081
35068
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35082
35069
|
rollover_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RolloverMins is the cumulative under/over budget carried into this instance from earlier instances in its recurring chain, in minutes. Positive = surplus (prior periods went under estimate, time carries forward); negative = debt (prior periods went over). Only populated for recurring instances; nil for templates and standalone projects. See service.HydrateRollover for the per-instance contribution rules driven by RolloverMode (expire / carry_over / carry_all)."))),
|
|
@@ -35132,6 +35119,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35132
35119
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35133
35120
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35134
35121
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35122
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
35123
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
35135
35124
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35136
35125
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35137
35126
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35304,8 +35293,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35304
35293
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35305
35294
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35306
35295
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35307
|
-
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35308
|
-
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35309
35296
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35310
35297
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35311
35298
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35362,6 +35349,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35362
35349
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35363
35350
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35364
35351
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35352
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35365
35353
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35366
35354
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35367
35355
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35398,6 +35386,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35398
35386
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35399
35387
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35400
35388
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35389
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35401
35390
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35402
35391
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35403
35392
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35418,7 +35407,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35418
35407
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35419
35408
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35420
35409
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35421
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35422
35410
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35423
35411
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35424
35412
|
});
|
|
@@ -35447,8 +35435,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35447
35435
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35448
35436
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35449
35437
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35450
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35451
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35438
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35452
35439
|
});
|
|
35453
35440
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35454
35441
|
//#endregion
|
|
@@ -37322,7 +37309,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37322
37309
|
})
|
|
37323
37310
|
}).json();
|
|
37324
37311
|
}
|
|
37325
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37312
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37326
37313
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37327
37314
|
signal,
|
|
37328
37315
|
searchParams: buildSearchParams$2({
|
|
@@ -37343,6 +37330,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37343
37330
|
include_rates,
|
|
37344
37331
|
pinned_ids,
|
|
37345
37332
|
has_group,
|
|
37333
|
+
track_without_focus,
|
|
37346
37334
|
cf_filter,
|
|
37347
37335
|
include_custom_fields,
|
|
37348
37336
|
include_calendar_integration
|
|
@@ -37444,10 +37432,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37444
37432
|
}
|
|
37445
37433
|
//#endregion
|
|
37446
37434
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37447
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37435
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
37448
37436
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37449
37437
|
signal,
|
|
37450
37438
|
searchParams: buildSearchParams$2({
|
|
37439
|
+
include_task_counts,
|
|
37440
|
+
include_picker_parent_group_counts,
|
|
37441
|
+
task_archived,
|
|
37442
|
+
task_recurring,
|
|
37443
|
+
task_state,
|
|
37444
|
+
task_source,
|
|
37445
|
+
task_assignee_user_id,
|
|
37446
|
+
task_assignee_team_id,
|
|
37447
|
+
task_include_unassigned,
|
|
37448
|
+
task_name,
|
|
37451
37449
|
page,
|
|
37452
37450
|
per_page,
|
|
37453
37451
|
order_by,
|
|
@@ -37697,7 +37695,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37697
37695
|
}
|
|
37698
37696
|
//#endregion
|
|
37699
37697
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37700
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries,
|
|
37698
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37701
37699
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37702
37700
|
signal,
|
|
37703
37701
|
searchParams: buildSearchParams$2({
|
|
@@ -37710,7 +37708,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37710
37708
|
toggl_user_id,
|
|
37711
37709
|
name,
|
|
37712
37710
|
has_time_entries,
|
|
37713
|
-
has_time_blocks,
|
|
37714
37711
|
has_dates,
|
|
37715
37712
|
private: private_,
|
|
37716
37713
|
archived,
|
|
@@ -37733,10 +37730,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37733
37730
|
priority,
|
|
37734
37731
|
is_priority,
|
|
37735
37732
|
state,
|
|
37736
|
-
timeblock_start_from,
|
|
37737
|
-
timeblock_start_until,
|
|
37738
|
-
time_block_id,
|
|
37739
|
-
time_block_completed,
|
|
37740
37733
|
team_id,
|
|
37741
37734
|
assignee_team_id,
|
|
37742
37735
|
assignee_user_id,
|
|
@@ -37748,7 +37741,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37748
37741
|
include_assignees,
|
|
37749
37742
|
include_parent_matches,
|
|
37750
37743
|
disable_aggregations,
|
|
37751
|
-
cf_filter
|
|
37744
|
+
cf_filter,
|
|
37745
|
+
recurring_occurrences_after,
|
|
37746
|
+
max_recurring_occurrences_after,
|
|
37747
|
+
recurring_task_read,
|
|
37748
|
+
include_projected_occurrences
|
|
37752
37749
|
})
|
|
37753
37750
|
}).json();
|
|
37754
37751
|
}
|
|
@@ -37823,16 +37820,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37823
37820
|
})
|
|
37824
37821
|
}).json();
|
|
37825
37822
|
}
|
|
37826
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37823
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37827
37824
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37828
37825
|
signal,
|
|
37829
37826
|
searchParams: buildSearchParams$2({
|
|
37830
37827
|
date_from,
|
|
37831
|
-
date_to
|
|
37828
|
+
date_to,
|
|
37829
|
+
skip_provider_refresh
|
|
37830
|
+
})
|
|
37831
|
+
}).json();
|
|
37832
|
+
}
|
|
37833
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37834
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37835
|
+
signal,
|
|
37836
|
+
searchParams: buildSearchParams$2({
|
|
37837
|
+
project_id,
|
|
37838
|
+
without_project,
|
|
37839
|
+
pinned_only,
|
|
37840
|
+
include_unassigned,
|
|
37841
|
+
search,
|
|
37842
|
+
only_me,
|
|
37843
|
+
page,
|
|
37844
|
+
per_page
|
|
37845
|
+
})
|
|
37846
|
+
}).json();
|
|
37847
|
+
}
|
|
37848
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37849
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37850
|
+
signal,
|
|
37851
|
+
searchParams: buildSearchParams$2({
|
|
37852
|
+
project_id,
|
|
37853
|
+
without_project,
|
|
37854
|
+
include_unassigned,
|
|
37855
|
+
search,
|
|
37856
|
+
only_me,
|
|
37857
|
+
page,
|
|
37858
|
+
per_page
|
|
37832
37859
|
})
|
|
37833
37860
|
}).json();
|
|
37834
37861
|
}
|
|
37835
|
-
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees } = {}, signal) {
|
|
37862
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37836
37863
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37837
37864
|
signal,
|
|
37838
37865
|
searchParams: buildSearchParams$2({
|
|
@@ -37848,11 +37875,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37848
37875
|
assignee_team_id,
|
|
37849
37876
|
assignee_user_id,
|
|
37850
37877
|
tag_id,
|
|
37851
|
-
include_assignees
|
|
37878
|
+
include_assignees,
|
|
37879
|
+
recurring_occurrences_after,
|
|
37880
|
+
max_recurring_occurrences_after,
|
|
37881
|
+
recurring_task_read,
|
|
37882
|
+
include_projected_occurrences
|
|
37852
37883
|
})
|
|
37853
37884
|
}).json();
|
|
37854
37885
|
}
|
|
37855
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries,
|
|
37886
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37856
37887
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37857
37888
|
signal,
|
|
37858
37889
|
searchParams: buildSearchParams$2({
|
|
@@ -37864,7 +37895,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37864
37895
|
name,
|
|
37865
37896
|
include_parent_matches,
|
|
37866
37897
|
has_time_entries,
|
|
37867
|
-
has_time_blocks,
|
|
37868
37898
|
has_dates,
|
|
37869
37899
|
private: private_,
|
|
37870
37900
|
archived,
|
|
@@ -37887,8 +37917,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37887
37917
|
priority,
|
|
37888
37918
|
is_priority,
|
|
37889
37919
|
state,
|
|
37890
|
-
time_block_id,
|
|
37891
|
-
time_block_completed,
|
|
37892
37920
|
team_id,
|
|
37893
37921
|
assignee_team_id,
|
|
37894
37922
|
assignee_user_id,
|
|
@@ -37897,7 +37925,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37897
37925
|
recurring_task_ids,
|
|
37898
37926
|
client_id,
|
|
37899
37927
|
include_assignees,
|
|
37900
|
-
cf_filter
|
|
37928
|
+
cf_filter,
|
|
37929
|
+
recurring_occurrences_after,
|
|
37930
|
+
max_recurring_occurrences_after,
|
|
37931
|
+
recurring_task_read,
|
|
37932
|
+
include_projected_occurrences
|
|
37901
37933
|
})
|
|
37902
37934
|
}).json();
|
|
37903
37935
|
}
|
|
@@ -37952,6 +37984,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37952
37984
|
})
|
|
37953
37985
|
}).json();
|
|
37954
37986
|
}
|
|
37987
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
37988
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
37989
|
+
signal,
|
|
37990
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
37991
|
+
}).json();
|
|
37992
|
+
}
|
|
37955
37993
|
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) {
|
|
37956
37994
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37957
37995
|
signal,
|
|
@@ -37977,7 +38015,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
37977
38015
|
}
|
|
37978
38016
|
//#endregion
|
|
37979
38017
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
37980
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
38018
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37981
38019
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37982
38020
|
signal,
|
|
37983
38021
|
searchParams: buildSearchParams$2({
|
|
@@ -37985,21 +38023,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
37985
38023
|
per_page,
|
|
37986
38024
|
order_by,
|
|
37987
38025
|
type,
|
|
37988
|
-
archived
|
|
37989
|
-
time_block_id
|
|
38026
|
+
archived
|
|
37990
38027
|
})
|
|
37991
38028
|
}).json();
|
|
37992
38029
|
}
|
|
37993
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38030
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37994
38031
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37995
38032
|
signal,
|
|
37996
|
-
json: data
|
|
38033
|
+
json: data,
|
|
38034
|
+
searchParams: buildSearchParams$2({
|
|
38035
|
+
from_recurring_task_id,
|
|
38036
|
+
return_occurrence
|
|
38037
|
+
})
|
|
37997
38038
|
}).json();
|
|
37998
38039
|
}
|
|
37999
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38040
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38000
38041
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
38001
38042
|
signal,
|
|
38002
|
-
json: data
|
|
38043
|
+
json: data,
|
|
38044
|
+
searchParams: buildSearchParams$2({
|
|
38045
|
+
from_recurring_task_id,
|
|
38046
|
+
return_occurrence
|
|
38047
|
+
})
|
|
38003
38048
|
}).json();
|
|
38004
38049
|
}
|
|
38005
38050
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38050,7 +38095,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38050
38095
|
json: data
|
|
38051
38096
|
}).json();
|
|
38052
38097
|
}
|
|
38053
|
-
async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, order_by, archived, include_taskless, expand_calendar_event }, signal) {
|
|
38098
|
+
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) {
|
|
38054
38099
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38055
38100
|
signal,
|
|
38056
38101
|
searchParams: buildSearchParams$2({
|
|
@@ -38058,6 +38103,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38058
38103
|
date_to,
|
|
38059
38104
|
task_id,
|
|
38060
38105
|
status_id,
|
|
38106
|
+
project_id,
|
|
38061
38107
|
type,
|
|
38062
38108
|
order_by,
|
|
38063
38109
|
archived,
|
|
@@ -38072,28 +38118,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38072
38118
|
json: data
|
|
38073
38119
|
}).json();
|
|
38074
38120
|
}
|
|
38075
|
-
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38076
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38077
|
-
signal,
|
|
38078
|
-
searchParams: buildSearchParams$2({ time_block_id })
|
|
38079
|
-
}).json();
|
|
38080
|
-
}
|
|
38081
38121
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38082
38122
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38083
38123
|
}
|
|
38084
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38124
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38085
38125
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38086
38126
|
signal,
|
|
38087
|
-
json: data
|
|
38127
|
+
json: data,
|
|
38128
|
+
searchParams: buildSearchParams$2({
|
|
38129
|
+
from_recurring_task_id,
|
|
38130
|
+
return_occurrence
|
|
38131
|
+
})
|
|
38088
38132
|
}).json();
|
|
38089
38133
|
}
|
|
38090
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38091
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38134
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38135
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38136
|
+
signal,
|
|
38137
|
+
searchParams: buildSearchParams$2({
|
|
38138
|
+
from_recurring_task_id,
|
|
38139
|
+
return_occurrence
|
|
38140
|
+
})
|
|
38141
|
+
}).json();
|
|
38092
38142
|
}
|
|
38093
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38143
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38094
38144
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38095
38145
|
signal,
|
|
38096
|
-
json: data
|
|
38146
|
+
json: data,
|
|
38147
|
+
searchParams: buildSearchParams$2({
|
|
38148
|
+
from_recurring_task_id,
|
|
38149
|
+
return_occurrence
|
|
38150
|
+
})
|
|
38097
38151
|
}).json();
|
|
38098
38152
|
}
|
|
38099
38153
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38208,7 +38262,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38208
38262
|
]))
|
|
38209
38263
|
});
|
|
38210
38264
|
//#endregion
|
|
38211
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38265
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38212
38266
|
async function getInvitations(httpClient, signal) {
|
|
38213
38267
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38214
38268
|
}
|
|
@@ -38225,7 +38279,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38225
38279
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38226
38280
|
}
|
|
38227
38281
|
//#endregion
|
|
38228
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38282
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38229
38283
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38230
38284
|
const searchParams = new URLSearchParams();
|
|
38231
38285
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38237,7 +38291,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38237
38291
|
return searchParams;
|
|
38238
38292
|
}
|
|
38239
38293
|
//#endregion
|
|
38240
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38294
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38241
38295
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38242
38296
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38243
38297
|
}
|
|
@@ -38251,7 +38305,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38251
38305
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38252
38306
|
}
|
|
38253
38307
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38308
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38255
38309
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38256
38310
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38257
38311
|
}
|
|
@@ -38271,7 +38325,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38271
38325
|
});
|
|
38272
38326
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38273
38327
|
//#endregion
|
|
38274
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38328
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38275
38329
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38276
38330
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38277
38331
|
signal,
|
|
@@ -38282,12 +38336,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38282
38336
|
})).json();
|
|
38283
38337
|
}
|
|
38284
38338
|
//#endregion
|
|
38285
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38339
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38286
38340
|
async function getStatus(httpClient, signal) {
|
|
38287
38341
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38288
38342
|
}
|
|
38289
38343
|
//#endregion
|
|
38290
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38344
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38291
38345
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38292
38346
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38293
38347
|
signal,
|
|
@@ -38315,7 +38369,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38315
38369
|
return response.json();
|
|
38316
38370
|
}
|
|
38317
38371
|
//#endregion
|
|
38318
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38372
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.66_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_9a0ba75643a0d2637ccb8edbb16e24ff/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38319
38373
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38320
38374
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38321
38375
|
}
|
|
@@ -41805,13 +41859,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41805
41859
|
}
|
|
41806
41860
|
//#endregion
|
|
41807
41861
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41808
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41862
|
+
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41809
41863
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41810
41864
|
signal,
|
|
41811
41865
|
searchParams: buildSearchParams$2({
|
|
41812
41866
|
workspace_id,
|
|
41813
41867
|
entity_type,
|
|
41814
41868
|
entity_id,
|
|
41869
|
+
project_id,
|
|
41870
|
+
custom_field_id,
|
|
41815
41871
|
action,
|
|
41816
41872
|
user_id,
|
|
41817
41873
|
page_size,
|
|
@@ -41820,12 +41876,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41820
41876
|
})
|
|
41821
41877
|
}).json();
|
|
41822
41878
|
}
|
|
41823
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41879
|
+
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, project_id, custom_field_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41824
41880
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41825
41881
|
signal,
|
|
41826
41882
|
searchParams: buildSearchParams$2({
|
|
41827
41883
|
entity_type,
|
|
41828
41884
|
entity_id,
|
|
41885
|
+
project_id,
|
|
41886
|
+
custom_field_id,
|
|
41829
41887
|
action,
|
|
41830
41888
|
user_id,
|
|
41831
41889
|
page_size,
|
|
@@ -41978,13 +42036,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
41978
42036
|
}
|
|
41979
42037
|
//#endregion
|
|
41980
42038
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
41981
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42039
|
+
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) {
|
|
41982
42040
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
41983
42041
|
signal,
|
|
41984
42042
|
searchParams: buildSearchParams$2({
|
|
41985
|
-
user_id,
|
|
41986
42043
|
start_date,
|
|
41987
42044
|
end_date,
|
|
42045
|
+
user_id,
|
|
42046
|
+
team_id,
|
|
41988
42047
|
private: private_,
|
|
41989
42048
|
task_source,
|
|
41990
42049
|
unit,
|
|
@@ -42044,6 +42103,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42044
42103
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42045
42104
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42046
42105
|
}
|
|
42106
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42107
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42108
|
+
}
|
|
42109
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42110
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42111
|
+
signal,
|
|
42112
|
+
json: data
|
|
42113
|
+
}).json();
|
|
42114
|
+
}
|
|
42047
42115
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42048
42116
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42049
42117
|
signal,
|
|
@@ -42307,7 +42375,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42307
42375
|
}
|
|
42308
42376
|
//#endregion
|
|
42309
42377
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42310
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, cf_filter } = {}, signal) {
|
|
42378
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, assignee_user_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
42311
42379
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42312
42380
|
signal,
|
|
42313
42381
|
searchParams: buildSearchParams$2({
|
|
@@ -42333,6 +42401,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42333
42401
|
user_id,
|
|
42334
42402
|
only_me,
|
|
42335
42403
|
include_drafts,
|
|
42404
|
+
include_recurring_series,
|
|
42336
42405
|
cf_filter
|
|
42337
42406
|
})
|
|
42338
42407
|
}).json();
|
|
@@ -42351,9 +42420,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42351
42420
|
json: data
|
|
42352
42421
|
}).json();
|
|
42353
42422
|
}
|
|
42354
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42355
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42356
|
-
}
|
|
42357
42423
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42358
42424
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42359
42425
|
}
|
|
@@ -42379,6 +42445,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42379
42445
|
}).json();
|
|
42380
42446
|
}
|
|
42381
42447
|
//#endregion
|
|
42448
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42449
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42450
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42451
|
+
}
|
|
42452
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42453
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42454
|
+
signal,
|
|
42455
|
+
json: data,
|
|
42456
|
+
searchParams: buildSearchParams$2({
|
|
42457
|
+
response_format,
|
|
42458
|
+
include_dicts
|
|
42459
|
+
})
|
|
42460
|
+
}).json();
|
|
42461
|
+
}
|
|
42462
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42463
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
42464
|
+
signal,
|
|
42465
|
+
json: data,
|
|
42466
|
+
searchParams: buildSearchParams$2({
|
|
42467
|
+
response_format,
|
|
42468
|
+
include_dicts
|
|
42469
|
+
})
|
|
42470
|
+
}).json();
|
|
42471
|
+
}
|
|
42472
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42473
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
42474
|
+
signal,
|
|
42475
|
+
json: data
|
|
42476
|
+
}).json();
|
|
42477
|
+
}
|
|
42478
|
+
//#endregion
|
|
42382
42479
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42383
42480
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42384
42481
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42540,7 +42637,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42540
42637
|
}
|
|
42541
42638
|
//#endregion
|
|
42542
42639
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42543
|
-
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42640
|
+
async function search(httpClient, organization_id, workspace_id, { keyword, per_group, assignee_user_id, assignee_team_id, include_unassigned, project_id, task_id, include_drafts, exclude_calendar_events, group_by_tags, only_me }, signal) {
|
|
42544
42641
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42545
42642
|
signal,
|
|
42546
42643
|
searchParams: buildSearchParams$2({
|
|
@@ -42548,6 +42645,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42548
42645
|
per_group,
|
|
42549
42646
|
assignee_user_id,
|
|
42550
42647
|
assignee_team_id,
|
|
42648
|
+
include_unassigned,
|
|
42551
42649
|
project_id,
|
|
42552
42650
|
task_id,
|
|
42553
42651
|
include_drafts,
|
|
@@ -42592,6 +42690,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42592
42690
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42593
42691
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42594
42692
|
}
|
|
42693
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42694
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42695
|
+
}
|
|
42696
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42697
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42698
|
+
}
|
|
42699
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42700
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42701
|
+
signal,
|
|
42702
|
+
json: data
|
|
42703
|
+
}).json();
|
|
42704
|
+
}
|
|
42595
42705
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42596
42706
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42597
42707
|
signal,
|
|
@@ -42601,6 +42711,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42601
42711
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42602
42712
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42603
42713
|
}
|
|
42714
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42715
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42716
|
+
signal,
|
|
42717
|
+
json: data
|
|
42718
|
+
}).json();
|
|
42719
|
+
}
|
|
42720
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42721
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42722
|
+
}
|
|
42723
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42724
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42725
|
+
signal,
|
|
42726
|
+
json: data
|
|
42727
|
+
}).json();
|
|
42728
|
+
}
|
|
42604
42729
|
//#endregion
|
|
42605
42730
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42606
42731
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42657,9 +42782,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42657
42782
|
}
|
|
42658
42783
|
//#endregion
|
|
42659
42784
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42660
|
-
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) {
|
|
42785
|
+
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) {
|
|
42661
42786
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42662
42787
|
signal,
|
|
42788
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42663
42789
|
searchParams: buildSearchParams$2({
|
|
42664
42790
|
project_id,
|
|
42665
42791
|
source,
|
|
@@ -42688,13 +42814,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42688
42814
|
min_days,
|
|
42689
42815
|
include_drafts,
|
|
42690
42816
|
cf_filter,
|
|
42691
|
-
user_cf_filter
|
|
42817
|
+
user_cf_filter,
|
|
42818
|
+
recurring_occurrences_after,
|
|
42819
|
+
max_recurring_occurrences_after,
|
|
42820
|
+
recurring_task_read,
|
|
42821
|
+
include_projected_occurrences
|
|
42692
42822
|
})
|
|
42693
42823
|
}).json();
|
|
42694
42824
|
}
|
|
42695
|
-
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) {
|
|
42825
|
+
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) {
|
|
42696
42826
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42697
42827
|
signal,
|
|
42828
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42698
42829
|
searchParams: buildSearchParams$2({
|
|
42699
42830
|
team_id,
|
|
42700
42831
|
project_id,
|
|
@@ -42723,13 +42854,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42723
42854
|
min_days,
|
|
42724
42855
|
include_drafts,
|
|
42725
42856
|
cf_filter,
|
|
42726
|
-
user_cf_filter
|
|
42857
|
+
user_cf_filter,
|
|
42858
|
+
recurring_occurrences_after,
|
|
42859
|
+
max_recurring_occurrences_after,
|
|
42860
|
+
recurring_task_read,
|
|
42861
|
+
include_projected_occurrences
|
|
42727
42862
|
})
|
|
42728
42863
|
}).json();
|
|
42729
42864
|
}
|
|
42730
|
-
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) {
|
|
42865
|
+
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) {
|
|
42731
42866
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42732
42867
|
signal,
|
|
42868
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42733
42869
|
searchParams: buildSearchParams$2({
|
|
42734
42870
|
source,
|
|
42735
42871
|
priority,
|
|
@@ -42759,6 +42895,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42759
42895
|
include_drafts,
|
|
42760
42896
|
cf_filter,
|
|
42761
42897
|
user_cf_filter,
|
|
42898
|
+
recurring_occurrences_after,
|
|
42899
|
+
max_recurring_occurrences_after,
|
|
42900
|
+
recurring_task_read,
|
|
42901
|
+
include_projected_occurrences,
|
|
42762
42902
|
page,
|
|
42763
42903
|
per_page,
|
|
42764
42904
|
order_by
|
|
@@ -42786,104 +42926,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42786
42926
|
}).json();
|
|
42787
42927
|
}
|
|
42788
42928
|
//#endregion
|
|
42789
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42790
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42791
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42792
|
-
signal,
|
|
42793
|
-
searchParams: buildSearchParams$2({
|
|
42794
|
-
page,
|
|
42795
|
-
per_page,
|
|
42796
|
-
order_by,
|
|
42797
|
-
archived
|
|
42798
|
-
})
|
|
42799
|
-
}).json();
|
|
42800
|
-
}
|
|
42801
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42802
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42803
|
-
signal,
|
|
42804
|
-
json: data
|
|
42805
|
-
}).json();
|
|
42806
|
-
}
|
|
42807
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42808
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42809
|
-
}
|
|
42810
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42811
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42812
|
-
signal,
|
|
42813
|
-
json: data
|
|
42814
|
-
}).json();
|
|
42815
|
-
}
|
|
42816
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42817
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42818
|
-
signal,
|
|
42819
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42820
|
-
}).json();
|
|
42821
|
-
}
|
|
42822
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42823
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42824
|
-
signal,
|
|
42825
|
-
json: data
|
|
42826
|
-
}).json();
|
|
42827
|
-
}
|
|
42828
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42829
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42830
|
-
}
|
|
42831
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42832
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42833
|
-
}
|
|
42834
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42835
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42836
|
-
}
|
|
42837
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42838
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42839
|
-
signal,
|
|
42840
|
-
searchParams: buildSearchParams$2({
|
|
42841
|
-
date_from,
|
|
42842
|
-
date_to,
|
|
42843
|
-
task_id,
|
|
42844
|
-
status_id,
|
|
42845
|
-
page,
|
|
42846
|
-
per_page,
|
|
42847
|
-
archived,
|
|
42848
|
-
order_by
|
|
42849
|
-
})
|
|
42850
|
-
}).json();
|
|
42851
|
-
}
|
|
42852
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42853
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42854
|
-
signal,
|
|
42855
|
-
json: data
|
|
42856
|
-
}).json();
|
|
42857
|
-
}
|
|
42858
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42859
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42860
|
-
signal,
|
|
42861
|
-
searchParams: buildSearchParams$2({
|
|
42862
|
-
ids,
|
|
42863
|
-
outbound_sync
|
|
42864
|
-
})
|
|
42865
|
-
}).json();
|
|
42866
|
-
}
|
|
42867
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42868
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42869
|
-
signal,
|
|
42870
|
-
json: data
|
|
42871
|
-
}).json();
|
|
42872
|
-
}
|
|
42873
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42874
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42875
|
-
signal,
|
|
42876
|
-
searchParams: buildSearchParams$2({
|
|
42877
|
-
date_from,
|
|
42878
|
-
date_to,
|
|
42879
|
-
task_id,
|
|
42880
|
-
status_id,
|
|
42881
|
-
archived,
|
|
42882
|
-
order_by
|
|
42883
|
-
})
|
|
42884
|
-
}).json();
|
|
42885
|
-
}
|
|
42886
|
-
//#endregion
|
|
42887
42929
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42888
42930
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42889
42931
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -42921,6 +42963,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
42921
42963
|
})
|
|
42922
42964
|
}).json();
|
|
42923
42965
|
}
|
|
42966
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
42967
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
42968
|
+
}
|
|
42969
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
42970
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
42971
|
+
}
|
|
42924
42972
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
42925
42973
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
42926
42974
|
signal,
|
|
@@ -42948,6 +42996,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
42948
42996
|
json: data
|
|
42949
42997
|
}).json();
|
|
42950
42998
|
}
|
|
42999
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
43000
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
43001
|
+
signal,
|
|
43002
|
+
searchParams: buildSearchParams$2({
|
|
43003
|
+
category_id,
|
|
43004
|
+
date
|
|
43005
|
+
})
|
|
43006
|
+
}).json();
|
|
43007
|
+
}
|
|
43008
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
43009
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
43010
|
+
signal,
|
|
43011
|
+
searchParams: buildSearchParams$2({
|
|
43012
|
+
category_id,
|
|
43013
|
+
year,
|
|
43014
|
+
page,
|
|
43015
|
+
rows
|
|
43016
|
+
})
|
|
43017
|
+
}).json();
|
|
43018
|
+
}
|
|
42951
43019
|
//#endregion
|
|
42952
43020
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
42953
43021
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43048,6 +43116,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43048
43116
|
json: data
|
|
43049
43117
|
}).json();
|
|
43050
43118
|
}
|
|
43119
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43120
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43121
|
+
signal,
|
|
43122
|
+
searchParams: buildSearchParams$2({
|
|
43123
|
+
date_from,
|
|
43124
|
+
date_to,
|
|
43125
|
+
setup_id,
|
|
43126
|
+
user_account_ids,
|
|
43127
|
+
approver_user_account_ids,
|
|
43128
|
+
team_ids
|
|
43129
|
+
})
|
|
43130
|
+
}).json();
|
|
43131
|
+
}
|
|
43051
43132
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43052
43133
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43053
43134
|
}
|
|
@@ -43091,7 +43172,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43091
43172
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43092
43173
|
}
|
|
43093
43174
|
//#endregion
|
|
43175
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43176
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43177
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43178
|
+
signal,
|
|
43179
|
+
json: data
|
|
43180
|
+
}).json();
|
|
43181
|
+
}
|
|
43182
|
+
//#endregion
|
|
43094
43183
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43184
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43185
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43186
|
+
}
|
|
43187
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43188
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43189
|
+
}
|
|
43095
43190
|
async function getUserSettings(httpClient, signal) {
|
|
43096
43191
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43097
43192
|
}
|
|
@@ -43331,6 +43426,7 @@ const generatedFocusOperations = [
|
|
|
43331
43426
|
mcp: { entityTool: "audit-log" },
|
|
43332
43427
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43333
43428
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43429
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43334
43430
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43335
43431
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43336
43432
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43338,6 +43434,7 @@ const generatedFocusOperations = [
|
|
|
43338
43434
|
from: /* @__PURE__ */ string$1(),
|
|
43339
43435
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43340
43436
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43437
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43341
43438
|
to: /* @__PURE__ */ string$1(),
|
|
43342
43439
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43343
43440
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43371,6 +43468,7 @@ const generatedFocusOperations = [
|
|
|
43371
43468
|
mcp: { entityTool: "audit-log" },
|
|
43372
43469
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43373
43470
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43471
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43374
43472
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43375
43473
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43376
43474
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43378,6 +43476,7 @@ const generatedFocusOperations = [
|
|
|
43378
43476
|
from: /* @__PURE__ */ string$1(),
|
|
43379
43477
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43380
43478
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43479
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43381
43480
|
to: /* @__PURE__ */ string$1(),
|
|
43382
43481
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43383
43482
|
}),
|
|
@@ -43417,6 +43516,7 @@ const generatedFocusOperations = [
|
|
|
43417
43516
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43418
43517
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43419
43518
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43519
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43420
43520
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43421
43521
|
user_id: /* @__PURE__ */ number$2()
|
|
43422
43522
|
}),
|
|
@@ -43666,8 +43766,6 @@ const generatedFocusOperations = [
|
|
|
43666
43766
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43667
43767
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43668
43768
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43669
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43670
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43671
43769
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43672
43770
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43673
43771
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43701,8 +43799,6 @@ const generatedFocusOperations = [
|
|
|
43701
43799
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43702
43800
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43703
43801
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43704
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43705
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43706
43802
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43707
43803
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43708
43804
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43718,12 +43814,6 @@ const generatedFocusOperations = [
|
|
|
43718
43814
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43719
43815
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43720
43816
|
}))),
|
|
43721
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43722
|
-
start: apiDateTimeString,
|
|
43723
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43724
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43725
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43726
|
-
}))),
|
|
43727
43817
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43728
43818
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43729
43819
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43733,13 +43823,6 @@ const generatedFocusOperations = [
|
|
|
43733
43823
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43734
43824
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43735
43825
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43736
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43737
|
-
start: apiDateTimeString,
|
|
43738
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43739
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43740
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43741
|
-
})),
|
|
43742
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43743
43826
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43744
43827
|
}))
|
|
43745
43828
|
}) }),
|
|
@@ -43858,33 +43941,60 @@ const generatedFocusOperations = [
|
|
|
43858
43941
|
}
|
|
43859
43942
|
},
|
|
43860
43943
|
{
|
|
43861
|
-
id: "focus.custom-fields.
|
|
43944
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
43862
43945
|
family: "focus",
|
|
43863
43946
|
resource: "custom-fields",
|
|
43864
|
-
action: "
|
|
43865
|
-
title: "
|
|
43866
|
-
description: "
|
|
43947
|
+
action: "get-allowed-users",
|
|
43948
|
+
title: "Get Allowed Users Custom Fields",
|
|
43949
|
+
description: "Get Allowed Users Custom Fields.",
|
|
43867
43950
|
safety: "read",
|
|
43868
43951
|
destructive: false,
|
|
43869
43952
|
cli: {
|
|
43870
43953
|
group: ["custom-fields"],
|
|
43871
|
-
command: "
|
|
43872
|
-
interactive: "
|
|
43954
|
+
command: "get-allowed-users",
|
|
43955
|
+
interactive: "available"
|
|
43873
43956
|
},
|
|
43874
43957
|
mcp: { entityTool: "custom-fields" },
|
|
43875
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43876
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43877
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43878
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43879
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
43880
|
-
}),
|
|
43958
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
43881
43959
|
execute: (input, { client }) => {
|
|
43882
43960
|
const data = input;
|
|
43883
|
-
return client.runGeneratedRequest("
|
|
43961
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
43884
43962
|
client.httpClient,
|
|
43885
43963
|
client.organizationId,
|
|
43886
43964
|
client.workspaceIdNumber,
|
|
43887
|
-
data,
|
|
43965
|
+
data.custom_field_id,
|
|
43966
|
+
void 0
|
|
43967
|
+
]));
|
|
43968
|
+
}
|
|
43969
|
+
},
|
|
43970
|
+
{
|
|
43971
|
+
id: "focus.custom-fields.list",
|
|
43972
|
+
family: "focus",
|
|
43973
|
+
resource: "custom-fields",
|
|
43974
|
+
action: "list",
|
|
43975
|
+
title: "List Custom Fields",
|
|
43976
|
+
description: "List Custom Fields.",
|
|
43977
|
+
safety: "read",
|
|
43978
|
+
destructive: false,
|
|
43979
|
+
cli: {
|
|
43980
|
+
group: ["custom-fields"],
|
|
43981
|
+
command: "list",
|
|
43982
|
+
interactive: "hidden"
|
|
43983
|
+
},
|
|
43984
|
+
mcp: { entityTool: "custom-fields" },
|
|
43985
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
43986
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43987
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43988
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43989
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
43990
|
+
}),
|
|
43991
|
+
execute: (input, { client }) => {
|
|
43992
|
+
const data = input;
|
|
43993
|
+
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
43994
|
+
client.httpClient,
|
|
43995
|
+
client.organizationId,
|
|
43996
|
+
client.workspaceIdNumber,
|
|
43997
|
+
data,
|
|
43888
43998
|
void 0
|
|
43889
43999
|
]));
|
|
43890
44000
|
}
|
|
@@ -44026,6 +44136,37 @@ const generatedFocusOperations = [
|
|
|
44026
44136
|
]));
|
|
44027
44137
|
}
|
|
44028
44138
|
},
|
|
44139
|
+
{
|
|
44140
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44141
|
+
family: "focus",
|
|
44142
|
+
resource: "custom-fields",
|
|
44143
|
+
action: "replace-custom-field-allowed-users",
|
|
44144
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44145
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44146
|
+
safety: "update",
|
|
44147
|
+
destructive: false,
|
|
44148
|
+
cli: {
|
|
44149
|
+
group: ["custom-fields"],
|
|
44150
|
+
command: "replace-custom-field-allowed-users",
|
|
44151
|
+
interactive: "default"
|
|
44152
|
+
},
|
|
44153
|
+
mcp: { entityTool: "custom-fields" },
|
|
44154
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44155
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44156
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44157
|
+
}),
|
|
44158
|
+
execute: (input, { client }) => {
|
|
44159
|
+
const data = input;
|
|
44160
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44161
|
+
client.httpClient,
|
|
44162
|
+
client.organizationId,
|
|
44163
|
+
client.workspaceIdNumber,
|
|
44164
|
+
data.custom_field_id,
|
|
44165
|
+
data.payload ?? data.data ?? data,
|
|
44166
|
+
void 0
|
|
44167
|
+
]));
|
|
44168
|
+
}
|
|
44169
|
+
},
|
|
44029
44170
|
{
|
|
44030
44171
|
id: "focus.custom-fields.update",
|
|
44031
44172
|
family: "focus",
|
|
@@ -44172,13 +44313,7 @@ const generatedFocusOperations = [
|
|
|
44172
44313
|
},
|
|
44173
44314
|
mcp: { entityTool: "goals" },
|
|
44174
44315
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44175
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44176
44316
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44177
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44178
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44179
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44180
|
-
name: /* @__PURE__ */ string$1(),
|
|
44181
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44182
44317
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44183
44318
|
"daily",
|
|
44184
44319
|
"weekly",
|
|
@@ -44186,12 +44321,18 @@ const generatedFocusOperations = [
|
|
|
44186
44321
|
"monthly"
|
|
44187
44322
|
]),
|
|
44188
44323
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44189
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44190
44324
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44191
|
-
|
|
44192
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44325
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44193
44326
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44194
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44327
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44328
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44329
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44330
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44331
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44332
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44333
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44334
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44335
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44195
44336
|
}) }),
|
|
44196
44337
|
execute: (input, { client }) => {
|
|
44197
44338
|
const data = input;
|
|
@@ -44297,13 +44438,6 @@ const generatedFocusOperations = [
|
|
|
44297
44438
|
},
|
|
44298
44439
|
mcp: { entityTool: "goals" },
|
|
44299
44440
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44300
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44301
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44302
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44303
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44304
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44305
|
-
name: /* @__PURE__ */ string$1(),
|
|
44306
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44307
44441
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44308
44442
|
"daily",
|
|
44309
44443
|
"weekly",
|
|
@@ -44311,12 +44445,19 @@ const generatedFocusOperations = [
|
|
|
44311
44445
|
"monthly"
|
|
44312
44446
|
]),
|
|
44313
44447
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44314
|
-
|
|
44315
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44316
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44317
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44448
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44318
44449
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44319
|
-
|
|
44450
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44451
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44452
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44453
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44454
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44455
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44456
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44457
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44458
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44459
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44460
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44320
44461
|
}) }),
|
|
44321
44462
|
execute: (input, { client }) => {
|
|
44322
44463
|
const data = input;
|
|
@@ -45283,9 +45424,17 @@ const generatedFocusOperations = [
|
|
|
45283
45424
|
mcp: { entityTool: "projects" },
|
|
45284
45425
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45285
45426
|
payload: /* @__PURE__ */ looseObject({
|
|
45427
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45428
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45286
45429
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45287
45430
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45288
45431
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45432
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45433
|
+
"expire",
|
|
45434
|
+
"carry_all",
|
|
45435
|
+
"carry_over"
|
|
45436
|
+
])),
|
|
45437
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45289
45438
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45290
45439
|
}),
|
|
45291
45440
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45729,6 +45878,7 @@ const generatedFocusOperations = [
|
|
|
45729
45878
|
group: /* @__PURE__ */ string$1(),
|
|
45730
45879
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45731
45880
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45881
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45732
45882
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45733
45883
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45734
45884
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -45831,29 +45981,6 @@ const generatedFocusOperations = [
|
|
|
45831
45981
|
]));
|
|
45832
45982
|
}
|
|
45833
45983
|
},
|
|
45834
|
-
{
|
|
45835
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
45836
|
-
family: "focus",
|
|
45837
|
-
resource: "projects",
|
|
45838
|
-
action: "margin-targets-clear-workspace",
|
|
45839
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
45840
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
45841
|
-
safety: "delete",
|
|
45842
|
-
destructive: true,
|
|
45843
|
-
cli: {
|
|
45844
|
-
group: ["projects", "margin-targets"],
|
|
45845
|
-
command: "clear-workspace",
|
|
45846
|
-
interactive: "default"
|
|
45847
|
-
},
|
|
45848
|
-
mcp: { entityTool: "projects" },
|
|
45849
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45850
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45851
|
-
client.httpClient,
|
|
45852
|
-
client.organizationId,
|
|
45853
|
-
client.workspaceIdNumber,
|
|
45854
|
-
void 0
|
|
45855
|
-
]))
|
|
45856
|
-
},
|
|
45857
45984
|
{
|
|
45858
45985
|
id: "focus.projects.margin-targets-get",
|
|
45859
45986
|
family: "focus",
|
|
@@ -46298,6 +46425,130 @@ const generatedFocusOperations = [
|
|
|
46298
46425
|
]));
|
|
46299
46426
|
}
|
|
46300
46427
|
},
|
|
46428
|
+
{
|
|
46429
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46430
|
+
family: "focus",
|
|
46431
|
+
resource: "publicsharedreports",
|
|
46432
|
+
action: "open-public-shared-report",
|
|
46433
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
46434
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
46435
|
+
safety: "read",
|
|
46436
|
+
destructive: false,
|
|
46437
|
+
cli: {
|
|
46438
|
+
group: ["publicsharedreports"],
|
|
46439
|
+
command: "open-public-shared-report",
|
|
46440
|
+
interactive: "available"
|
|
46441
|
+
},
|
|
46442
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46443
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46444
|
+
execute: (input, { client }) => {
|
|
46445
|
+
const data = input;
|
|
46446
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46447
|
+
client.httpClient,
|
|
46448
|
+
data.token,
|
|
46449
|
+
void 0
|
|
46450
|
+
]));
|
|
46451
|
+
}
|
|
46452
|
+
},
|
|
46453
|
+
{
|
|
46454
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46455
|
+
family: "focus",
|
|
46456
|
+
resource: "publicsharedreports",
|
|
46457
|
+
action: "profitability-public-shared-report",
|
|
46458
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46459
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46460
|
+
safety: "update",
|
|
46461
|
+
destructive: false,
|
|
46462
|
+
cli: {
|
|
46463
|
+
group: ["publicsharedreports"],
|
|
46464
|
+
command: "profitability-public-shared-report",
|
|
46465
|
+
interactive: "default"
|
|
46466
|
+
},
|
|
46467
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46468
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46469
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46470
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46471
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46472
|
+
token: /* @__PURE__ */ string$1()
|
|
46473
|
+
}),
|
|
46474
|
+
execute: (input, { client }) => {
|
|
46475
|
+
const data = input;
|
|
46476
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46477
|
+
client.httpClient,
|
|
46478
|
+
data.token,
|
|
46479
|
+
data.payload ?? data.data ?? data,
|
|
46480
|
+
data.response_format,
|
|
46481
|
+
data.include_dicts,
|
|
46482
|
+
void 0
|
|
46483
|
+
]));
|
|
46484
|
+
}
|
|
46485
|
+
},
|
|
46486
|
+
{
|
|
46487
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46488
|
+
family: "focus",
|
|
46489
|
+
resource: "publicsharedreports",
|
|
46490
|
+
action: "query-public-shared-report",
|
|
46491
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
46492
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
46493
|
+
safety: "update",
|
|
46494
|
+
destructive: false,
|
|
46495
|
+
cli: {
|
|
46496
|
+
group: ["publicsharedreports"],
|
|
46497
|
+
command: "query-public-shared-report",
|
|
46498
|
+
interactive: "default"
|
|
46499
|
+
},
|
|
46500
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46501
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46502
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46503
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46504
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46505
|
+
"json_row",
|
|
46506
|
+
"table",
|
|
46507
|
+
"hierarchical"
|
|
46508
|
+
])),
|
|
46509
|
+
token: /* @__PURE__ */ string$1()
|
|
46510
|
+
}),
|
|
46511
|
+
execute: (input, { client }) => {
|
|
46512
|
+
const data = input;
|
|
46513
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46514
|
+
client.httpClient,
|
|
46515
|
+
data.token,
|
|
46516
|
+
data.payload ?? data.data ?? data,
|
|
46517
|
+
data.response_format,
|
|
46518
|
+
data.include_dicts,
|
|
46519
|
+
void 0
|
|
46520
|
+
]));
|
|
46521
|
+
}
|
|
46522
|
+
},
|
|
46523
|
+
{
|
|
46524
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46525
|
+
family: "focus",
|
|
46526
|
+
resource: "publicsharedreports",
|
|
46527
|
+
action: "workload-public-shared-report",
|
|
46528
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
46529
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46530
|
+
safety: "update",
|
|
46531
|
+
destructive: false,
|
|
46532
|
+
cli: {
|
|
46533
|
+
group: ["publicsharedreports"],
|
|
46534
|
+
command: "workload-public-shared-report",
|
|
46535
|
+
interactive: "default"
|
|
46536
|
+
},
|
|
46537
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46538
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46539
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46540
|
+
token: /* @__PURE__ */ string$1()
|
|
46541
|
+
}),
|
|
46542
|
+
execute: (input, { client }) => {
|
|
46543
|
+
const data = input;
|
|
46544
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46545
|
+
client.httpClient,
|
|
46546
|
+
data.token,
|
|
46547
|
+
data.payload ?? data.data ?? data,
|
|
46548
|
+
void 0
|
|
46549
|
+
]));
|
|
46550
|
+
}
|
|
46551
|
+
},
|
|
46301
46552
|
{
|
|
46302
46553
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46303
46554
|
family: "focus",
|
|
@@ -48256,7 +48507,7 @@ const generatedFocusOperations = [
|
|
|
48256
48507
|
cli: {
|
|
48257
48508
|
group: ["reportschedules"],
|
|
48258
48509
|
command: "upsert-saved-view-schedule",
|
|
48259
|
-
interactive: "
|
|
48510
|
+
interactive: "hidden"
|
|
48260
48511
|
},
|
|
48261
48512
|
mcp: { entityTool: "reportschedules" },
|
|
48262
48513
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48267,8 +48518,10 @@ const generatedFocusOperations = [
|
|
|
48267
48518
|
"weekly",
|
|
48268
48519
|
"monthly"
|
|
48269
48520
|
]),
|
|
48521
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48270
48522
|
time: /* @__PURE__ */ string$1(),
|
|
48271
48523
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48524
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48272
48525
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48273
48526
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48274
48527
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48601,6 +48854,32 @@ const generatedFocusOperations = [
|
|
|
48601
48854
|
]));
|
|
48602
48855
|
}
|
|
48603
48856
|
},
|
|
48857
|
+
{
|
|
48858
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
48859
|
+
family: "focus",
|
|
48860
|
+
resource: "sharedreports",
|
|
48861
|
+
action: "get-shared-report-dates",
|
|
48862
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
48863
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
48864
|
+
safety: "read",
|
|
48865
|
+
destructive: false,
|
|
48866
|
+
cli: {
|
|
48867
|
+
group: ["sharedreports"],
|
|
48868
|
+
command: "get-shared-report-dates",
|
|
48869
|
+
interactive: "available"
|
|
48870
|
+
},
|
|
48871
|
+
mcp: { entityTool: "sharedreports" },
|
|
48872
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48873
|
+
execute: (input, { client }) => {
|
|
48874
|
+
const data = input;
|
|
48875
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
48876
|
+
client.httpClient,
|
|
48877
|
+
client.workspaceIdNumber,
|
|
48878
|
+
data.id,
|
|
48879
|
+
void 0
|
|
48880
|
+
]));
|
|
48881
|
+
}
|
|
48882
|
+
},
|
|
48604
48883
|
{
|
|
48605
48884
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48606
48885
|
family: "focus",
|
|
@@ -48671,6 +48950,36 @@ const generatedFocusOperations = [
|
|
|
48671
48950
|
void 0
|
|
48672
48951
|
]))
|
|
48673
48952
|
},
|
|
48953
|
+
{
|
|
48954
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
48955
|
+
family: "focus",
|
|
48956
|
+
resource: "sharedreports",
|
|
48957
|
+
action: "mint-shared-report-link",
|
|
48958
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
48959
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
48960
|
+
safety: "update",
|
|
48961
|
+
destructive: false,
|
|
48962
|
+
cli: {
|
|
48963
|
+
group: ["sharedreports"],
|
|
48964
|
+
command: "mint-shared-report-link",
|
|
48965
|
+
interactive: "default"
|
|
48966
|
+
},
|
|
48967
|
+
mcp: { entityTool: "sharedreports" },
|
|
48968
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
48969
|
+
id: /* @__PURE__ */ number$2(),
|
|
48970
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
48971
|
+
}),
|
|
48972
|
+
execute: (input, { client }) => {
|
|
48973
|
+
const data = input;
|
|
48974
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
48975
|
+
client.httpClient,
|
|
48976
|
+
client.workspaceIdNumber,
|
|
48977
|
+
data.id,
|
|
48978
|
+
data.payload ?? data.data ?? data,
|
|
48979
|
+
void 0
|
|
48980
|
+
]));
|
|
48981
|
+
}
|
|
48982
|
+
},
|
|
48674
48983
|
{
|
|
48675
48984
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48676
48985
|
family: "focus",
|
|
@@ -48702,71 +49011,53 @@ const generatedFocusOperations = [
|
|
|
48702
49011
|
}
|
|
48703
49012
|
},
|
|
48704
49013
|
{
|
|
48705
|
-
id: "focus.sharedreports.
|
|
49014
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
48706
49015
|
family: "focus",
|
|
48707
49016
|
resource: "sharedreports",
|
|
48708
|
-
action: "
|
|
48709
|
-
title: "
|
|
48710
|
-
description: "
|
|
48711
|
-
safety: "
|
|
48712
|
-
destructive:
|
|
49017
|
+
action: "revoke-shared-report-link",
|
|
49018
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
49019
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
49020
|
+
safety: "delete",
|
|
49021
|
+
destructive: true,
|
|
48713
49022
|
cli: {
|
|
48714
49023
|
group: ["sharedreports"],
|
|
48715
|
-
command: "
|
|
48716
|
-
interactive: "
|
|
49024
|
+
command: "revoke-shared-report-link",
|
|
49025
|
+
interactive: "default"
|
|
48717
49026
|
},
|
|
48718
49027
|
mcp: { entityTool: "sharedreports" },
|
|
48719
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48720
|
-
id: /* @__PURE__ */ number$2(),
|
|
48721
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48722
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48723
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48724
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48725
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48726
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48727
|
-
})
|
|
48728
|
-
}),
|
|
49028
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48729
49029
|
execute: (input, { client }) => {
|
|
48730
49030
|
const data = input;
|
|
48731
|
-
return client.runGeneratedRequest("
|
|
49031
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
48732
49032
|
client.httpClient,
|
|
48733
49033
|
client.workspaceIdNumber,
|
|
48734
49034
|
data.id,
|
|
48735
|
-
data.payload ?? data.data ?? data,
|
|
48736
49035
|
void 0
|
|
48737
49036
|
]));
|
|
48738
49037
|
}
|
|
48739
49038
|
},
|
|
48740
49039
|
{
|
|
48741
|
-
id: "focus.sharedreports.
|
|
49040
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
48742
49041
|
family: "focus",
|
|
48743
49042
|
resource: "sharedreports",
|
|
48744
|
-
action: "
|
|
48745
|
-
title: "
|
|
48746
|
-
description: "
|
|
49043
|
+
action: "rotate-shared-report-link",
|
|
49044
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
49045
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
48747
49046
|
safety: "update",
|
|
48748
49047
|
destructive: false,
|
|
48749
49048
|
cli: {
|
|
48750
49049
|
group: ["sharedreports"],
|
|
48751
|
-
command: "
|
|
48752
|
-
interactive: "
|
|
49050
|
+
command: "rotate-shared-report-link",
|
|
49051
|
+
interactive: "default"
|
|
48753
49052
|
},
|
|
48754
49053
|
mcp: { entityTool: "sharedreports" },
|
|
48755
49054
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48756
49055
|
id: /* @__PURE__ */ number$2(),
|
|
48757
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48758
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48759
|
-
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
48760
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48761
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48762
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48763
|
-
})),
|
|
48764
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
48765
|
-
})
|
|
49056
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
48766
49057
|
}),
|
|
48767
49058
|
execute: (input, { client }) => {
|
|
48768
49059
|
const data = input;
|
|
48769
|
-
return client.runGeneratedRequest("
|
|
49060
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
48770
49061
|
client.httpClient,
|
|
48771
49062
|
client.workspaceIdNumber,
|
|
48772
49063
|
data.id,
|
|
@@ -48775,6 +49066,136 @@ const generatedFocusOperations = [
|
|
|
48775
49066
|
]));
|
|
48776
49067
|
}
|
|
48777
49068
|
},
|
|
49069
|
+
{
|
|
49070
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49071
|
+
family: "focus",
|
|
49072
|
+
resource: "sharedreports",
|
|
49073
|
+
action: "set-shared-report-dates-lock",
|
|
49074
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49075
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49076
|
+
safety: "update",
|
|
49077
|
+
destructive: false,
|
|
49078
|
+
cli: {
|
|
49079
|
+
group: ["sharedreports"],
|
|
49080
|
+
command: "set-shared-report-dates-lock",
|
|
49081
|
+
interactive: "default"
|
|
49082
|
+
},
|
|
49083
|
+
mcp: { entityTool: "sharedreports" },
|
|
49084
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49085
|
+
id: /* @__PURE__ */ number$2(),
|
|
49086
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49087
|
+
}),
|
|
49088
|
+
execute: (input, { client }) => {
|
|
49089
|
+
const data = input;
|
|
49090
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49091
|
+
client.httpClient,
|
|
49092
|
+
client.workspaceIdNumber,
|
|
49093
|
+
data.id,
|
|
49094
|
+
data.payload ?? data.data ?? data,
|
|
49095
|
+
void 0
|
|
49096
|
+
]));
|
|
49097
|
+
}
|
|
49098
|
+
},
|
|
49099
|
+
{
|
|
49100
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49101
|
+
family: "focus",
|
|
49102
|
+
resource: "sharedreports",
|
|
49103
|
+
action: "share-saved-view",
|
|
49104
|
+
title: "Share Saved View Sharedreports",
|
|
49105
|
+
description: "Share Saved View Sharedreports.",
|
|
49106
|
+
safety: "update",
|
|
49107
|
+
destructive: false,
|
|
49108
|
+
cli: {
|
|
49109
|
+
group: ["sharedreports"],
|
|
49110
|
+
command: "share-saved-view",
|
|
49111
|
+
interactive: "hidden"
|
|
49112
|
+
},
|
|
49113
|
+
mcp: { entityTool: "sharedreports" },
|
|
49114
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49115
|
+
id: /* @__PURE__ */ number$2(),
|
|
49116
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49117
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49118
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49119
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49120
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49121
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49122
|
+
})
|
|
49123
|
+
}),
|
|
49124
|
+
execute: (input, { client }) => {
|
|
49125
|
+
const data = input;
|
|
49126
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49127
|
+
client.httpClient,
|
|
49128
|
+
client.workspaceIdNumber,
|
|
49129
|
+
data.id,
|
|
49130
|
+
data.payload ?? data.data ?? data,
|
|
49131
|
+
void 0
|
|
49132
|
+
]));
|
|
49133
|
+
}
|
|
49134
|
+
},
|
|
49135
|
+
{
|
|
49136
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49137
|
+
family: "focus",
|
|
49138
|
+
resource: "sharedreports",
|
|
49139
|
+
action: "share-saved-view-many",
|
|
49140
|
+
title: "Share Saved View Many Sharedreports",
|
|
49141
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49142
|
+
safety: "update",
|
|
49143
|
+
destructive: false,
|
|
49144
|
+
cli: {
|
|
49145
|
+
group: ["sharedreports"],
|
|
49146
|
+
command: "share-saved-view-many",
|
|
49147
|
+
interactive: "hidden"
|
|
49148
|
+
},
|
|
49149
|
+
mcp: { entityTool: "sharedreports" },
|
|
49150
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49151
|
+
id: /* @__PURE__ */ number$2(),
|
|
49152
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49153
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49154
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49155
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49156
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49157
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49158
|
+
})),
|
|
49159
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49160
|
+
})
|
|
49161
|
+
}),
|
|
49162
|
+
execute: (input, { client }) => {
|
|
49163
|
+
const data = input;
|
|
49164
|
+
return client.runGeneratedRequest("shareSavedViewMany", () => callGeneratedRequest(shareSavedViewMany, [
|
|
49165
|
+
client.httpClient,
|
|
49166
|
+
client.workspaceIdNumber,
|
|
49167
|
+
data.id,
|
|
49168
|
+
data.payload ?? data.data ?? data,
|
|
49169
|
+
void 0
|
|
49170
|
+
]));
|
|
49171
|
+
}
|
|
49172
|
+
},
|
|
49173
|
+
{
|
|
49174
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
49175
|
+
family: "focus",
|
|
49176
|
+
resource: "sharedreports",
|
|
49177
|
+
action: "unshare-shared-report",
|
|
49178
|
+
title: "Unshare Shared Report Sharedreports",
|
|
49179
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
49180
|
+
safety: "delete",
|
|
49181
|
+
destructive: true,
|
|
49182
|
+
cli: {
|
|
49183
|
+
group: ["sharedreports"],
|
|
49184
|
+
command: "unshare-shared-report",
|
|
49185
|
+
interactive: "default"
|
|
49186
|
+
},
|
|
49187
|
+
mcp: { entityTool: "sharedreports" },
|
|
49188
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49189
|
+
execute: (input, { client }) => {
|
|
49190
|
+
const data = input;
|
|
49191
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49192
|
+
client.httpClient,
|
|
49193
|
+
client.workspaceIdNumber,
|
|
49194
|
+
data.id,
|
|
49195
|
+
void 0
|
|
49196
|
+
]));
|
|
49197
|
+
}
|
|
49198
|
+
},
|
|
48778
49199
|
{
|
|
48779
49200
|
id: "focus.statuses.create-status",
|
|
48780
49201
|
family: "focus",
|
|
@@ -49817,6 +50238,37 @@ const generatedFocusOperations = [
|
|
|
49817
50238
|
return client.createTask(data);
|
|
49818
50239
|
}
|
|
49819
50240
|
},
|
|
50241
|
+
{
|
|
50242
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50243
|
+
family: "focus",
|
|
50244
|
+
resource: "tasks",
|
|
50245
|
+
action: "create-recurring-occurrence",
|
|
50246
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50247
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50248
|
+
safety: "create",
|
|
50249
|
+
destructive: false,
|
|
50250
|
+
cli: {
|
|
50251
|
+
group: ["tasks"],
|
|
50252
|
+
command: "create-recurring-occurrence",
|
|
50253
|
+
interactive: "default"
|
|
50254
|
+
},
|
|
50255
|
+
mcp: { entityTool: "tasks" },
|
|
50256
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50257
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50258
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50259
|
+
}),
|
|
50260
|
+
execute: (input, { client }) => {
|
|
50261
|
+
const data = input;
|
|
50262
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50263
|
+
client.httpClient,
|
|
50264
|
+
client.organizationId,
|
|
50265
|
+
client.workspaceIdNumber,
|
|
50266
|
+
data.task_id,
|
|
50267
|
+
data.return_occurrence,
|
|
50268
|
+
void 0
|
|
50269
|
+
]));
|
|
50270
|
+
}
|
|
50271
|
+
},
|
|
49820
50272
|
{
|
|
49821
50273
|
id: "focus.tasks.delete",
|
|
49822
50274
|
family: "focus",
|
|
@@ -50041,6 +50493,79 @@ const generatedFocusOperations = [
|
|
|
50041
50493
|
]));
|
|
50042
50494
|
}
|
|
50043
50495
|
},
|
|
50496
|
+
{
|
|
50497
|
+
id: "focus.tasks.get-picker-task-children",
|
|
50498
|
+
family: "focus",
|
|
50499
|
+
resource: "tasks",
|
|
50500
|
+
action: "get-picker-task-children",
|
|
50501
|
+
title: "Get Picker Task Children Tasks",
|
|
50502
|
+
description: "Get Picker Task Children Tasks.",
|
|
50503
|
+
safety: "read",
|
|
50504
|
+
destructive: false,
|
|
50505
|
+
cli: {
|
|
50506
|
+
group: ["tasks"],
|
|
50507
|
+
command: "get-picker-task-children",
|
|
50508
|
+
interactive: "hidden"
|
|
50509
|
+
},
|
|
50510
|
+
mcp: { entityTool: "tasks" },
|
|
50511
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50512
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50513
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50514
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50515
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50516
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50517
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50518
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50519
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50520
|
+
}),
|
|
50521
|
+
execute: (input, { client }) => {
|
|
50522
|
+
const data = input;
|
|
50523
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50524
|
+
client.httpClient,
|
|
50525
|
+
client.organizationId,
|
|
50526
|
+
client.workspaceIdNumber,
|
|
50527
|
+
data.parent_task_id,
|
|
50528
|
+
data,
|
|
50529
|
+
void 0
|
|
50530
|
+
]));
|
|
50531
|
+
}
|
|
50532
|
+
},
|
|
50533
|
+
{
|
|
50534
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
50535
|
+
family: "focus",
|
|
50536
|
+
resource: "tasks",
|
|
50537
|
+
action: "get-picker-task-groups",
|
|
50538
|
+
title: "Get Picker Task Groups Tasks",
|
|
50539
|
+
description: "Get Picker Task Groups Tasks.",
|
|
50540
|
+
safety: "read",
|
|
50541
|
+
destructive: false,
|
|
50542
|
+
cli: {
|
|
50543
|
+
group: ["tasks"],
|
|
50544
|
+
command: "get-picker-task-groups",
|
|
50545
|
+
interactive: "hidden"
|
|
50546
|
+
},
|
|
50547
|
+
mcp: { entityTool: "tasks" },
|
|
50548
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50549
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50550
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50551
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50552
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50553
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50554
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50555
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50556
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50557
|
+
}),
|
|
50558
|
+
execute: (input, { client }) => {
|
|
50559
|
+
const data = input;
|
|
50560
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50561
|
+
client.httpClient,
|
|
50562
|
+
client.organizationId,
|
|
50563
|
+
client.workspaceIdNumber,
|
|
50564
|
+
data,
|
|
50565
|
+
void 0
|
|
50566
|
+
]));
|
|
50567
|
+
}
|
|
50568
|
+
},
|
|
50044
50569
|
{
|
|
50045
50570
|
id: "focus.tasks.get-recurring-instances",
|
|
50046
50571
|
family: "focus",
|
|
@@ -50064,9 +50589,13 @@ const generatedFocusOperations = [
|
|
|
50064
50589
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50065
50590
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50066
50591
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50592
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50593
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50067
50594
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50068
50595
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50596
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50069
50597
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50598
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50070
50599
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50071
50600
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50072
50601
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50112,13 +50641,14 @@ const generatedFocusOperations = [
|
|
|
50112
50641
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50113
50642
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50114
50643
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50115
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50116
50644
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50117
50645
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50118
50646
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50119
50647
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50120
50648
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50649
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50121
50650
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50651
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50122
50652
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50123
50653
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50124
50654
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50127,7 +50657,9 @@ const generatedFocusOperations = [
|
|
|
50127
50657
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50128
50658
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50129
50659
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50660
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50130
50661
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50662
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50131
50663
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50132
50664
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50133
50665
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50136,8 +50668,6 @@ const generatedFocusOperations = [
|
|
|
50136
50668
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50137
50669
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50138
50670
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50139
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50140
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50141
50671
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50142
50672
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50143
50673
|
}),
|
|
@@ -50265,8 +50795,10 @@ const generatedFocusOperations = [
|
|
|
50265
50795
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50266
50796
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50267
50797
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50798
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50268
50799
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50269
50800
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50801
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50270
50802
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50271
50803
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50272
50804
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50275,6 +50807,8 @@ const generatedFocusOperations = [
|
|
|
50275
50807
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50276
50808
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50277
50809
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50810
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50811
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50278
50812
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50279
50813
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50280
50814
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50283,7 +50817,8 @@ const generatedFocusOperations = [
|
|
|
50283
50817
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50284
50818
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50285
50819
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50286
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50820
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50821
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50287
50822
|
}),
|
|
50288
50823
|
execute: (input, { client }) => {
|
|
50289
50824
|
const data = input;
|
|
@@ -50325,13 +50860,17 @@ const generatedFocusOperations = [
|
|
|
50325
50860
|
group_id: /* @__PURE__ */ number$2(),
|
|
50326
50861
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50327
50862
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50863
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50328
50864
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50329
50865
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
50866
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50330
50867
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50331
50868
|
name: /* @__PURE__ */ unknown$1(),
|
|
50332
50869
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50333
50870
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50334
50871
|
project_id: /* @__PURE__ */ number$2(),
|
|
50872
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50873
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50335
50874
|
source: /* @__PURE__ */ unknown$1(),
|
|
50336
50875
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50337
50876
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50340,7 +50879,8 @@ const generatedFocusOperations = [
|
|
|
50340
50879
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50341
50880
|
team_id: /* @__PURE__ */ number$2(),
|
|
50342
50881
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50343
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
50882
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
50883
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50344
50884
|
}),
|
|
50345
50885
|
execute: (input, { client }) => {
|
|
50346
50886
|
const data = input;
|
|
@@ -50381,13 +50921,17 @@ const generatedFocusOperations = [
|
|
|
50381
50921
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50382
50922
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50383
50923
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50924
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50384
50925
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50385
50926
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50927
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50386
50928
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50387
50929
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50388
50930
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50389
50931
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50390
50932
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50933
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50934
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50391
50935
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50392
50936
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50393
50937
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50396,7 +50940,8 @@ const generatedFocusOperations = [
|
|
|
50396
50940
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50397
50941
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50398
50942
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50399
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50943
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50944
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50400
50945
|
}),
|
|
50401
50946
|
execute: (input, { client }) => {
|
|
50402
50947
|
const data = input;
|
|
@@ -50626,522 +51171,59 @@ const generatedFocusOperations = [
|
|
|
50626
51171
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50627
51172
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
50628
51173
|
"none",
|
|
50629
|
-
"low",
|
|
50630
|
-
"medium",
|
|
50631
|
-
"high"
|
|
50632
|
-
])),
|
|
50633
|
-
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50634
|
-
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50635
|
-
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50636
|
-
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50637
|
-
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
50638
|
-
}),
|
|
50639
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50640
|
-
}),
|
|
50641
|
-
execute: (input, { client }) => {
|
|
50642
|
-
const data = input;
|
|
50643
|
-
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
50644
|
-
client.httpClient,
|
|
50645
|
-
client.organizationId,
|
|
50646
|
-
client.workspaceIdNumber,
|
|
50647
|
-
data.task_id,
|
|
50648
|
-
data.payload ?? data.data ?? data,
|
|
50649
|
-
void 0
|
|
50650
|
-
]));
|
|
50651
|
-
}
|
|
50652
|
-
},
|
|
50653
|
-
{
|
|
50654
|
-
id: "focus.tasks.update-calendar-range",
|
|
50655
|
-
family: "focus",
|
|
50656
|
-
resource: "tasks",
|
|
50657
|
-
action: "update-calendar-range",
|
|
50658
|
-
title: "Update Calendar Range Tasks",
|
|
50659
|
-
description: "Update Calendar Range Tasks.",
|
|
50660
|
-
safety: "update",
|
|
50661
|
-
destructive: false,
|
|
50662
|
-
cli: {
|
|
50663
|
-
group: ["tasks"],
|
|
50664
|
-
command: "update-calendar-range",
|
|
50665
|
-
interactive: "default"
|
|
50666
|
-
},
|
|
50667
|
-
mcp: { entityTool: "tasks" },
|
|
50668
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50669
|
-
date_from: /* @__PURE__ */ string$1(),
|
|
50670
|
-
date_to: /* @__PURE__ */ string$1()
|
|
50671
|
-
}),
|
|
50672
|
-
execute: (input, { client }) => {
|
|
50673
|
-
const data = input;
|
|
50674
|
-
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
50675
|
-
client.httpClient,
|
|
50676
|
-
client.organizationId,
|
|
50677
|
-
client.workspaceIdNumber,
|
|
50678
|
-
data.date_from,
|
|
50679
|
-
data.date_to,
|
|
50680
|
-
void 0
|
|
50681
|
-
]));
|
|
50682
|
-
}
|
|
50683
|
-
},
|
|
50684
|
-
{
|
|
50685
|
-
id: "focus.time-blocks.archive",
|
|
50686
|
-
family: "focus",
|
|
50687
|
-
resource: "time-blocks",
|
|
50688
|
-
action: "archive",
|
|
50689
|
-
title: "Archive Time Blocks",
|
|
50690
|
-
description: "Archive Time Blocks.",
|
|
50691
|
-
safety: "update",
|
|
50692
|
-
destructive: false,
|
|
50693
|
-
cli: {
|
|
50694
|
-
group: ["time-blocks"],
|
|
50695
|
-
command: "archive",
|
|
50696
|
-
interactive: "default"
|
|
50697
|
-
},
|
|
50698
|
-
mcp: { entityTool: "time-blocks" },
|
|
50699
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50700
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50701
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50702
|
-
}),
|
|
50703
|
-
execute: (input, { client }) => {
|
|
50704
|
-
const data = input;
|
|
50705
|
-
return client.runGeneratedRequest("archiveTimeBlockWithOrg", () => callGeneratedRequest(archiveTimeBlockWithOrg, [
|
|
50706
|
-
client.httpClient,
|
|
50707
|
-
client.organizationId,
|
|
50708
|
-
client.workspaceIdNumber,
|
|
50709
|
-
data.task_id,
|
|
50710
|
-
data.time_block_id,
|
|
50711
|
-
void 0
|
|
50712
|
-
]));
|
|
50713
|
-
}
|
|
50714
|
-
},
|
|
50715
|
-
{
|
|
50716
|
-
id: "focus.time-blocks.bulk-create",
|
|
50717
|
-
family: "focus",
|
|
50718
|
-
resource: "time-blocks",
|
|
50719
|
-
action: "bulk-create",
|
|
50720
|
-
title: "Bulk Create Time Blocks",
|
|
50721
|
-
description: "Bulk Create Time Blocks.",
|
|
50722
|
-
safety: "create",
|
|
50723
|
-
destructive: false,
|
|
50724
|
-
cli: {
|
|
50725
|
-
group: ["time-blocks", "bulk"],
|
|
50726
|
-
command: "create",
|
|
50727
|
-
interactive: "default"
|
|
50728
|
-
},
|
|
50729
|
-
mcp: { entityTool: "time-blocks" },
|
|
50730
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ time_blocks: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
50731
|
-
start: apiDateTimeString,
|
|
50732
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50733
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50734
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50735
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50736
|
-
})) }) }),
|
|
50737
|
-
execute: (input, { client }) => {
|
|
50738
|
-
const data = input;
|
|
50739
|
-
return client.runGeneratedRequest("bulkCreateTimeBlockWithOrg", () => callGeneratedRequest(bulkCreateTimeBlockWithOrg, [
|
|
50740
|
-
client.httpClient,
|
|
50741
|
-
client.organizationId,
|
|
50742
|
-
client.workspaceIdNumber,
|
|
50743
|
-
data.payload ?? data.data ?? data,
|
|
50744
|
-
void 0
|
|
50745
|
-
]));
|
|
50746
|
-
}
|
|
50747
|
-
},
|
|
50748
|
-
{
|
|
50749
|
-
id: "focus.time-blocks.bulk-delete",
|
|
50750
|
-
family: "focus",
|
|
50751
|
-
resource: "time-blocks",
|
|
50752
|
-
action: "bulk-delete",
|
|
50753
|
-
title: "Bulk Delete Time Blocks",
|
|
50754
|
-
description: "Bulk Delete Time Blocks.",
|
|
50755
|
-
safety: "delete",
|
|
50756
|
-
destructive: true,
|
|
50757
|
-
cli: {
|
|
50758
|
-
group: ["time-blocks", "bulk"],
|
|
50759
|
-
command: "delete",
|
|
50760
|
-
interactive: "default"
|
|
50761
|
-
},
|
|
50762
|
-
mcp: { entityTool: "time-blocks" },
|
|
50763
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50764
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50765
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50766
|
-
}),
|
|
50767
|
-
execute: (input, { client }) => {
|
|
50768
|
-
const data = input;
|
|
50769
|
-
return client.runGeneratedRequest("bulkDeleteTimeBlockWithOrg", () => callGeneratedRequest(bulkDeleteTimeBlockWithOrg, [
|
|
50770
|
-
client.httpClient,
|
|
50771
|
-
client.organizationId,
|
|
50772
|
-
client.workspaceIdNumber,
|
|
50773
|
-
data.ids,
|
|
50774
|
-
data.outbound_sync,
|
|
50775
|
-
void 0
|
|
50776
|
-
]));
|
|
50777
|
-
}
|
|
50778
|
-
},
|
|
50779
|
-
{
|
|
50780
|
-
id: "focus.time-blocks.bulk-partial-update",
|
|
50781
|
-
family: "focus",
|
|
50782
|
-
resource: "time-blocks",
|
|
50783
|
-
action: "bulk-partial-update",
|
|
50784
|
-
title: "Bulk Partial Update Time Blocks",
|
|
50785
|
-
description: "Bulk Partial Update Time Blocks.",
|
|
50786
|
-
safety: "update",
|
|
50787
|
-
destructive: false,
|
|
50788
|
-
cli: {
|
|
50789
|
-
group: ["time-blocks", "bulk"],
|
|
50790
|
-
command: "partial-update",
|
|
50791
|
-
interactive: "hidden"
|
|
50792
|
-
},
|
|
50793
|
-
mcp: { entityTool: "time-blocks" },
|
|
50794
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50795
|
-
execute: (input, { client }) => {
|
|
50796
|
-
const data = input;
|
|
50797
|
-
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50798
|
-
client.httpClient,
|
|
50799
|
-
client.organizationId,
|
|
50800
|
-
client.workspaceIdNumber,
|
|
50801
|
-
data.payload ?? data.data ?? data,
|
|
50802
|
-
void 0
|
|
50803
|
-
]));
|
|
50804
|
-
}
|
|
50805
|
-
},
|
|
50806
|
-
{
|
|
50807
|
-
id: "focus.time-blocks.create",
|
|
50808
|
-
family: "focus",
|
|
50809
|
-
resource: "time-blocks",
|
|
50810
|
-
action: "create",
|
|
50811
|
-
title: "Create Time Blocks",
|
|
50812
|
-
description: "Create Time Blocks.",
|
|
50813
|
-
safety: "create",
|
|
50814
|
-
destructive: false,
|
|
50815
|
-
cli: {
|
|
50816
|
-
group: ["time-blocks"],
|
|
50817
|
-
command: "create",
|
|
50818
|
-
interactive: "default"
|
|
50819
|
-
},
|
|
50820
|
-
mcp: { entityTool: "time-blocks" },
|
|
50821
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50822
|
-
payload: /* @__PURE__ */ looseObject({
|
|
50823
|
-
start: apiDateTimeString,
|
|
50824
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50825
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50826
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50827
|
-
}),
|
|
50828
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50829
|
-
}),
|
|
50830
|
-
execute: (input, { client }) => {
|
|
50831
|
-
const data = input;
|
|
50832
|
-
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50833
|
-
client.httpClient,
|
|
50834
|
-
client.organizationId,
|
|
50835
|
-
client.workspaceIdNumber,
|
|
50836
|
-
data.task_id,
|
|
50837
|
-
data.payload ?? data.data ?? data,
|
|
50838
|
-
void 0
|
|
50839
|
-
]));
|
|
50840
|
-
}
|
|
50841
|
-
},
|
|
50842
|
-
{
|
|
50843
|
-
id: "focus.time-blocks.delete",
|
|
50844
|
-
family: "focus",
|
|
50845
|
-
resource: "time-blocks",
|
|
50846
|
-
action: "delete",
|
|
50847
|
-
title: "Delete Time Blocks",
|
|
50848
|
-
description: "Delete Time Blocks.",
|
|
50849
|
-
safety: "delete",
|
|
50850
|
-
destructive: true,
|
|
50851
|
-
cli: {
|
|
50852
|
-
group: ["time-blocks"],
|
|
50853
|
-
command: "delete",
|
|
50854
|
-
interactive: "default"
|
|
50855
|
-
},
|
|
50856
|
-
mcp: { entityTool: "time-blocks" },
|
|
50857
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50858
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50859
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50860
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50861
|
-
}),
|
|
50862
|
-
execute: (input, { client }) => {
|
|
50863
|
-
const data = input;
|
|
50864
|
-
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50865
|
-
client.httpClient,
|
|
50866
|
-
client.organizationId,
|
|
50867
|
-
client.workspaceIdNumber,
|
|
50868
|
-
data.task_id,
|
|
50869
|
-
data.time_block_id,
|
|
50870
|
-
data.outbound_sync,
|
|
50871
|
-
void 0
|
|
50872
|
-
]));
|
|
50873
|
-
}
|
|
50874
|
-
},
|
|
50875
|
-
{
|
|
50876
|
-
id: "focus.time-blocks.get",
|
|
50877
|
-
family: "focus",
|
|
50878
|
-
resource: "time-blocks",
|
|
50879
|
-
action: "get",
|
|
50880
|
-
title: "Get Time Blocks",
|
|
50881
|
-
description: "Get Time Blocks.",
|
|
50882
|
-
safety: "read",
|
|
50883
|
-
destructive: false,
|
|
50884
|
-
cli: {
|
|
50885
|
-
group: ["time-blocks"],
|
|
50886
|
-
command: "get",
|
|
50887
|
-
interactive: "available"
|
|
50888
|
-
},
|
|
50889
|
-
mcp: { entityTool: "time-blocks" },
|
|
50890
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50891
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50892
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50893
|
-
}),
|
|
50894
|
-
execute: (input, { client }) => {
|
|
50895
|
-
const data = input;
|
|
50896
|
-
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
50897
|
-
client.httpClient,
|
|
50898
|
-
client.organizationId,
|
|
50899
|
-
client.workspaceIdNumber,
|
|
50900
|
-
data.task_id,
|
|
50901
|
-
data.time_block_id,
|
|
50902
|
-
void 0
|
|
50903
|
-
]));
|
|
50904
|
-
}
|
|
50905
|
-
},
|
|
50906
|
-
{
|
|
50907
|
-
id: "focus.time-blocks.get-range",
|
|
50908
|
-
family: "focus",
|
|
50909
|
-
resource: "time-blocks",
|
|
50910
|
-
action: "get-range",
|
|
50911
|
-
title: "Get Range Time Blocks",
|
|
50912
|
-
description: "Get Range Time Blocks.",
|
|
50913
|
-
safety: "read",
|
|
50914
|
-
destructive: false,
|
|
50915
|
-
cli: {
|
|
50916
|
-
group: ["time-blocks"],
|
|
50917
|
-
command: "get-range",
|
|
50918
|
-
interactive: "hidden"
|
|
50919
|
-
},
|
|
50920
|
-
mcp: { entityTool: "time-blocks" },
|
|
50921
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50922
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
50923
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
50924
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
50925
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
50926
|
-
page: /* @__PURE__ */ number$2(),
|
|
50927
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
50928
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
50929
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50930
|
-
}),
|
|
50931
|
-
execute: (input, { client }) => {
|
|
50932
|
-
const data = input;
|
|
50933
|
-
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
50934
|
-
client.httpClient,
|
|
50935
|
-
client.organizationId,
|
|
50936
|
-
client.workspaceIdNumber,
|
|
50937
|
-
data,
|
|
50938
|
-
void 0
|
|
50939
|
-
]));
|
|
50940
|
-
}
|
|
50941
|
-
},
|
|
50942
|
-
{
|
|
50943
|
-
id: "focus.time-blocks.get-range-stream",
|
|
50944
|
-
family: "focus",
|
|
50945
|
-
resource: "time-blocks",
|
|
50946
|
-
action: "get-range-stream",
|
|
50947
|
-
title: "Get Range Stream Time Blocks",
|
|
50948
|
-
description: "Get Range Stream Time Blocks.",
|
|
50949
|
-
safety: "read",
|
|
50950
|
-
destructive: false,
|
|
50951
|
-
cli: {
|
|
50952
|
-
group: ["time-blocks"],
|
|
50953
|
-
command: "get-range-stream",
|
|
50954
|
-
interactive: "hidden"
|
|
50955
|
-
},
|
|
50956
|
-
mcp: { entityTool: "time-blocks" },
|
|
50957
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50958
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
50959
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
50960
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
50961
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
50962
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
50963
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50964
|
-
}),
|
|
50965
|
-
execute: (input, { client }) => {
|
|
50966
|
-
const data = input;
|
|
50967
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
50968
|
-
client.httpClient,
|
|
50969
|
-
client.organizationId,
|
|
50970
|
-
client.workspaceIdNumber,
|
|
50971
|
-
data,
|
|
50972
|
-
void 0
|
|
50973
|
-
]));
|
|
50974
|
-
}
|
|
50975
|
-
},
|
|
50976
|
-
{
|
|
50977
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
50978
|
-
family: "focus",
|
|
50979
|
-
resource: "time-blocks",
|
|
50980
|
-
action: "get-task-time-blocks",
|
|
50981
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
50982
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
50983
|
-
safety: "read",
|
|
50984
|
-
destructive: false,
|
|
50985
|
-
cli: {
|
|
50986
|
-
group: ["time-blocks"],
|
|
50987
|
-
command: "get-task-time-blocks",
|
|
50988
|
-
interactive: "hidden"
|
|
50989
|
-
},
|
|
50990
|
-
mcp: { entityTool: "time-blocks" },
|
|
50991
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50992
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50993
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50994
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50995
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50996
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50997
|
-
}),
|
|
50998
|
-
execute: (input, { client }) => {
|
|
50999
|
-
const data = input;
|
|
51000
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51001
|
-
client.httpClient,
|
|
51002
|
-
client.organizationId,
|
|
51003
|
-
client.workspaceIdNumber,
|
|
51004
|
-
data.task_id,
|
|
51005
|
-
data,
|
|
51006
|
-
void 0
|
|
51007
|
-
]));
|
|
51008
|
-
}
|
|
51009
|
-
},
|
|
51010
|
-
{
|
|
51011
|
-
id: "focus.time-blocks.partial-update",
|
|
51012
|
-
family: "focus",
|
|
51013
|
-
resource: "time-blocks",
|
|
51014
|
-
action: "partial-update",
|
|
51015
|
-
title: "Partial Update Time Blocks",
|
|
51016
|
-
description: "Partial Update Time Blocks.",
|
|
51017
|
-
safety: "update",
|
|
51018
|
-
destructive: false,
|
|
51019
|
-
cli: {
|
|
51020
|
-
group: ["time-blocks"],
|
|
51021
|
-
command: "partial-update",
|
|
51022
|
-
interactive: "default"
|
|
51023
|
-
},
|
|
51024
|
-
mcp: { entityTool: "time-blocks" },
|
|
51025
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51026
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51027
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51028
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51029
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51030
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51031
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51032
|
-
}),
|
|
51033
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51034
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51035
|
-
}),
|
|
51036
|
-
execute: (input, { client }) => {
|
|
51037
|
-
const data = input;
|
|
51038
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51039
|
-
client.httpClient,
|
|
51040
|
-
client.organizationId,
|
|
51041
|
-
client.workspaceIdNumber,
|
|
51042
|
-
data.task_id,
|
|
51043
|
-
data.time_block_id,
|
|
51044
|
-
data.payload ?? data.data ?? data,
|
|
51045
|
-
void 0
|
|
51046
|
-
]));
|
|
51047
|
-
}
|
|
51048
|
-
},
|
|
51049
|
-
{
|
|
51050
|
-
id: "focus.time-blocks.restore",
|
|
51051
|
-
family: "focus",
|
|
51052
|
-
resource: "time-blocks",
|
|
51053
|
-
action: "restore",
|
|
51054
|
-
title: "Restore Time Blocks",
|
|
51055
|
-
description: "Restore Time Blocks.",
|
|
51056
|
-
safety: "update",
|
|
51057
|
-
destructive: false,
|
|
51058
|
-
cli: {
|
|
51059
|
-
group: ["time-blocks"],
|
|
51060
|
-
command: "restore",
|
|
51061
|
-
interactive: "default"
|
|
51062
|
-
},
|
|
51063
|
-
mcp: { entityTool: "time-blocks" },
|
|
51064
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51065
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51066
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51067
|
-
}),
|
|
51068
|
-
execute: (input, { client }) => {
|
|
51069
|
-
const data = input;
|
|
51070
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51071
|
-
client.httpClient,
|
|
51072
|
-
client.organizationId,
|
|
51073
|
-
client.workspaceIdNumber,
|
|
51074
|
-
data.task_id,
|
|
51075
|
-
data.time_block_id,
|
|
51076
|
-
void 0
|
|
51077
|
-
]));
|
|
51078
|
-
}
|
|
51079
|
-
},
|
|
51080
|
-
{
|
|
51081
|
-
id: "focus.time-blocks.unarchive",
|
|
51082
|
-
family: "focus",
|
|
51083
|
-
resource: "time-blocks",
|
|
51084
|
-
action: "unarchive",
|
|
51085
|
-
title: "Unarchive Time Blocks",
|
|
51086
|
-
description: "Unarchive Time Blocks.",
|
|
51087
|
-
safety: "update",
|
|
51088
|
-
destructive: false,
|
|
51089
|
-
cli: {
|
|
51090
|
-
group: ["time-blocks"],
|
|
51091
|
-
command: "unarchive",
|
|
51092
|
-
interactive: "default"
|
|
51093
|
-
},
|
|
51094
|
-
mcp: { entityTool: "time-blocks" },
|
|
51095
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51096
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51097
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51174
|
+
"low",
|
|
51175
|
+
"medium",
|
|
51176
|
+
"high"
|
|
51177
|
+
])),
|
|
51178
|
+
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51179
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51180
|
+
recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51181
|
+
rollup_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51182
|
+
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
51183
|
+
}),
|
|
51184
|
+
task_id: /* @__PURE__ */ number$2()
|
|
51098
51185
|
}),
|
|
51099
51186
|
execute: (input, { client }) => {
|
|
51100
51187
|
const data = input;
|
|
51101
|
-
return client.runGeneratedRequest("
|
|
51188
|
+
return client.runGeneratedRequest("updateTask", () => callGeneratedRequest(updateTask, [
|
|
51102
51189
|
client.httpClient,
|
|
51103
51190
|
client.organizationId,
|
|
51104
51191
|
client.workspaceIdNumber,
|
|
51105
51192
|
data.task_id,
|
|
51106
|
-
data.
|
|
51193
|
+
data.payload ?? data.data ?? data,
|
|
51107
51194
|
void 0
|
|
51108
51195
|
]));
|
|
51109
51196
|
}
|
|
51110
51197
|
},
|
|
51111
51198
|
{
|
|
51112
|
-
id: "focus.
|
|
51199
|
+
id: "focus.tasks.update-calendar-range",
|
|
51113
51200
|
family: "focus",
|
|
51114
|
-
resource: "
|
|
51115
|
-
action: "update",
|
|
51116
|
-
title: "Update
|
|
51117
|
-
description: "Update
|
|
51201
|
+
resource: "tasks",
|
|
51202
|
+
action: "update-calendar-range",
|
|
51203
|
+
title: "Update Calendar Range Tasks",
|
|
51204
|
+
description: "Update Calendar Range Tasks.",
|
|
51118
51205
|
safety: "update",
|
|
51119
51206
|
destructive: false,
|
|
51120
51207
|
cli: {
|
|
51121
|
-
group: ["
|
|
51122
|
-
command: "update",
|
|
51208
|
+
group: ["tasks"],
|
|
51209
|
+
command: "update-calendar-range",
|
|
51123
51210
|
interactive: "default"
|
|
51124
51211
|
},
|
|
51125
|
-
mcp: { entityTool: "
|
|
51212
|
+
mcp: { entityTool: "tasks" },
|
|
51126
51213
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51127
|
-
|
|
51128
|
-
|
|
51129
|
-
|
|
51130
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51131
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51132
|
-
}),
|
|
51133
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51134
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51214
|
+
date_from: /* @__PURE__ */ string$1(),
|
|
51215
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51216
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51135
51217
|
}),
|
|
51136
51218
|
execute: (input, { client }) => {
|
|
51137
51219
|
const data = input;
|
|
51138
|
-
return client.runGeneratedRequest("
|
|
51220
|
+
return client.runGeneratedRequest("putTasksCalendarRange", () => callGeneratedRequest(putTasksCalendarRange, [
|
|
51139
51221
|
client.httpClient,
|
|
51140
51222
|
client.organizationId,
|
|
51141
51223
|
client.workspaceIdNumber,
|
|
51142
|
-
data.
|
|
51143
|
-
data.
|
|
51144
|
-
data.
|
|
51224
|
+
data.date_from,
|
|
51225
|
+
data.date_to,
|
|
51226
|
+
data.skip_provider_refresh,
|
|
51145
51227
|
void 0
|
|
51146
51228
|
]));
|
|
51147
51229
|
}
|
|
@@ -51361,7 +51443,8 @@ const generatedFocusOperations = [
|
|
|
51361
51443
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51362
51444
|
"project",
|
|
51363
51445
|
"task",
|
|
51364
|
-
"description"
|
|
51446
|
+
"description",
|
|
51447
|
+
"tags"
|
|
51365
51448
|
]) })),
|
|
51366
51449
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51367
51450
|
}) }),
|
|
@@ -51391,6 +51474,7 @@ const generatedFocusOperations = [
|
|
|
51391
51474
|
},
|
|
51392
51475
|
mcp: { entityTool: "time-entries" },
|
|
51393
51476
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51477
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51394
51478
|
payload: /* @__PURE__ */ looseObject({
|
|
51395
51479
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51396
51480
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51401,11 +51485,12 @@ const generatedFocusOperations = [
|
|
|
51401
51485
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51402
51486
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51403
51487
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51488
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51404
51489
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51405
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51406
51490
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51407
51491
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51408
51492
|
}),
|
|
51493
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51409
51494
|
task_id: /* @__PURE__ */ number$2()
|
|
51410
51495
|
}),
|
|
51411
51496
|
execute: (input, { client }) => {
|
|
@@ -51416,6 +51501,8 @@ const generatedFocusOperations = [
|
|
|
51416
51501
|
client.workspaceIdNumber,
|
|
51417
51502
|
data.task_id,
|
|
51418
51503
|
data.payload ?? data.data ?? data,
|
|
51504
|
+
data.from_recurring_task_id,
|
|
51505
|
+
data.return_occurrence,
|
|
51419
51506
|
void 0
|
|
51420
51507
|
]));
|
|
51421
51508
|
}
|
|
@@ -51435,21 +51522,25 @@ const generatedFocusOperations = [
|
|
|
51435
51522
|
interactive: "default"
|
|
51436
51523
|
},
|
|
51437
51524
|
mcp: { entityTool: "time-entries" },
|
|
51438
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51439
|
-
|
|
51440
|
-
|
|
51441
|
-
|
|
51442
|
-
|
|
51443
|
-
|
|
51444
|
-
|
|
51445
|
-
|
|
51446
|
-
|
|
51447
|
-
|
|
51448
|
-
|
|
51449
|
-
|
|
51450
|
-
|
|
51451
|
-
|
|
51452
|
-
|
|
51525
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51526
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51527
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51528
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51529
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51530
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51531
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51532
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51533
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51534
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51535
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51536
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51537
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51538
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51539
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51540
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51541
|
+
}),
|
|
51542
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51543
|
+
}),
|
|
51453
51544
|
execute: (input, { client }) => {
|
|
51454
51545
|
const data = input;
|
|
51455
51546
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51457,6 +51548,8 @@ const generatedFocusOperations = [
|
|
|
51457
51548
|
client.organizationId,
|
|
51458
51549
|
client.workspaceIdNumber,
|
|
51459
51550
|
data.payload ?? data.data ?? data,
|
|
51551
|
+
data.from_recurring_task_id,
|
|
51552
|
+
data.return_occurrence,
|
|
51460
51553
|
void 0
|
|
51461
51554
|
]));
|
|
51462
51555
|
}
|
|
@@ -51476,7 +51569,11 @@ const generatedFocusOperations = [
|
|
|
51476
51569
|
interactive: "default"
|
|
51477
51570
|
},
|
|
51478
51571
|
mcp: { entityTool: "time-entries" },
|
|
51479
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51572
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51573
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51574
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51575
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51576
|
+
}),
|
|
51480
51577
|
execute: (input, { client }) => {
|
|
51481
51578
|
const data = input;
|
|
51482
51579
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51484,6 +51581,8 @@ const generatedFocusOperations = [
|
|
|
51484
51581
|
client.organizationId,
|
|
51485
51582
|
client.workspaceIdNumber,
|
|
51486
51583
|
data.time_entry_id,
|
|
51584
|
+
data.from_recurring_task_id,
|
|
51585
|
+
data.return_occurrence,
|
|
51487
51586
|
void 0
|
|
51488
51587
|
]));
|
|
51489
51588
|
}
|
|
@@ -51564,6 +51663,7 @@ const generatedFocusOperations = [
|
|
|
51564
51663
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51565
51664
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51566
51665
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51666
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51567
51667
|
status_id: /* @__PURE__ */ number$2(),
|
|
51568
51668
|
task_id: /* @__PURE__ */ number$2(),
|
|
51569
51669
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51579,33 +51679,6 @@ const generatedFocusOperations = [
|
|
|
51579
51679
|
]));
|
|
51580
51680
|
}
|
|
51581
51681
|
},
|
|
51582
|
-
{
|
|
51583
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51584
|
-
family: "focus",
|
|
51585
|
-
resource: "time-entries",
|
|
51586
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
51587
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51588
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51589
|
-
safety: "read",
|
|
51590
|
-
destructive: false,
|
|
51591
|
-
cli: {
|
|
51592
|
-
group: ["time-entries"],
|
|
51593
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
51594
|
-
interactive: "available"
|
|
51595
|
-
},
|
|
51596
|
-
mcp: { entityTool: "time-entries" },
|
|
51597
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51598
|
-
execute: (input, { client }) => {
|
|
51599
|
-
const data = input;
|
|
51600
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51601
|
-
client.httpClient,
|
|
51602
|
-
client.organizationId,
|
|
51603
|
-
client.workspaceIdNumber,
|
|
51604
|
-
data,
|
|
51605
|
-
void 0
|
|
51606
|
-
]));
|
|
51607
|
-
}
|
|
51608
|
-
},
|
|
51609
51682
|
{
|
|
51610
51683
|
id: "focus.time-entries.get-task-time-entries",
|
|
51611
51684
|
family: "focus",
|
|
@@ -51627,7 +51700,6 @@ const generatedFocusOperations = [
|
|
|
51627
51700
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51628
51701
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51629
51702
|
task_id: /* @__PURE__ */ number$2(),
|
|
51630
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51631
51703
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51632
51704
|
}),
|
|
51633
51705
|
execute: (input, { client }) => {
|
|
@@ -51740,12 +51812,14 @@ const generatedFocusOperations = [
|
|
|
51740
51812
|
},
|
|
51741
51813
|
mcp: { entityTool: "time-entries" },
|
|
51742
51814
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51815
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51743
51816
|
payload: /* @__PURE__ */ looseObject({
|
|
51744
51817
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51745
51818
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51746
51819
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51747
51820
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51748
51821
|
}),
|
|
51822
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51749
51823
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51750
51824
|
}),
|
|
51751
51825
|
execute: (input, { client }) => {
|
|
@@ -51756,6 +51830,8 @@ const generatedFocusOperations = [
|
|
|
51756
51830
|
client.workspaceIdNumber,
|
|
51757
51831
|
data.time_entry_id,
|
|
51758
51832
|
data.payload ?? data.data ?? data,
|
|
51833
|
+
data.from_recurring_task_id,
|
|
51834
|
+
data.return_occurrence,
|
|
51759
51835
|
void 0
|
|
51760
51836
|
]));
|
|
51761
51837
|
}
|
|
@@ -52013,6 +52089,7 @@ const generatedFocusOperations = [
|
|
|
52013
52089
|
},
|
|
52014
52090
|
mcp: { entityTool: "time-entries" },
|
|
52015
52091
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52092
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52016
52093
|
payload: /* @__PURE__ */ looseObject({
|
|
52017
52094
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52018
52095
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52022,9 +52099,9 @@ const generatedFocusOperations = [
|
|
|
52022
52099
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52023
52100
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52024
52101
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52025
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52026
52102
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52027
52103
|
}),
|
|
52104
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52028
52105
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52029
52106
|
}),
|
|
52030
52107
|
execute: (input, { client }) => {
|
|
@@ -52035,6 +52112,8 @@ const generatedFocusOperations = [
|
|
|
52035
52112
|
client.workspaceIdNumber,
|
|
52036
52113
|
data.time_entry_id,
|
|
52037
52114
|
data.payload ?? data.data ?? data,
|
|
52115
|
+
data.from_recurring_task_id,
|
|
52116
|
+
data.return_occurrence,
|
|
52038
52117
|
void 0
|
|
52039
52118
|
]));
|
|
52040
52119
|
}
|
|
@@ -52099,6 +52178,118 @@ const generatedFocusOperations = [
|
|
|
52099
52178
|
]));
|
|
52100
52179
|
}
|
|
52101
52180
|
},
|
|
52181
|
+
{
|
|
52182
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52183
|
+
family: "focus",
|
|
52184
|
+
resource: "time-off",
|
|
52185
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
52186
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52187
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52188
|
+
safety: "read",
|
|
52189
|
+
destructive: false,
|
|
52190
|
+
cli: {
|
|
52191
|
+
group: ["time-off"],
|
|
52192
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
52193
|
+
interactive: "hidden"
|
|
52194
|
+
},
|
|
52195
|
+
mcp: { entityTool: "time-off" },
|
|
52196
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52197
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
52198
|
+
page: /* @__PURE__ */ number$2(),
|
|
52199
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
52200
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
52201
|
+
year: /* @__PURE__ */ unknown$1()
|
|
52202
|
+
}),
|
|
52203
|
+
execute: (input, { client }) => {
|
|
52204
|
+
const data = input;
|
|
52205
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52206
|
+
client.httpClient,
|
|
52207
|
+
client.organizationId,
|
|
52208
|
+
data.user_id,
|
|
52209
|
+
data,
|
|
52210
|
+
void 0
|
|
52211
|
+
]));
|
|
52212
|
+
}
|
|
52213
|
+
},
|
|
52214
|
+
{
|
|
52215
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52216
|
+
family: "focus",
|
|
52217
|
+
resource: "time-off",
|
|
52218
|
+
action: "get-timeoff-balances-for-user",
|
|
52219
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
52220
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
52221
|
+
safety: "read",
|
|
52222
|
+
destructive: false,
|
|
52223
|
+
cli: {
|
|
52224
|
+
group: ["time-off"],
|
|
52225
|
+
command: "get-timeoff-balances-for-user",
|
|
52226
|
+
interactive: "available"
|
|
52227
|
+
},
|
|
52228
|
+
mcp: { entityTool: "time-off" },
|
|
52229
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52230
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52231
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52232
|
+
user_id: /* @__PURE__ */ number$2()
|
|
52233
|
+
}),
|
|
52234
|
+
execute: (input, { client }) => {
|
|
52235
|
+
const data = input;
|
|
52236
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52237
|
+
client.httpClient,
|
|
52238
|
+
client.organizationId,
|
|
52239
|
+
data.user_id,
|
|
52240
|
+
data,
|
|
52241
|
+
void 0
|
|
52242
|
+
]));
|
|
52243
|
+
}
|
|
52244
|
+
},
|
|
52245
|
+
{
|
|
52246
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
52247
|
+
family: "focus",
|
|
52248
|
+
resource: "time-off",
|
|
52249
|
+
action: "get-timeoff-categories",
|
|
52250
|
+
title: "Get Timeoff Categories Time Off",
|
|
52251
|
+
description: "Get Timeoff Categories Time Off.",
|
|
52252
|
+
safety: "read",
|
|
52253
|
+
destructive: false,
|
|
52254
|
+
cli: {
|
|
52255
|
+
group: ["time-off"],
|
|
52256
|
+
command: "get-timeoff-categories",
|
|
52257
|
+
interactive: "hidden"
|
|
52258
|
+
},
|
|
52259
|
+
mcp: { entityTool: "time-off" },
|
|
52260
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52261
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52262
|
+
client.httpClient,
|
|
52263
|
+
client.organizationId,
|
|
52264
|
+
void 0
|
|
52265
|
+
]))
|
|
52266
|
+
},
|
|
52267
|
+
{
|
|
52268
|
+
id: "focus.time-off.get-timeoff-category",
|
|
52269
|
+
family: "focus",
|
|
52270
|
+
resource: "time-off",
|
|
52271
|
+
action: "get-timeoff-category",
|
|
52272
|
+
title: "Get Timeoff Category Time Off",
|
|
52273
|
+
description: "Get Timeoff Category Time Off.",
|
|
52274
|
+
safety: "read",
|
|
52275
|
+
destructive: false,
|
|
52276
|
+
cli: {
|
|
52277
|
+
group: ["time-off"],
|
|
52278
|
+
command: "get-timeoff-category",
|
|
52279
|
+
interactive: "available"
|
|
52280
|
+
},
|
|
52281
|
+
mcp: { entityTool: "time-off" },
|
|
52282
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52283
|
+
execute: (input, { client }) => {
|
|
52284
|
+
const data = input;
|
|
52285
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52286
|
+
client.httpClient,
|
|
52287
|
+
client.organizationId,
|
|
52288
|
+
data.category_id,
|
|
52289
|
+
void 0
|
|
52290
|
+
]));
|
|
52291
|
+
}
|
|
52292
|
+
},
|
|
52102
52293
|
{
|
|
52103
52294
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52104
52295
|
family: "focus",
|
|
@@ -52550,6 +52741,40 @@ const generatedFocusOperations = [
|
|
|
52550
52741
|
]));
|
|
52551
52742
|
}
|
|
52552
52743
|
},
|
|
52744
|
+
{
|
|
52745
|
+
id: "focus.timesheets.get-status-counts",
|
|
52746
|
+
family: "focus",
|
|
52747
|
+
resource: "timesheets",
|
|
52748
|
+
action: "get-status-counts",
|
|
52749
|
+
title: "Get Status Counts Timesheets",
|
|
52750
|
+
description: "Get Status Counts Timesheets.",
|
|
52751
|
+
safety: "read",
|
|
52752
|
+
destructive: false,
|
|
52753
|
+
cli: {
|
|
52754
|
+
group: ["timesheets"],
|
|
52755
|
+
command: "get-status-counts",
|
|
52756
|
+
interactive: "hidden"
|
|
52757
|
+
},
|
|
52758
|
+
mcp: { entityTool: "timesheets" },
|
|
52759
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52760
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52761
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
52762
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
52763
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
52764
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52765
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52766
|
+
}),
|
|
52767
|
+
execute: (input, { client }) => {
|
|
52768
|
+
const data = input;
|
|
52769
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52770
|
+
client.httpClient,
|
|
52771
|
+
client.organizationId,
|
|
52772
|
+
client.workspaceIdNumber,
|
|
52773
|
+
data,
|
|
52774
|
+
void 0
|
|
52775
|
+
]));
|
|
52776
|
+
}
|
|
52777
|
+
},
|
|
52553
52778
|
{
|
|
52554
52779
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52555
52780
|
family: "focus",
|
|
@@ -53099,6 +53324,33 @@ const generatedFocusOperations = [
|
|
|
53099
53324
|
]));
|
|
53100
53325
|
}
|
|
53101
53326
|
},
|
|
53327
|
+
{
|
|
53328
|
+
id: "focus.track-team-invites.post",
|
|
53329
|
+
family: "focus",
|
|
53330
|
+
resource: "track-team-invites",
|
|
53331
|
+
action: "post",
|
|
53332
|
+
title: "Post Track Team Invites",
|
|
53333
|
+
description: "Post Track Team Invites.",
|
|
53334
|
+
safety: "create",
|
|
53335
|
+
destructive: false,
|
|
53336
|
+
cli: {
|
|
53337
|
+
group: ["track-team-invites"],
|
|
53338
|
+
command: "post",
|
|
53339
|
+
interactive: "default"
|
|
53340
|
+
},
|
|
53341
|
+
mcp: { entityTool: "track-team-invites" },
|
|
53342
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53343
|
+
execute: (input, { client }) => {
|
|
53344
|
+
const data = input;
|
|
53345
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53346
|
+
client.httpClient,
|
|
53347
|
+
client.organizationId,
|
|
53348
|
+
client.workspaceIdNumber,
|
|
53349
|
+
data.payload ?? data.data ?? data,
|
|
53350
|
+
void 0
|
|
53351
|
+
]));
|
|
53352
|
+
}
|
|
53353
|
+
},
|
|
53102
53354
|
{
|
|
53103
53355
|
id: "focus.users.list",
|
|
53104
53356
|
family: "focus",
|
|
@@ -53120,6 +53372,56 @@ const generatedFocusOperations = [
|
|
|
53120
53372
|
return client.listOrgUsers(data);
|
|
53121
53373
|
}
|
|
53122
53374
|
},
|
|
53375
|
+
{
|
|
53376
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
53377
|
+
family: "focus",
|
|
53378
|
+
resource: "users",
|
|
53379
|
+
action: "settings-email-unsubscribe",
|
|
53380
|
+
title: "Settings Email Unsubscribe Users",
|
|
53381
|
+
description: "Settings Email Unsubscribe Users.",
|
|
53382
|
+
safety: "update",
|
|
53383
|
+
destructive: false,
|
|
53384
|
+
cli: {
|
|
53385
|
+
group: ["users", "settings"],
|
|
53386
|
+
command: "email-unsubscribe",
|
|
53387
|
+
interactive: "default"
|
|
53388
|
+
},
|
|
53389
|
+
mcp: { entityTool: "users" },
|
|
53390
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53391
|
+
execute: (input, { client }) => {
|
|
53392
|
+
const data = input;
|
|
53393
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53394
|
+
client.httpClient,
|
|
53395
|
+
data.token,
|
|
53396
|
+
void 0
|
|
53397
|
+
]));
|
|
53398
|
+
}
|
|
53399
|
+
},
|
|
53400
|
+
{
|
|
53401
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
53402
|
+
family: "focus",
|
|
53403
|
+
resource: "users",
|
|
53404
|
+
action: "settings-email-unsubscribe-page",
|
|
53405
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
53406
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
53407
|
+
safety: "read",
|
|
53408
|
+
destructive: false,
|
|
53409
|
+
cli: {
|
|
53410
|
+
group: ["users", "settings"],
|
|
53411
|
+
command: "email-unsubscribe-page",
|
|
53412
|
+
interactive: "available"
|
|
53413
|
+
},
|
|
53414
|
+
mcp: { entityTool: "users" },
|
|
53415
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53416
|
+
execute: (input, { client }) => {
|
|
53417
|
+
const data = input;
|
|
53418
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53419
|
+
client.httpClient,
|
|
53420
|
+
data.token,
|
|
53421
|
+
void 0
|
|
53422
|
+
]));
|
|
53423
|
+
}
|
|
53424
|
+
},
|
|
53123
53425
|
{
|
|
53124
53426
|
id: "focus.users.settings-list",
|
|
53125
53427
|
family: "focus",
|
|
@@ -53181,6 +53483,9 @@ const generatedFocusOperations = [
|
|
|
53181
53483
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53182
53484
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53183
53485
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53486
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53487
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53488
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53184
53489
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53185
53490
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53186
53491
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54723,7 +55028,7 @@ function registerWorkspaceTools(server) {
|
|
|
54723
55028
|
//#region src/package-version.ts
|
|
54724
55029
|
function mcpPackageVersion() {
|
|
54725
55030
|
try {
|
|
54726
|
-
return "1.11.
|
|
55031
|
+
return "1.11.70";
|
|
54727
55032
|
} catch {
|
|
54728
55033
|
return "unknown";
|
|
54729
55034
|
}
|
|
@@ -54898,7 +55203,7 @@ import_main.default.config({
|
|
|
54898
55203
|
quiet: true,
|
|
54899
55204
|
ignore: ["MISSING_ENV_FILE"]
|
|
54900
55205
|
});
|
|
54901
|
-
const packageVersion = "1.11.
|
|
55206
|
+
const packageVersion = "1.11.70";
|
|
54902
55207
|
function resolvePublicUrls() {
|
|
54903
55208
|
return {
|
|
54904
55209
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -54963,4 +55268,4 @@ function bootstrapServer(options = {}) {
|
|
|
54963
55268
|
//#endregion
|
|
54964
55269
|
export { initProductAnalytics as a, shutdownProductAnalytics as c, getProductAnalyticsDistinctId as i, runMcpCli as n, redactUnsafeSentryMessages as o, captureToolInvocation as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
54965
55270
|
|
|
54966
|
-
//# sourceMappingURL=src-
|
|
55271
|
+
//# sourceMappingURL=src-BAnNc8Xd.js.map
|