@togglhq/mcp 1.11.84 → 1.11.86
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-CWgPVKh5.js → src-DgVyWhG2.js} +1176 -831
- package/package.json +1 -1
|
@@ -32773,6 +32773,10 @@ function _joinExpects$1(values$1, separator) {
|
|
|
32773
32773
|
*/
|
|
32774
32774
|
const ISO_DATE_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])$/u;
|
|
32775
32775
|
/**
|
|
32776
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time regex.
|
|
32777
|
+
*/
|
|
32778
|
+
const ISO_DATE_TIME_REGEX$1 = /^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3]):[0-5]\d$/u;
|
|
32779
|
+
/**
|
|
32776
32780
|
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp regex. Allows a
|
|
32777
32781
|
* space as a date/time separator and an optional space before the UTC offset.
|
|
32778
32782
|
*/
|
|
@@ -32826,6 +32830,22 @@ function isoDate$1(message$1) {
|
|
|
32826
32830
|
};
|
|
32827
32831
|
}
|
|
32828
32832
|
/* @__NO_SIDE_EFFECTS__ */
|
|
32833
|
+
function isoDateTime$1(message$1) {
|
|
32834
|
+
return {
|
|
32835
|
+
kind: "validation",
|
|
32836
|
+
type: "iso_date_time",
|
|
32837
|
+
reference: isoDateTime$1,
|
|
32838
|
+
async: false,
|
|
32839
|
+
expects: null,
|
|
32840
|
+
requirement: ISO_DATE_TIME_REGEX$1,
|
|
32841
|
+
message: message$1,
|
|
32842
|
+
"~run"(dataset, config$1) {
|
|
32843
|
+
if (dataset.typed && !this.requirement.test(dataset.value)) _addIssue$1(this, "date-time", dataset, config$1);
|
|
32844
|
+
return dataset;
|
|
32845
|
+
}
|
|
32846
|
+
};
|
|
32847
|
+
}
|
|
32848
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
32829
32849
|
function isoTimestamp(message$1) {
|
|
32830
32850
|
return {
|
|
32831
32851
|
kind: "validation",
|
|
@@ -34663,6 +34683,7 @@ const ProjectLiteSchema = /* @__PURE__ */ object({
|
|
|
34663
34683
|
name: /* @__PURE__ */ string(),
|
|
34664
34684
|
permissions: /* @__PURE__ */ array(/* @__PURE__ */ string()),
|
|
34665
34685
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34686
|
+
billable: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
34666
34687
|
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
34667
34688
|
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34668
34689
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
@@ -34749,6 +34770,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
34749
34770
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34750
34771
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34751
34772
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34773
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34752
34774
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34753
34775
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34754
34776
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -34810,6 +34832,7 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
34810
34832
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34811
34833
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
34812
34834
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34835
|
+
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
34813
34836
|
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
34814
34837
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34815
34838
|
parent: /* @__PURE__ */ optional(TaskSchema),
|
|
@@ -34970,6 +34993,8 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
34970
34993
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34971
34994
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
34972
34995
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34996
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
34997
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
34973
34998
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
34974
34999
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
34975
35000
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35055,8 +35080,10 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
35055
35080
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35056
35081
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35057
35082
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35083
|
+
filtered_task_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35058
35084
|
fixed_fee: /* @__PURE__ */ optional(ProjectFixedFeeSchema),
|
|
35059
35085
|
parent_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35086
|
+
picker_parent_group_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35060
35087
|
rate: /* @__PURE__ */ optional(EffectiveProjectRatesSummarySchema),
|
|
35061
35088
|
recurring_project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35062
35089
|
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)."))),
|
|
@@ -35112,6 +35139,8 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
35112
35139
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35113
35140
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35114
35141
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35142
|
+
pattern_generated: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternGenerated is the response-facing derivative of GeneratedByTaskID: true when the entry was materialized by a series pattern."))),
|
|
35143
|
+
pattern_managed: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("PatternManaged reports that the pattern engine owns this entry. Server-owned; present in responses, never bindable from a payload."))),
|
|
35115
35144
|
planned_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35116
35145
|
planned_duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35117
35146
|
planned_start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
@@ -35284,8 +35313,6 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35284
35313
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
35285
35314
|
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
35286
35315
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(0))),
|
|
35287
|
-
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35288
|
-
integration_source: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35289
35316
|
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
35290
35317
|
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35291
35318
|
pinned: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -35342,6 +35369,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35342
35369
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35343
35370
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35344
35371
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35372
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35345
35373
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35346
35374
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35347
35375
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35378,6 +35406,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
35378
35406
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35379
35407
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35380
35408
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
35409
|
+
repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
|
|
35381
35410
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
35382
35411
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
35383
35412
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
@@ -35398,7 +35427,6 @@ const TimeEntryBulkCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
35398
35427
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35399
35428
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35400
35429
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35401
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35402
35430
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35403
35431
|
user_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35404
35432
|
});
|
|
@@ -35427,8 +35455,7 @@ const TimeEntryStartTrackingPayloadSchema = /* @__PURE__ */ object({
|
|
|
35427
35455
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
35428
35456
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
35429
35457
|
tag_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
35430
|
-
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35431
|
-
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35458
|
+
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number())
|
|
35432
35459
|
});
|
|
35433
35460
|
const TimeEntryStopTrackingPayloadSchema = /* @__PURE__ */ object({ end: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()) });
|
|
35434
35461
|
//#endregion
|
|
@@ -37302,7 +37329,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
37302
37329
|
})
|
|
37303
37330
|
}).json();
|
|
37304
37331
|
}
|
|
37305
|
-
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) {
|
|
37332
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration } = {}, signal) {
|
|
37306
37333
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
37307
37334
|
signal,
|
|
37308
37335
|
searchParams: buildSearchParams$2({
|
|
@@ -37323,6 +37350,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
37323
37350
|
include_rates,
|
|
37324
37351
|
pinned_ids,
|
|
37325
37352
|
has_group,
|
|
37353
|
+
track_without_focus,
|
|
37326
37354
|
cf_filter,
|
|
37327
37355
|
include_custom_fields,
|
|
37328
37356
|
include_calendar_integration
|
|
@@ -37424,10 +37452,20 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
37424
37452
|
}
|
|
37425
37453
|
//#endregion
|
|
37426
37454
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
37427
|
-
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) {
|
|
37455
|
+
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) {
|
|
37428
37456
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
37429
37457
|
signal,
|
|
37430
37458
|
searchParams: buildSearchParams$2({
|
|
37459
|
+
include_task_counts,
|
|
37460
|
+
include_picker_parent_group_counts,
|
|
37461
|
+
task_archived,
|
|
37462
|
+
task_recurring,
|
|
37463
|
+
task_state,
|
|
37464
|
+
task_source,
|
|
37465
|
+
task_assignee_user_id,
|
|
37466
|
+
task_assignee_team_id,
|
|
37467
|
+
task_include_unassigned,
|
|
37468
|
+
task_name,
|
|
37431
37469
|
page,
|
|
37432
37470
|
per_page,
|
|
37433
37471
|
order_by,
|
|
@@ -37677,7 +37715,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
37677
37715
|
}
|
|
37678
37716
|
//#endregion
|
|
37679
37717
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
37680
|
-
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,
|
|
37718
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37681
37719
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
37682
37720
|
signal,
|
|
37683
37721
|
searchParams: buildSearchParams$2({
|
|
@@ -37690,7 +37728,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37690
37728
|
toggl_user_id,
|
|
37691
37729
|
name,
|
|
37692
37730
|
has_time_entries,
|
|
37693
|
-
has_time_blocks,
|
|
37694
37731
|
has_dates,
|
|
37695
37732
|
private: private_,
|
|
37696
37733
|
archived,
|
|
@@ -37713,10 +37750,6 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37713
37750
|
priority,
|
|
37714
37751
|
is_priority,
|
|
37715
37752
|
state,
|
|
37716
|
-
timeblock_start_from,
|
|
37717
|
-
timeblock_start_until,
|
|
37718
|
-
time_block_id,
|
|
37719
|
-
time_block_completed,
|
|
37720
37753
|
team_id,
|
|
37721
37754
|
assignee_team_id,
|
|
37722
37755
|
assignee_user_id,
|
|
@@ -37728,7 +37761,11 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
37728
37761
|
include_assignees,
|
|
37729
37762
|
include_parent_matches,
|
|
37730
37763
|
disable_aggregations,
|
|
37731
|
-
cf_filter
|
|
37764
|
+
cf_filter,
|
|
37765
|
+
recurring_occurrences_after,
|
|
37766
|
+
max_recurring_occurrences_after,
|
|
37767
|
+
recurring_task_read,
|
|
37768
|
+
include_projected_occurrences
|
|
37732
37769
|
})
|
|
37733
37770
|
}).json();
|
|
37734
37771
|
}
|
|
@@ -37803,16 +37840,46 @@ async function getTasksCalendarEvents(httpClient, organization_id, workspace_id,
|
|
|
37803
37840
|
})
|
|
37804
37841
|
}).json();
|
|
37805
37842
|
}
|
|
37806
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
37843
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, skip_provider_refresh, signal) {
|
|
37807
37844
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
37808
37845
|
signal,
|
|
37809
37846
|
searchParams: buildSearchParams$2({
|
|
37810
37847
|
date_from,
|
|
37811
|
-
date_to
|
|
37848
|
+
date_to,
|
|
37849
|
+
skip_provider_refresh
|
|
37850
|
+
})
|
|
37851
|
+
}).json();
|
|
37852
|
+
}
|
|
37853
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37854
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
37855
|
+
signal,
|
|
37856
|
+
searchParams: buildSearchParams$2({
|
|
37857
|
+
project_id,
|
|
37858
|
+
without_project,
|
|
37859
|
+
pinned_only,
|
|
37860
|
+
include_unassigned,
|
|
37861
|
+
search,
|
|
37862
|
+
only_me,
|
|
37863
|
+
page,
|
|
37864
|
+
per_page
|
|
37865
|
+
})
|
|
37866
|
+
}).json();
|
|
37867
|
+
}
|
|
37868
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
37869
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
37870
|
+
signal,
|
|
37871
|
+
searchParams: buildSearchParams$2({
|
|
37872
|
+
project_id,
|
|
37873
|
+
without_project,
|
|
37874
|
+
include_unassigned,
|
|
37875
|
+
search,
|
|
37876
|
+
only_me,
|
|
37877
|
+
page,
|
|
37878
|
+
per_page
|
|
37812
37879
|
})
|
|
37813
37880
|
}).json();
|
|
37814
37881
|
}
|
|
37815
|
-
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) {
|
|
37882
|
+
async function getTasksRecurringInstancesClassic(httpClient, organization_id, workspace_id, { page, per_page, archived, start_date, end_date, dates_overlap_start, dates_overlap_end, recurring_task_ids, team_id, assignee_team_id, assignee_user_id, tag_id, include_assignees, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37816
37883
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/recurring`, {
|
|
37817
37884
|
signal,
|
|
37818
37885
|
searchParams: buildSearchParams$2({
|
|
@@ -37828,11 +37895,15 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
37828
37895
|
assignee_team_id,
|
|
37829
37896
|
assignee_user_id,
|
|
37830
37897
|
tag_id,
|
|
37831
|
-
include_assignees
|
|
37898
|
+
include_assignees,
|
|
37899
|
+
recurring_occurrences_after,
|
|
37900
|
+
max_recurring_occurrences_after,
|
|
37901
|
+
recurring_task_read,
|
|
37902
|
+
include_projected_occurrences
|
|
37832
37903
|
})
|
|
37833
37904
|
}).json();
|
|
37834
37905
|
}
|
|
37835
|
-
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,
|
|
37906
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
37836
37907
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
37837
37908
|
signal,
|
|
37838
37909
|
searchParams: buildSearchParams$2({
|
|
@@ -37844,7 +37915,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37844
37915
|
name,
|
|
37845
37916
|
include_parent_matches,
|
|
37846
37917
|
has_time_entries,
|
|
37847
|
-
has_time_blocks,
|
|
37848
37918
|
has_dates,
|
|
37849
37919
|
private: private_,
|
|
37850
37920
|
archived,
|
|
@@ -37867,8 +37937,6 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37867
37937
|
priority,
|
|
37868
37938
|
is_priority,
|
|
37869
37939
|
state,
|
|
37870
|
-
time_block_id,
|
|
37871
|
-
time_block_completed,
|
|
37872
37940
|
team_id,
|
|
37873
37941
|
assignee_team_id,
|
|
37874
37942
|
assignee_user_id,
|
|
@@ -37877,7 +37945,11 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
37877
37945
|
recurring_task_ids,
|
|
37878
37946
|
client_id,
|
|
37879
37947
|
include_assignees,
|
|
37880
|
-
cf_filter
|
|
37948
|
+
cf_filter,
|
|
37949
|
+
recurring_occurrences_after,
|
|
37950
|
+
max_recurring_occurrences_after,
|
|
37951
|
+
recurring_task_read,
|
|
37952
|
+
include_projected_occurrences
|
|
37881
37953
|
})
|
|
37882
37954
|
}).json();
|
|
37883
37955
|
}
|
|
@@ -37932,6 +38004,12 @@ async function getTaskWithChildrenClassic(httpClient, organization_id, workspace
|
|
|
37932
38004
|
})
|
|
37933
38005
|
}).json();
|
|
37934
38006
|
}
|
|
38007
|
+
async function createRecurringOccurrence(httpClient, organization_id, workspace_id, task_id, return_occurrence, signal) {
|
|
38008
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/occurrences`, {
|
|
38009
|
+
signal,
|
|
38010
|
+
searchParams: buildSearchParams$2({ return_occurrence })
|
|
38011
|
+
}).json();
|
|
38012
|
+
}
|
|
37935
38013
|
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) {
|
|
37936
38014
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/parents`, {
|
|
37937
38015
|
signal,
|
|
@@ -37957,7 +38035,7 @@ async function unarchiveTask(httpClient, organization_id, workspace_id, task_id,
|
|
|
37957
38035
|
}
|
|
37958
38036
|
//#endregion
|
|
37959
38037
|
//#region ../focus-queries/dist/time-entries/requests.ts
|
|
37960
|
-
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived
|
|
38038
|
+
async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, type, archived } = {}, signal) {
|
|
37961
38039
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37962
38040
|
signal,
|
|
37963
38041
|
searchParams: buildSearchParams$2({
|
|
@@ -37965,21 +38043,28 @@ async function getTaskTimeEntriesWithOrgClassic(httpClient, organization_id, wor
|
|
|
37965
38043
|
per_page,
|
|
37966
38044
|
order_by,
|
|
37967
38045
|
type,
|
|
37968
|
-
archived
|
|
37969
|
-
time_block_id
|
|
38046
|
+
archived
|
|
37970
38047
|
})
|
|
37971
38048
|
}).json();
|
|
37972
38049
|
}
|
|
37973
|
-
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
38050
|
+
async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id, task_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37974
38051
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-entries`, {
|
|
37975
38052
|
signal,
|
|
37976
|
-
json: data
|
|
38053
|
+
json: data,
|
|
38054
|
+
searchParams: buildSearchParams$2({
|
|
38055
|
+
from_recurring_task_id,
|
|
38056
|
+
return_occurrence
|
|
38057
|
+
})
|
|
37977
38058
|
}).json();
|
|
37978
38059
|
}
|
|
37979
|
-
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
38060
|
+
async function createTasklessTimeEntryWithOrg(httpClient, organization_id, workspace_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
37980
38061
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
37981
38062
|
signal,
|
|
37982
|
-
json: data
|
|
38063
|
+
json: data,
|
|
38064
|
+
searchParams: buildSearchParams$2({
|
|
38065
|
+
from_recurring_task_id,
|
|
38066
|
+
return_occurrence
|
|
38067
|
+
})
|
|
37983
38068
|
}).json();
|
|
37984
38069
|
}
|
|
37985
38070
|
async function getBatchTimeEntriesWithOrg(httpClient, organization_id, workspace_id, { ids }, signal) {
|
|
@@ -38030,7 +38115,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
38030
38115
|
json: data
|
|
38031
38116
|
}).json();
|
|
38032
38117
|
}
|
|
38033
|
-
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) {
|
|
38118
|
+
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) {
|
|
38034
38119
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
38035
38120
|
signal,
|
|
38036
38121
|
searchParams: buildSearchParams$2({
|
|
@@ -38038,6 +38123,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
38038
38123
|
date_to,
|
|
38039
38124
|
task_id,
|
|
38040
38125
|
status_id,
|
|
38126
|
+
project_id,
|
|
38041
38127
|
type,
|
|
38042
38128
|
order_by,
|
|
38043
38129
|
archived,
|
|
@@ -38052,28 +38138,36 @@ async function syncTimeEntry(httpClient, organization_id, workspace_id, client_u
|
|
|
38052
38138
|
json: data
|
|
38053
38139
|
}).json();
|
|
38054
38140
|
}
|
|
38055
|
-
async function getStreamTimeEntriesTimeBlockIdsWithOrg(httpClient, organization_id, workspace_id, { time_block_id }, signal) {
|
|
38056
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/time-block-ids/stream`, {
|
|
38057
|
-
signal,
|
|
38058
|
-
searchParams: buildSearchParams$2({ time_block_id })
|
|
38059
|
-
}).json();
|
|
38060
|
-
}
|
|
38061
38141
|
async function getTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38062
38142
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, { signal }).json();
|
|
38063
38143
|
}
|
|
38064
|
-
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38144
|
+
async function updateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38065
38145
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38066
38146
|
signal,
|
|
38067
|
-
json: data
|
|
38147
|
+
json: data,
|
|
38148
|
+
searchParams: buildSearchParams$2({
|
|
38149
|
+
from_recurring_task_id,
|
|
38150
|
+
return_occurrence
|
|
38151
|
+
})
|
|
38068
38152
|
}).json();
|
|
38069
38153
|
}
|
|
38070
|
-
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
38071
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38154
|
+
async function deleteTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, from_recurring_task_id, return_occurrence, signal) {
|
|
38155
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38156
|
+
signal,
|
|
38157
|
+
searchParams: buildSearchParams$2({
|
|
38158
|
+
from_recurring_task_id,
|
|
38159
|
+
return_occurrence
|
|
38160
|
+
})
|
|
38161
|
+
}).json();
|
|
38072
38162
|
}
|
|
38073
|
-
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
38163
|
+
async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, from_recurring_task_id, return_occurrence, signal) {
|
|
38074
38164
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}`, {
|
|
38075
38165
|
signal,
|
|
38076
|
-
json: data
|
|
38166
|
+
json: data,
|
|
38167
|
+
searchParams: buildSearchParams$2({
|
|
38168
|
+
from_recurring_task_id,
|
|
38169
|
+
return_occurrence
|
|
38170
|
+
})
|
|
38077
38171
|
}).json();
|
|
38078
38172
|
}
|
|
38079
38173
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
@@ -38188,7 +38282,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
38188
38282
|
]))
|
|
38189
38283
|
});
|
|
38190
38284
|
//#endregion
|
|
38191
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38285
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
38192
38286
|
async function getInvitations(httpClient, signal) {
|
|
38193
38287
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
38194
38288
|
}
|
|
@@ -38205,7 +38299,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
38205
38299
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
38206
38300
|
}
|
|
38207
38301
|
//#endregion
|
|
38208
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38302
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
38209
38303
|
function buildSearchParams(params, flattenArrays = false) {
|
|
38210
38304
|
const searchParams = new URLSearchParams();
|
|
38211
38305
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -38217,7 +38311,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
38217
38311
|
return searchParams;
|
|
38218
38312
|
}
|
|
38219
38313
|
//#endregion
|
|
38220
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38314
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
38221
38315
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
38222
38316
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
38223
38317
|
}
|
|
@@ -38231,7 +38325,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
38231
38325
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
38232
38326
|
}
|
|
38233
38327
|
//#endregion
|
|
38234
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38328
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
38235
38329
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
38236
38330
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
38237
38331
|
}
|
|
@@ -38240,7 +38334,7 @@ async function getWorkspaceUserMeRoles(httpClient, organization_id, workspace_id
|
|
|
38240
38334
|
}
|
|
38241
38335
|
const WorkingHoursCreateInputSchema = /* @__PURE__ */ object$2({
|
|
38242
38336
|
working_hours: /* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(168)),
|
|
38243
|
-
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ maxValue$1(24))),
|
|
38337
|
+
starting_hours: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(24))),
|
|
38244
38338
|
weekday: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ number$2(), /* @__PURE__ */ minValue$1(0), /* @__PURE__ */ maxValue$1(6)))
|
|
38245
38339
|
});
|
|
38246
38340
|
const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
@@ -38251,7 +38345,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
38251
38345
|
});
|
|
38252
38346
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
38253
38347
|
//#endregion
|
|
38254
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38348
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
38255
38349
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
38256
38350
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
38257
38351
|
signal,
|
|
@@ -38262,12 +38356,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
38262
38356
|
})).json();
|
|
38263
38357
|
}
|
|
38264
38358
|
//#endregion
|
|
38265
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38359
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
38266
38360
|
async function getStatus(httpClient, signal) {
|
|
38267
38361
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
38268
38362
|
}
|
|
38269
38363
|
//#endregion
|
|
38270
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38364
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
38271
38365
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
38272
38366
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
38273
38367
|
signal,
|
|
@@ -38295,7 +38389,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
38295
38389
|
return response.json();
|
|
38296
38390
|
}
|
|
38297
38391
|
//#endregion
|
|
38298
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
38392
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.85_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_c29ed84541021d8cc4208eddf7994b99/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
38299
38393
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
38300
38394
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
38301
38395
|
}
|
|
@@ -41899,13 +41993,15 @@ async function getWorkspaceAttachmentStorage(httpClient, organization_id, worksp
|
|
|
41899
41993
|
}
|
|
41900
41994
|
//#endregion
|
|
41901
41995
|
//#region ../focus-queries/dist/audit-log/requests.ts
|
|
41902
|
-
async function getOrganizationAuditLog(httpClient, organization_id, from, to, { workspace_id, entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
41996
|
+
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) {
|
|
41903
41997
|
return await httpClient.get(`organizations/${organization_id}/audit-log/${from}/${to}`, {
|
|
41904
41998
|
signal,
|
|
41905
41999
|
searchParams: buildSearchParams$2({
|
|
41906
42000
|
workspace_id,
|
|
41907
42001
|
entity_type,
|
|
41908
42002
|
entity_id,
|
|
42003
|
+
project_id,
|
|
42004
|
+
custom_field_id,
|
|
41909
42005
|
action,
|
|
41910
42006
|
user_id,
|
|
41911
42007
|
page_size,
|
|
@@ -41914,12 +42010,14 @@ async function getOrganizationAuditLog(httpClient, organization_id, from, to, {
|
|
|
41914
42010
|
})
|
|
41915
42011
|
}).json();
|
|
41916
42012
|
}
|
|
41917
|
-
async function getAuditLog(httpClient, organization_id, workspace_id, from, to, { entity_type, entity_id, action, user_id, page_size, page_number, export: export_ } = {}, signal) {
|
|
42013
|
+
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) {
|
|
41918
42014
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/audit-log/${from}/${to}`, {
|
|
41919
42015
|
signal,
|
|
41920
42016
|
searchParams: buildSearchParams$2({
|
|
41921
42017
|
entity_type,
|
|
41922
42018
|
entity_id,
|
|
42019
|
+
project_id,
|
|
42020
|
+
custom_field_id,
|
|
41923
42021
|
action,
|
|
41924
42022
|
user_id,
|
|
41925
42023
|
page_size,
|
|
@@ -42072,13 +42170,14 @@ async function checkWorkspaceBillableRateConflicts(httpClient, organization_id,
|
|
|
42072
42170
|
}
|
|
42073
42171
|
//#endregion
|
|
42074
42172
|
//#region ../focus-queries/dist/capacities/requests.ts
|
|
42075
|
-
async function capacityGetComputations(httpClient, organization_id, workspace_id, group, {
|
|
42173
|
+
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) {
|
|
42076
42174
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/capacities/${group}`, {
|
|
42077
42175
|
signal,
|
|
42078
42176
|
searchParams: buildSearchParams$2({
|
|
42079
|
-
user_id,
|
|
42080
42177
|
start_date,
|
|
42081
42178
|
end_date,
|
|
42179
|
+
user_id,
|
|
42180
|
+
team_id,
|
|
42082
42181
|
private: private_,
|
|
42083
42182
|
task_source,
|
|
42084
42183
|
unit,
|
|
@@ -42138,6 +42237,15 @@ async function updateCustomField(httpClient, organization_id, workspace_id, cust
|
|
|
42138
42237
|
async function deleteCustomField(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42139
42238
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}`, { signal }).json();
|
|
42140
42239
|
}
|
|
42240
|
+
async function getCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, signal) {
|
|
42241
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, { signal }).json();
|
|
42242
|
+
}
|
|
42243
|
+
async function replaceCustomFieldAllowedUsers(httpClient, organization_id, workspace_id, custom_field_id, data, signal) {
|
|
42244
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/allowed-users`, {
|
|
42245
|
+
signal,
|
|
42246
|
+
json: data
|
|
42247
|
+
}).json();
|
|
42248
|
+
}
|
|
42141
42249
|
async function getCustomFieldOptionsClassic(httpClient, organization_id, workspace_id, custom_field_id, { name, page, per_page, order_by } = {}, signal) {
|
|
42142
42250
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/custom-fields/${custom_field_id}/options`, {
|
|
42143
42251
|
signal,
|
|
@@ -42401,7 +42509,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
42401
42509
|
}
|
|
42402
42510
|
//#endregion
|
|
42403
42511
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
42404
|
-
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) {
|
|
42512
|
+
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) {
|
|
42405
42513
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
42406
42514
|
signal,
|
|
42407
42515
|
searchParams: buildSearchParams$2({
|
|
@@ -42427,6 +42535,7 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
42427
42535
|
user_id,
|
|
42428
42536
|
only_me,
|
|
42429
42537
|
include_drafts,
|
|
42538
|
+
include_recurring_series,
|
|
42430
42539
|
cf_filter
|
|
42431
42540
|
})
|
|
42432
42541
|
}).json();
|
|
@@ -42445,9 +42554,6 @@ async function setWorkspaceProjectMarginTarget(httpClient, organization_id, work
|
|
|
42445
42554
|
json: data
|
|
42446
42555
|
}).json();
|
|
42447
42556
|
}
|
|
42448
|
-
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
42449
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
42450
|
-
}
|
|
42451
42557
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
42452
42558
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
42453
42559
|
}
|
|
@@ -42473,6 +42579,37 @@ async function getPublicHolidaysByUserIds(httpClient, organization_id, { user_id
|
|
|
42473
42579
|
}).json();
|
|
42474
42580
|
}
|
|
42475
42581
|
//#endregion
|
|
42582
|
+
//#region ../focus-queries/dist/publicsharedreports/requests.ts
|
|
42583
|
+
async function openPublicSharedReport(httpClient, token, signal) {
|
|
42584
|
+
return await httpClient.get(`shared/${token}`, { signal }).json();
|
|
42585
|
+
}
|
|
42586
|
+
async function profitabilityPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42587
|
+
return await httpClient.post(`shared/${token}/profitability`, {
|
|
42588
|
+
signal,
|
|
42589
|
+
json: data,
|
|
42590
|
+
searchParams: buildSearchParams$2({
|
|
42591
|
+
response_format,
|
|
42592
|
+
include_dicts
|
|
42593
|
+
})
|
|
42594
|
+
}).json();
|
|
42595
|
+
}
|
|
42596
|
+
async function queryPublicSharedReport(httpClient, token, data, response_format, include_dicts, signal) {
|
|
42597
|
+
return await httpClient.post(`shared/${token}/query`, {
|
|
42598
|
+
signal,
|
|
42599
|
+
json: data,
|
|
42600
|
+
searchParams: buildSearchParams$2({
|
|
42601
|
+
response_format,
|
|
42602
|
+
include_dicts
|
|
42603
|
+
})
|
|
42604
|
+
}).json();
|
|
42605
|
+
}
|
|
42606
|
+
async function workloadPublicSharedReport(httpClient, token, data, signal) {
|
|
42607
|
+
return await httpClient.post(`shared/${token}/workload`, {
|
|
42608
|
+
signal,
|
|
42609
|
+
json: data
|
|
42610
|
+
}).json();
|
|
42611
|
+
}
|
|
42612
|
+
//#endregion
|
|
42476
42613
|
//#region ../focus-queries/dist/rates/requests.ts
|
|
42477
42614
|
async function getProjectRatesSummary(httpClient, organization_id, workspace_id, { page, rows, order_by, search } = {}, signal) {
|
|
42478
42615
|
const response = await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/rates`, {
|
|
@@ -42634,7 +42771,7 @@ async function updateASavedView(httpClient, workspace_id, id, data, signal) {
|
|
|
42634
42771
|
}
|
|
42635
42772
|
//#endregion
|
|
42636
42773
|
//#region ../focus-queries/dist/search/requests.ts
|
|
42637
|
-
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) {
|
|
42774
|
+
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) {
|
|
42638
42775
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/search`, {
|
|
42639
42776
|
signal,
|
|
42640
42777
|
searchParams: buildSearchParams$2({
|
|
@@ -42642,6 +42779,7 @@ async function search(httpClient, organization_id, workspace_id, { keyword, per_
|
|
|
42642
42779
|
per_group,
|
|
42643
42780
|
assignee_user_id,
|
|
42644
42781
|
assignee_team_id,
|
|
42782
|
+
include_unassigned,
|
|
42645
42783
|
project_id,
|
|
42646
42784
|
task_id,
|
|
42647
42785
|
include_drafts,
|
|
@@ -42686,6 +42824,18 @@ async function getSharedReportsSharedWithMe(httpClient, workspace_id, signal) {
|
|
|
42686
42824
|
async function getSharedReportForViewer(httpClient, workspace_id, id, signal) {
|
|
42687
42825
|
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42688
42826
|
}
|
|
42827
|
+
async function unshareSharedReport(httpClient, workspace_id, id, signal) {
|
|
42828
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}`, { signal }).json();
|
|
42829
|
+
}
|
|
42830
|
+
async function getSharedReportDates(httpClient, workspace_id, id, signal) {
|
|
42831
|
+
return await httpClient.get(`workspaces/${workspace_id}/shared-reports/${id}/dates`, { signal }).json();
|
|
42832
|
+
}
|
|
42833
|
+
async function setSharedReportDatesLock(httpClient, workspace_id, id, data, signal) {
|
|
42834
|
+
return await httpClient.put(`workspaces/${workspace_id}/shared-reports/${id}/dates`, {
|
|
42835
|
+
signal,
|
|
42836
|
+
json: data
|
|
42837
|
+
}).json();
|
|
42838
|
+
}
|
|
42689
42839
|
async function addSharedReportGrants(httpClient, workspace_id, id, data, signal) {
|
|
42690
42840
|
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/grants`, {
|
|
42691
42841
|
signal,
|
|
@@ -42695,6 +42845,21 @@ async function addSharedReportGrants(httpClient, workspace_id, id, data, signal)
|
|
|
42695
42845
|
async function revokeSharedReportGrant(httpClient, workspace_id, id, grant_id, signal) {
|
|
42696
42846
|
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/grants/${grant_id}`, { signal }).json();
|
|
42697
42847
|
}
|
|
42848
|
+
async function mintSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42849
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link`, {
|
|
42850
|
+
signal,
|
|
42851
|
+
json: data
|
|
42852
|
+
}).json();
|
|
42853
|
+
}
|
|
42854
|
+
async function revokeSharedReportLink(httpClient, workspace_id, id, signal) {
|
|
42855
|
+
return await httpClient.delete(`workspaces/${workspace_id}/shared-reports/${id}/link`, { signal }).json();
|
|
42856
|
+
}
|
|
42857
|
+
async function rotateSharedReportLink(httpClient, workspace_id, id, data, signal) {
|
|
42858
|
+
return await httpClient.post(`workspaces/${workspace_id}/shared-reports/${id}/link/rotate`, {
|
|
42859
|
+
signal,
|
|
42860
|
+
json: data
|
|
42861
|
+
}).json();
|
|
42862
|
+
}
|
|
42698
42863
|
//#endregion
|
|
42699
42864
|
//#region ../focus-queries/dist/subscriptions/requests.ts
|
|
42700
42865
|
async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
@@ -42751,9 +42916,10 @@ async function updateTaskEstimateAllocations(httpClient, organization_id, worksp
|
|
|
42751
42916
|
}
|
|
42752
42917
|
//#endregion
|
|
42753
42918
|
//#region ../focus-queries/dist/task-groups/requests.ts
|
|
42754
|
-
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) {
|
|
42919
|
+
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) {
|
|
42755
42920
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-project`, {
|
|
42756
42921
|
signal,
|
|
42922
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42757
42923
|
searchParams: buildSearchParams$2({
|
|
42758
42924
|
project_id,
|
|
42759
42925
|
source,
|
|
@@ -42782,13 +42948,18 @@ async function getUserTaskGroupsByProject(httpClient, organization_id, workspace
|
|
|
42782
42948
|
min_days,
|
|
42783
42949
|
include_drafts,
|
|
42784
42950
|
cf_filter,
|
|
42785
|
-
user_cf_filter
|
|
42951
|
+
user_cf_filter,
|
|
42952
|
+
recurring_occurrences_after,
|
|
42953
|
+
max_recurring_occurrences_after,
|
|
42954
|
+
recurring_task_read,
|
|
42955
|
+
include_projected_occurrences
|
|
42786
42956
|
})
|
|
42787
42957
|
}).json();
|
|
42788
42958
|
}
|
|
42789
|
-
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) {
|
|
42959
|
+
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) {
|
|
42790
42960
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/users/by-team`, {
|
|
42791
42961
|
signal,
|
|
42962
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42792
42963
|
searchParams: buildSearchParams$2({
|
|
42793
42964
|
team_id,
|
|
42794
42965
|
project_id,
|
|
@@ -42817,13 +42988,18 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
42817
42988
|
min_days,
|
|
42818
42989
|
include_drafts,
|
|
42819
42990
|
cf_filter,
|
|
42820
|
-
user_cf_filter
|
|
42991
|
+
user_cf_filter,
|
|
42992
|
+
recurring_occurrences_after,
|
|
42993
|
+
max_recurring_occurrences_after,
|
|
42994
|
+
recurring_task_read,
|
|
42995
|
+
include_projected_occurrences
|
|
42821
42996
|
})
|
|
42822
42997
|
}).json();
|
|
42823
42998
|
}
|
|
42824
|
-
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) {
|
|
42999
|
+
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) {
|
|
42825
43000
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
42826
43001
|
signal,
|
|
43002
|
+
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
42827
43003
|
searchParams: buildSearchParams$2({
|
|
42828
43004
|
source,
|
|
42829
43005
|
priority,
|
|
@@ -42853,6 +43029,10 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
42853
43029
|
include_drafts,
|
|
42854
43030
|
cf_filter,
|
|
42855
43031
|
user_cf_filter,
|
|
43032
|
+
recurring_occurrences_after,
|
|
43033
|
+
max_recurring_occurrences_after,
|
|
43034
|
+
recurring_task_read,
|
|
43035
|
+
include_projected_occurrences,
|
|
42856
43036
|
page,
|
|
42857
43037
|
per_page,
|
|
42858
43038
|
order_by
|
|
@@ -42880,104 +43060,6 @@ async function getProjectSuggestionsForMultipleTasks(httpClient, organization_id
|
|
|
42880
43060
|
}).json();
|
|
42881
43061
|
}
|
|
42882
43062
|
//#endregion
|
|
42883
|
-
//#region ../focus-queries/dist/time-blocks/requests.ts
|
|
42884
|
-
async function getTaskTimeBlocksWithOrgClassic(httpClient, organization_id, workspace_id, task_id, { page, per_page, order_by, archived } = {}, signal) {
|
|
42885
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42886
|
-
signal,
|
|
42887
|
-
searchParams: buildSearchParams$2({
|
|
42888
|
-
page,
|
|
42889
|
-
per_page,
|
|
42890
|
-
order_by,
|
|
42891
|
-
archived
|
|
42892
|
-
})
|
|
42893
|
-
}).json();
|
|
42894
|
-
}
|
|
42895
|
-
async function createTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, data, signal) {
|
|
42896
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks`, {
|
|
42897
|
-
signal,
|
|
42898
|
-
json: data
|
|
42899
|
-
}).json();
|
|
42900
|
-
}
|
|
42901
|
-
async function getTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42902
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, { signal }).json();
|
|
42903
|
-
}
|
|
42904
|
-
async function updateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42905
|
-
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42906
|
-
signal,
|
|
42907
|
-
json: data
|
|
42908
|
-
}).json();
|
|
42909
|
-
}
|
|
42910
|
-
async function deleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, outbound_sync, signal) {
|
|
42911
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42912
|
-
signal,
|
|
42913
|
-
searchParams: buildSearchParams$2({ outbound_sync })
|
|
42914
|
-
}).json();
|
|
42915
|
-
}
|
|
42916
|
-
async function partialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, data, signal) {
|
|
42917
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}`, {
|
|
42918
|
-
signal,
|
|
42919
|
-
json: data
|
|
42920
|
-
}).json();
|
|
42921
|
-
}
|
|
42922
|
-
async function archiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42923
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/archive`, { signal }).json();
|
|
42924
|
-
}
|
|
42925
|
-
async function restoreTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42926
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/restore`, { signal }).json();
|
|
42927
|
-
}
|
|
42928
|
-
async function unarchiveTimeBlockWithOrg(httpClient, organization_id, workspace_id, task_id, time_block_id, signal) {
|
|
42929
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/${task_id}/time-blocks/${time_block_id}/unarchive`, { signal }).json();
|
|
42930
|
-
}
|
|
42931
|
-
async function getTimeBlocksRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, page, per_page, archived, order_by }, signal) {
|
|
42932
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks`, {
|
|
42933
|
-
signal,
|
|
42934
|
-
searchParams: buildSearchParams$2({
|
|
42935
|
-
date_from,
|
|
42936
|
-
date_to,
|
|
42937
|
-
task_id,
|
|
42938
|
-
status_id,
|
|
42939
|
-
page,
|
|
42940
|
-
per_page,
|
|
42941
|
-
archived,
|
|
42942
|
-
order_by
|
|
42943
|
-
})
|
|
42944
|
-
}).json();
|
|
42945
|
-
}
|
|
42946
|
-
async function bulkCreateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42947
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42948
|
-
signal,
|
|
42949
|
-
json: data
|
|
42950
|
-
}).json();
|
|
42951
|
-
}
|
|
42952
|
-
async function bulkDeleteTimeBlockWithOrg(httpClient, organization_id, workspace_id, ids, outbound_sync, signal) {
|
|
42953
|
-
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42954
|
-
signal,
|
|
42955
|
-
searchParams: buildSearchParams$2({
|
|
42956
|
-
ids,
|
|
42957
|
-
outbound_sync
|
|
42958
|
-
})
|
|
42959
|
-
}).json();
|
|
42960
|
-
}
|
|
42961
|
-
async function bulkPartialUpdateTimeBlockWithOrg(httpClient, organization_id, workspace_id, data, signal) {
|
|
42962
|
-
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/bulk`, {
|
|
42963
|
-
signal,
|
|
42964
|
-
json: data
|
|
42965
|
-
}).json();
|
|
42966
|
-
}
|
|
42967
|
-
async function getTimeBlocksRangeStreamWithOrg(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, archived, order_by }, signal) {
|
|
42968
|
-
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-blocks/stream`, {
|
|
42969
|
-
signal,
|
|
42970
|
-
searchParams: buildSearchParams$2({
|
|
42971
|
-
date_from,
|
|
42972
|
-
date_to,
|
|
42973
|
-
task_id,
|
|
42974
|
-
status_id,
|
|
42975
|
-
archived,
|
|
42976
|
-
order_by
|
|
42977
|
-
})
|
|
42978
|
-
}).json();
|
|
42979
|
-
}
|
|
42980
|
-
//#endregion
|
|
42981
43063
|
//#region ../focus-queries/dist/time-entry-constraints/requests.ts
|
|
42982
43064
|
async function getTimeEntryConstraints(httpClient, workspace_id, signal) {
|
|
42983
43065
|
return await httpClient.get(`workspaces/${workspace_id}/time-entry-constraints`, { signal }).json();
|
|
@@ -43015,6 +43097,12 @@ async function getTimeoffsByUserIds(httpClient, organization_id, { user_id, star
|
|
|
43015
43097
|
})
|
|
43016
43098
|
}).json();
|
|
43017
43099
|
}
|
|
43100
|
+
async function getTimeoffCategories(httpClient, organization_id, signal) {
|
|
43101
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories`, { signal }).json();
|
|
43102
|
+
}
|
|
43103
|
+
async function getTimeoffCategory(httpClient, organization_id, category_id, signal) {
|
|
43104
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/categories/${category_id}`, { signal }).json();
|
|
43105
|
+
}
|
|
43018
43106
|
async function getTimeoffForUser(httpClient, organization_id, user_id, { from, to }, signal) {
|
|
43019
43107
|
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}`, {
|
|
43020
43108
|
signal,
|
|
@@ -43042,6 +43130,26 @@ async function deleteTimeoffForUser(httpClient, organization_id, user_id, data,
|
|
|
43042
43130
|
json: data
|
|
43043
43131
|
}).json();
|
|
43044
43132
|
}
|
|
43133
|
+
async function getTimeoffBalancesForUser(httpClient, organization_id, user_id, { category_id, date } = {}, signal) {
|
|
43134
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances`, {
|
|
43135
|
+
signal,
|
|
43136
|
+
searchParams: buildSearchParams$2({
|
|
43137
|
+
category_id,
|
|
43138
|
+
date
|
|
43139
|
+
})
|
|
43140
|
+
}).json();
|
|
43141
|
+
}
|
|
43142
|
+
async function getTimeoffBalanceChangesForUserClassic(httpClient, organization_id, user_id, { category_id, year, page, rows }, signal) {
|
|
43143
|
+
return await httpClient.get(`organizations/${organization_id}/timeoff/users/${user_id}/balances/changes`, {
|
|
43144
|
+
signal,
|
|
43145
|
+
searchParams: buildSearchParams$2({
|
|
43146
|
+
category_id,
|
|
43147
|
+
year,
|
|
43148
|
+
page,
|
|
43149
|
+
rows
|
|
43150
|
+
})
|
|
43151
|
+
}).json();
|
|
43152
|
+
}
|
|
43045
43153
|
//#endregion
|
|
43046
43154
|
//#region ../focus-queries/dist/timesheet-setups/requests.ts
|
|
43047
43155
|
async function getTimesheetSetups(httpClient, organization_id, workspace_id, { include_discontinued, user_account_id, approver_user_account_id } = {}, signal) {
|
|
@@ -43142,6 +43250,19 @@ async function bulkWithdrawTimesheets(httpClient, organization_id, workspace_id,
|
|
|
43142
43250
|
json: data
|
|
43143
43251
|
}).json();
|
|
43144
43252
|
}
|
|
43253
|
+
async function getTimesheetStatusCounts(httpClient, organization_id, workspace_id, { date_from, date_to, setup_id, user_account_ids, approver_user_account_ids, team_ids }, signal) {
|
|
43254
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/counts`, {
|
|
43255
|
+
signal,
|
|
43256
|
+
searchParams: buildSearchParams$2({
|
|
43257
|
+
date_from,
|
|
43258
|
+
date_to,
|
|
43259
|
+
setup_id,
|
|
43260
|
+
user_account_ids,
|
|
43261
|
+
approver_user_account_ids,
|
|
43262
|
+
team_ids
|
|
43263
|
+
})
|
|
43264
|
+
}).json();
|
|
43265
|
+
}
|
|
43145
43266
|
async function removeTimesheetFlag(httpClient, organization_id, workspace_id, flag_id, signal) {
|
|
43146
43267
|
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/flags/${flag_id}`, { signal }).json();
|
|
43147
43268
|
}
|
|
@@ -43185,7 +43306,21 @@ async function withdrawTimesheet(httpClient, organization_id, workspace_id, setu
|
|
|
43185
43306
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/timesheets/${setup_id}/${start_date}/${user_account_id}/withdraw`, { signal }).json();
|
|
43186
43307
|
}
|
|
43187
43308
|
//#endregion
|
|
43309
|
+
//#region ../focus-queries/dist/track-team-invites/requests.ts
|
|
43310
|
+
async function postTrackTeamInvites(httpClient, organization_id, workspace_id, data, signal) {
|
|
43311
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/track-team-invites`, {
|
|
43312
|
+
signal,
|
|
43313
|
+
json: data
|
|
43314
|
+
}).json();
|
|
43315
|
+
}
|
|
43316
|
+
//#endregion
|
|
43188
43317
|
//#region ../focus-queries/dist/user-settings/requests.ts
|
|
43318
|
+
async function emailUnsubscribePage(httpClient, token, signal) {
|
|
43319
|
+
return await httpClient.get(`email/unsubscribe/${token}`, { signal }).json();
|
|
43320
|
+
}
|
|
43321
|
+
async function emailUnsubscribe(httpClient, token, signal) {
|
|
43322
|
+
return await httpClient.post(`email/unsubscribe/${token}`, { signal }).json();
|
|
43323
|
+
}
|
|
43189
43324
|
async function getUserSettings(httpClient, signal) {
|
|
43190
43325
|
return await httpClient.get(`users/me/settings`, { signal }).json();
|
|
43191
43326
|
}
|
|
@@ -43425,6 +43560,7 @@ const generatedFocusOperations = [
|
|
|
43425
43560
|
mcp: { entityTool: "audit-log" },
|
|
43426
43561
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43427
43562
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43563
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43428
43564
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43429
43565
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43430
43566
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43432,6 +43568,7 @@ const generatedFocusOperations = [
|
|
|
43432
43568
|
from: /* @__PURE__ */ string$1(),
|
|
43433
43569
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43434
43570
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43571
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43435
43572
|
to: /* @__PURE__ */ string$1(),
|
|
43436
43573
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43437
43574
|
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -43465,6 +43602,7 @@ const generatedFocusOperations = [
|
|
|
43465
43602
|
mcp: { entityTool: "audit-log" },
|
|
43466
43603
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
43467
43604
|
action: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43605
|
+
custom_field_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43468
43606
|
entity_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43469
43607
|
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43470
43608
|
export: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -43472,6 +43610,7 @@ const generatedFocusOperations = [
|
|
|
43472
43610
|
from: /* @__PURE__ */ string$1(),
|
|
43473
43611
|
page_number: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43474
43612
|
page_size: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43613
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43475
43614
|
to: /* @__PURE__ */ string$1(),
|
|
43476
43615
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43477
43616
|
}),
|
|
@@ -43511,6 +43650,7 @@ const generatedFocusOperations = [
|
|
|
43511
43650
|
private_: /* @__PURE__ */ unknown$1(),
|
|
43512
43651
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
43513
43652
|
task_source: /* @__PURE__ */ unknown$1(),
|
|
43653
|
+
team_id: /* @__PURE__ */ number$2(),
|
|
43514
43654
|
unit: /* @__PURE__ */ unknown$1(),
|
|
43515
43655
|
user_id: /* @__PURE__ */ number$2()
|
|
43516
43656
|
}),
|
|
@@ -43760,8 +43900,6 @@ const generatedFocusOperations = [
|
|
|
43760
43900
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43761
43901
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43762
43902
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43763
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43764
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43765
43903
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43766
43904
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43767
43905
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -43795,8 +43933,6 @@ const generatedFocusOperations = [
|
|
|
43795
43933
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43796
43934
|
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
43797
43935
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43798
|
-
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43799
|
-
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43800
43936
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43801
43937
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43802
43938
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
@@ -43812,12 +43948,6 @@ const generatedFocusOperations = [
|
|
|
43812
43948
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
43813
43949
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
43814
43950
|
}))),
|
|
43815
|
-
time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
43816
|
-
start: apiDateTimeString,
|
|
43817
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43818
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43819
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43820
|
-
}))),
|
|
43821
43951
|
time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43822
43952
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
43823
43953
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -43827,13 +43957,6 @@ const generatedFocusOperations = [
|
|
|
43827
43957
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43828
43958
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
43829
43959
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
43830
|
-
time_block: /* @__PURE__ */ optional$1(/* @__PURE__ */ looseObject({
|
|
43831
|
-
start: apiDateTimeString,
|
|
43832
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
43833
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43834
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
43835
|
-
})),
|
|
43836
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43837
43960
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
43838
43961
|
}))
|
|
43839
43962
|
}) }),
|
|
@@ -43952,33 +44075,60 @@ const generatedFocusOperations = [
|
|
|
43952
44075
|
}
|
|
43953
44076
|
},
|
|
43954
44077
|
{
|
|
43955
|
-
id: "focus.custom-fields.
|
|
44078
|
+
id: "focus.custom-fields.get-allowed-users",
|
|
43956
44079
|
family: "focus",
|
|
43957
44080
|
resource: "custom-fields",
|
|
43958
|
-
action: "
|
|
43959
|
-
title: "
|
|
43960
|
-
description: "
|
|
44081
|
+
action: "get-allowed-users",
|
|
44082
|
+
title: "Get Allowed Users Custom Fields",
|
|
44083
|
+
description: "Get Allowed Users Custom Fields.",
|
|
43961
44084
|
safety: "read",
|
|
43962
44085
|
destructive: false,
|
|
43963
44086
|
cli: {
|
|
43964
44087
|
group: ["custom-fields"],
|
|
43965
|
-
command: "
|
|
43966
|
-
interactive: "
|
|
44088
|
+
command: "get-allowed-users",
|
|
44089
|
+
interactive: "available"
|
|
43967
44090
|
},
|
|
43968
44091
|
mcp: { entityTool: "custom-fields" },
|
|
43969
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
43970
|
-
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43971
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
43972
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
43973
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
43974
|
-
}),
|
|
44092
|
+
inputSchema: /* @__PURE__ */ looseObject({ custom_field_id: /* @__PURE__ */ number$2() }),
|
|
43975
44093
|
execute: (input, { client }) => {
|
|
43976
44094
|
const data = input;
|
|
43977
|
-
return client.runGeneratedRequest("
|
|
44095
|
+
return client.runGeneratedRequest("getCustomFieldAllowedUsers", () => callGeneratedRequest(getCustomFieldAllowedUsers, [
|
|
43978
44096
|
client.httpClient,
|
|
43979
44097
|
client.organizationId,
|
|
43980
44098
|
client.workspaceIdNumber,
|
|
43981
|
-
data,
|
|
44099
|
+
data.custom_field_id,
|
|
44100
|
+
void 0
|
|
44101
|
+
]));
|
|
44102
|
+
}
|
|
44103
|
+
},
|
|
44104
|
+
{
|
|
44105
|
+
id: "focus.custom-fields.list",
|
|
44106
|
+
family: "focus",
|
|
44107
|
+
resource: "custom-fields",
|
|
44108
|
+
action: "list",
|
|
44109
|
+
title: "List Custom Fields",
|
|
44110
|
+
description: "List Custom Fields.",
|
|
44111
|
+
safety: "read",
|
|
44112
|
+
destructive: false,
|
|
44113
|
+
cli: {
|
|
44114
|
+
group: ["custom-fields"],
|
|
44115
|
+
command: "list",
|
|
44116
|
+
interactive: "hidden"
|
|
44117
|
+
},
|
|
44118
|
+
mcp: { entityTool: "custom-fields" },
|
|
44119
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44120
|
+
entity_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44121
|
+
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
44122
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44123
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
44124
|
+
}),
|
|
44125
|
+
execute: (input, { client }) => {
|
|
44126
|
+
const data = input;
|
|
44127
|
+
return client.runGeneratedRequest("getCustomFieldsClassic", () => callGeneratedRequest(getCustomFieldsClassic, [
|
|
44128
|
+
client.httpClient,
|
|
44129
|
+
client.organizationId,
|
|
44130
|
+
client.workspaceIdNumber,
|
|
44131
|
+
data,
|
|
43982
44132
|
void 0
|
|
43983
44133
|
]));
|
|
43984
44134
|
}
|
|
@@ -44120,6 +44270,37 @@ const generatedFocusOperations = [
|
|
|
44120
44270
|
]));
|
|
44121
44271
|
}
|
|
44122
44272
|
},
|
|
44273
|
+
{
|
|
44274
|
+
id: "focus.custom-fields.replace-custom-field-allowed-users",
|
|
44275
|
+
family: "focus",
|
|
44276
|
+
resource: "custom-fields",
|
|
44277
|
+
action: "replace-custom-field-allowed-users",
|
|
44278
|
+
title: "Replace Custom Field Allowed Users Custom Fields",
|
|
44279
|
+
description: "Replace Custom Field Allowed Users Custom Fields.",
|
|
44280
|
+
safety: "update",
|
|
44281
|
+
destructive: false,
|
|
44282
|
+
cli: {
|
|
44283
|
+
group: ["custom-fields"],
|
|
44284
|
+
command: "replace-custom-field-allowed-users",
|
|
44285
|
+
interactive: "default"
|
|
44286
|
+
},
|
|
44287
|
+
mcp: { entityTool: "custom-fields" },
|
|
44288
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
44289
|
+
custom_field_id: /* @__PURE__ */ number$2(),
|
|
44290
|
+
payload: /* @__PURE__ */ looseObject({ user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) })
|
|
44291
|
+
}),
|
|
44292
|
+
execute: (input, { client }) => {
|
|
44293
|
+
const data = input;
|
|
44294
|
+
return client.runGeneratedRequest("replaceCustomFieldAllowedUsers", () => callGeneratedRequest(replaceCustomFieldAllowedUsers, [
|
|
44295
|
+
client.httpClient,
|
|
44296
|
+
client.organizationId,
|
|
44297
|
+
client.workspaceIdNumber,
|
|
44298
|
+
data.custom_field_id,
|
|
44299
|
+
data.payload ?? data.data ?? data,
|
|
44300
|
+
void 0
|
|
44301
|
+
]));
|
|
44302
|
+
}
|
|
44303
|
+
},
|
|
44123
44304
|
{
|
|
44124
44305
|
id: "focus.custom-fields.update",
|
|
44125
44306
|
family: "focus",
|
|
@@ -44266,13 +44447,7 @@ const generatedFocusOperations = [
|
|
|
44266
44447
|
},
|
|
44267
44448
|
mcp: { entityTool: "goals" },
|
|
44268
44449
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44269
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44270
44450
|
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44271
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44272
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44273
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44274
|
-
name: /* @__PURE__ */ string$1(),
|
|
44275
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44276
44451
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44277
44452
|
"daily",
|
|
44278
44453
|
"weekly",
|
|
@@ -44280,12 +44455,18 @@ const generatedFocusOperations = [
|
|
|
44280
44455
|
"monthly"
|
|
44281
44456
|
]),
|
|
44282
44457
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44283
|
-
tag_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44284
44458
|
target_seconds: /* @__PURE__ */ number$2(),
|
|
44285
|
-
|
|
44286
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44459
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44287
44460
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44288
|
-
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1())
|
|
44461
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44462
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44463
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44464
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44465
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44466
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44467
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44468
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44469
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44289
44470
|
}) }),
|
|
44290
44471
|
execute: (input, { client }) => {
|
|
44291
44472
|
const data = input;
|
|
@@ -44391,13 +44572,6 @@ const generatedFocusOperations = [
|
|
|
44391
44572
|
},
|
|
44392
44573
|
mcp: { entityTool: "goals" },
|
|
44393
44574
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
44394
|
-
billable: /* @__PURE__ */ boolean$1(),
|
|
44395
|
-
comparison: /* @__PURE__ */ picklist$1(["more_than", "less_than"]),
|
|
44396
|
-
end_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44397
|
-
icon: /* @__PURE__ */ string$1(),
|
|
44398
|
-
monthly_anchor: /* @__PURE__ */ picklist$1(["calendar", "first_workday"]),
|
|
44399
|
-
name: /* @__PURE__ */ string$1(),
|
|
44400
|
-
project_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44401
44575
|
recurrence: /* @__PURE__ */ picklist$1([
|
|
44402
44576
|
"daily",
|
|
44403
44577
|
"weekly",
|
|
@@ -44405,12 +44579,19 @@ const generatedFocusOperations = [
|
|
|
44405
44579
|
"monthly"
|
|
44406
44580
|
]),
|
|
44407
44581
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
44408
|
-
|
|
44409
|
-
target_seconds: /* @__PURE__ */ number$2(),
|
|
44410
|
-
task_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44411
|
-
weekdays: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
44582
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
44412
44583
|
client_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44413
|
-
|
|
44584
|
+
comparison: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["more_than", "less_than"])),
|
|
44585
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44586
|
+
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
44587
|
+
icon: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44588
|
+
monthly_anchor: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["calendar", "first_workday"])),
|
|
44589
|
+
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
44590
|
+
project_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44591
|
+
tag_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44592
|
+
target_seconds: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
44593
|
+
task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
44594
|
+
weekdays: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
44414
44595
|
}) }),
|
|
44415
44596
|
execute: (input, { client }) => {
|
|
44416
44597
|
const data = input;
|
|
@@ -45377,9 +45558,17 @@ const generatedFocusOperations = [
|
|
|
45377
45558
|
mcp: { entityTool: "projects" },
|
|
45378
45559
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
45379
45560
|
payload: /* @__PURE__ */ looseObject({
|
|
45561
|
+
auto_compute_estimates: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45562
|
+
completion_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["manual", "automatic"])),
|
|
45380
45563
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
45381
45564
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45382
45565
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
45566
|
+
rollover_mode: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
45567
|
+
"expire",
|
|
45568
|
+
"carry_all",
|
|
45569
|
+
"carry_over"
|
|
45570
|
+
])),
|
|
45571
|
+
rrule: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
45383
45572
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()))
|
|
45384
45573
|
}),
|
|
45385
45574
|
project_id: /* @__PURE__ */ number$2()
|
|
@@ -45823,6 +46012,7 @@ const generatedFocusOperations = [
|
|
|
45823
46012
|
group: /* @__PURE__ */ string$1(),
|
|
45824
46013
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45825
46014
|
include_group_totals: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
46015
|
+
include_recurring_series: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45826
46016
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45827
46017
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
45828
46018
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -45925,29 +46115,6 @@ const generatedFocusOperations = [
|
|
|
45925
46115
|
]));
|
|
45926
46116
|
}
|
|
45927
46117
|
},
|
|
45928
|
-
{
|
|
45929
|
-
id: "focus.projects.margin-targets-clear-workspace",
|
|
45930
|
-
family: "focus",
|
|
45931
|
-
resource: "projects",
|
|
45932
|
-
action: "margin-targets-clear-workspace",
|
|
45933
|
-
title: "Margin Targets Clear Workspace Projects",
|
|
45934
|
-
description: "Margin Targets Clear Workspace Projects.",
|
|
45935
|
-
safety: "delete",
|
|
45936
|
-
destructive: true,
|
|
45937
|
-
cli: {
|
|
45938
|
-
group: ["projects", "margin-targets"],
|
|
45939
|
-
command: "clear-workspace",
|
|
45940
|
-
interactive: "default"
|
|
45941
|
-
},
|
|
45942
|
-
mcp: { entityTool: "projects" },
|
|
45943
|
-
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
45944
|
-
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
45945
|
-
client.httpClient,
|
|
45946
|
-
client.organizationId,
|
|
45947
|
-
client.workspaceIdNumber,
|
|
45948
|
-
void 0
|
|
45949
|
-
]))
|
|
45950
|
-
},
|
|
45951
46118
|
{
|
|
45952
46119
|
id: "focus.projects.margin-targets-get",
|
|
45953
46120
|
family: "focus",
|
|
@@ -46392,6 +46559,130 @@ const generatedFocusOperations = [
|
|
|
46392
46559
|
]));
|
|
46393
46560
|
}
|
|
46394
46561
|
},
|
|
46562
|
+
{
|
|
46563
|
+
id: "focus.publicsharedreports.open-public-shared-report",
|
|
46564
|
+
family: "focus",
|
|
46565
|
+
resource: "publicsharedreports",
|
|
46566
|
+
action: "open-public-shared-report",
|
|
46567
|
+
title: "Open Public Shared Report Publicsharedreports",
|
|
46568
|
+
description: "Open Public Shared Report Publicsharedreports.",
|
|
46569
|
+
safety: "read",
|
|
46570
|
+
destructive: false,
|
|
46571
|
+
cli: {
|
|
46572
|
+
group: ["publicsharedreports"],
|
|
46573
|
+
command: "open-public-shared-report",
|
|
46574
|
+
interactive: "available"
|
|
46575
|
+
},
|
|
46576
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46577
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
46578
|
+
execute: (input, { client }) => {
|
|
46579
|
+
const data = input;
|
|
46580
|
+
return client.runGeneratedRequest("openPublicSharedReport", () => callGeneratedRequest(openPublicSharedReport, [
|
|
46581
|
+
client.httpClient,
|
|
46582
|
+
data.token,
|
|
46583
|
+
void 0
|
|
46584
|
+
]));
|
|
46585
|
+
}
|
|
46586
|
+
},
|
|
46587
|
+
{
|
|
46588
|
+
id: "focus.publicsharedreports.profitability-public-shared-report",
|
|
46589
|
+
family: "focus",
|
|
46590
|
+
resource: "publicsharedreports",
|
|
46591
|
+
action: "profitability-public-shared-report",
|
|
46592
|
+
title: "Profitability Public Shared Report Publicsharedreports",
|
|
46593
|
+
description: "Profitability Public Shared Report Publicsharedreports.",
|
|
46594
|
+
safety: "update",
|
|
46595
|
+
destructive: false,
|
|
46596
|
+
cli: {
|
|
46597
|
+
group: ["publicsharedreports"],
|
|
46598
|
+
command: "profitability-public-shared-report",
|
|
46599
|
+
interactive: "default"
|
|
46600
|
+
},
|
|
46601
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46602
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46603
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46604
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46605
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["json_row", "hierarchical"])),
|
|
46606
|
+
token: /* @__PURE__ */ string$1()
|
|
46607
|
+
}),
|
|
46608
|
+
execute: (input, { client }) => {
|
|
46609
|
+
const data = input;
|
|
46610
|
+
return client.runGeneratedRequest("profitabilityPublicSharedReport", () => callGeneratedRequest(profitabilityPublicSharedReport, [
|
|
46611
|
+
client.httpClient,
|
|
46612
|
+
data.token,
|
|
46613
|
+
data.payload ?? data.data ?? data,
|
|
46614
|
+
data.response_format,
|
|
46615
|
+
data.include_dicts,
|
|
46616
|
+
void 0
|
|
46617
|
+
]));
|
|
46618
|
+
}
|
|
46619
|
+
},
|
|
46620
|
+
{
|
|
46621
|
+
id: "focus.publicsharedreports.query-public-shared-report",
|
|
46622
|
+
family: "focus",
|
|
46623
|
+
resource: "publicsharedreports",
|
|
46624
|
+
action: "query-public-shared-report",
|
|
46625
|
+
title: "Query Public Shared Report Publicsharedreports",
|
|
46626
|
+
description: "Query Public Shared Report Publicsharedreports.",
|
|
46627
|
+
safety: "update",
|
|
46628
|
+
destructive: false,
|
|
46629
|
+
cli: {
|
|
46630
|
+
group: ["publicsharedreports"],
|
|
46631
|
+
command: "query-public-shared-report",
|
|
46632
|
+
interactive: "default"
|
|
46633
|
+
},
|
|
46634
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46635
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46636
|
+
include_dicts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
46637
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46638
|
+
response_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
46639
|
+
"json_row",
|
|
46640
|
+
"table",
|
|
46641
|
+
"hierarchical"
|
|
46642
|
+
])),
|
|
46643
|
+
token: /* @__PURE__ */ string$1()
|
|
46644
|
+
}),
|
|
46645
|
+
execute: (input, { client }) => {
|
|
46646
|
+
const data = input;
|
|
46647
|
+
return client.runGeneratedRequest("queryPublicSharedReport", () => callGeneratedRequest(queryPublicSharedReport, [
|
|
46648
|
+
client.httpClient,
|
|
46649
|
+
data.token,
|
|
46650
|
+
data.payload ?? data.data ?? data,
|
|
46651
|
+
data.response_format,
|
|
46652
|
+
data.include_dicts,
|
|
46653
|
+
void 0
|
|
46654
|
+
]));
|
|
46655
|
+
}
|
|
46656
|
+
},
|
|
46657
|
+
{
|
|
46658
|
+
id: "focus.publicsharedreports.workload-public-shared-report",
|
|
46659
|
+
family: "focus",
|
|
46660
|
+
resource: "publicsharedreports",
|
|
46661
|
+
action: "workload-public-shared-report",
|
|
46662
|
+
title: "Workload Public Shared Report Publicsharedreports",
|
|
46663
|
+
description: "Workload Public Shared Report Publicsharedreports.",
|
|
46664
|
+
safety: "update",
|
|
46665
|
+
destructive: false,
|
|
46666
|
+
cli: {
|
|
46667
|
+
group: ["publicsharedreports"],
|
|
46668
|
+
command: "workload-public-shared-report",
|
|
46669
|
+
interactive: "default"
|
|
46670
|
+
},
|
|
46671
|
+
mcp: { entityTool: "publicsharedreports" },
|
|
46672
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
46673
|
+
payload: /* @__PURE__ */ looseObject({ chart_key: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()) }),
|
|
46674
|
+
token: /* @__PURE__ */ string$1()
|
|
46675
|
+
}),
|
|
46676
|
+
execute: (input, { client }) => {
|
|
46677
|
+
const data = input;
|
|
46678
|
+
return client.runGeneratedRequest("workloadPublicSharedReport", () => callGeneratedRequest(workloadPublicSharedReport, [
|
|
46679
|
+
client.httpClient,
|
|
46680
|
+
data.token,
|
|
46681
|
+
data.payload ?? data.data ?? data,
|
|
46682
|
+
void 0
|
|
46683
|
+
]));
|
|
46684
|
+
}
|
|
46685
|
+
},
|
|
46395
46686
|
{
|
|
46396
46687
|
id: "focus.rates.billable-check-project-billable-rate-conflicts",
|
|
46397
46688
|
family: "focus",
|
|
@@ -48350,7 +48641,7 @@ const generatedFocusOperations = [
|
|
|
48350
48641
|
cli: {
|
|
48351
48642
|
group: ["reportschedules"],
|
|
48352
48643
|
command: "upsert-saved-view-schedule",
|
|
48353
|
-
interactive: "
|
|
48644
|
+
interactive: "hidden"
|
|
48354
48645
|
},
|
|
48355
48646
|
mcp: { entityTool: "reportschedules" },
|
|
48356
48647
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
@@ -48361,8 +48652,10 @@ const generatedFocusOperations = [
|
|
|
48361
48652
|
"weekly",
|
|
48362
48653
|
"monthly"
|
|
48363
48654
|
]),
|
|
48655
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
48364
48656
|
time: /* @__PURE__ */ string$1(),
|
|
48365
48657
|
day: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48658
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48366
48659
|
recipient_team_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48367
48660
|
recipient_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2())),
|
|
48368
48661
|
recipient_workspace_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ number$2()))
|
|
@@ -48695,6 +48988,32 @@ const generatedFocusOperations = [
|
|
|
48695
48988
|
]));
|
|
48696
48989
|
}
|
|
48697
48990
|
},
|
|
48991
|
+
{
|
|
48992
|
+
id: "focus.sharedreports.get-shared-report-dates",
|
|
48993
|
+
family: "focus",
|
|
48994
|
+
resource: "sharedreports",
|
|
48995
|
+
action: "get-shared-report-dates",
|
|
48996
|
+
title: "Get Shared Report Dates Sharedreports",
|
|
48997
|
+
description: "Get Shared Report Dates Sharedreports.",
|
|
48998
|
+
safety: "read",
|
|
48999
|
+
destructive: false,
|
|
49000
|
+
cli: {
|
|
49001
|
+
group: ["sharedreports"],
|
|
49002
|
+
command: "get-shared-report-dates",
|
|
49003
|
+
interactive: "available"
|
|
49004
|
+
},
|
|
49005
|
+
mcp: { entityTool: "sharedreports" },
|
|
49006
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49007
|
+
execute: (input, { client }) => {
|
|
49008
|
+
const data = input;
|
|
49009
|
+
return client.runGeneratedRequest("getSharedReportDates", () => callGeneratedRequest(getSharedReportDates, [
|
|
49010
|
+
client.httpClient,
|
|
49011
|
+
client.workspaceIdNumber,
|
|
49012
|
+
data.id,
|
|
49013
|
+
void 0
|
|
49014
|
+
]));
|
|
49015
|
+
}
|
|
49016
|
+
},
|
|
48698
49017
|
{
|
|
48699
49018
|
id: "focus.sharedreports.get-shared-report-for-viewer",
|
|
48700
49019
|
family: "focus",
|
|
@@ -48765,6 +49084,36 @@ const generatedFocusOperations = [
|
|
|
48765
49084
|
void 0
|
|
48766
49085
|
]))
|
|
48767
49086
|
},
|
|
49087
|
+
{
|
|
49088
|
+
id: "focus.sharedreports.mint-shared-report-link",
|
|
49089
|
+
family: "focus",
|
|
49090
|
+
resource: "sharedreports",
|
|
49091
|
+
action: "mint-shared-report-link",
|
|
49092
|
+
title: "Mint Shared Report Link Sharedreports",
|
|
49093
|
+
description: "Mint Shared Report Link Sharedreports.",
|
|
49094
|
+
safety: "update",
|
|
49095
|
+
destructive: false,
|
|
49096
|
+
cli: {
|
|
49097
|
+
group: ["sharedreports"],
|
|
49098
|
+
command: "mint-shared-report-link",
|
|
49099
|
+
interactive: "default"
|
|
49100
|
+
},
|
|
49101
|
+
mcp: { entityTool: "sharedreports" },
|
|
49102
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49103
|
+
id: /* @__PURE__ */ number$2(),
|
|
49104
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49105
|
+
}),
|
|
49106
|
+
execute: (input, { client }) => {
|
|
49107
|
+
const data = input;
|
|
49108
|
+
return client.runGeneratedRequest("mintSharedReportLink", () => callGeneratedRequest(mintSharedReportLink, [
|
|
49109
|
+
client.httpClient,
|
|
49110
|
+
client.workspaceIdNumber,
|
|
49111
|
+
data.id,
|
|
49112
|
+
data.payload ?? data.data ?? data,
|
|
49113
|
+
void 0
|
|
49114
|
+
]));
|
|
49115
|
+
}
|
|
49116
|
+
},
|
|
48768
49117
|
{
|
|
48769
49118
|
id: "focus.sharedreports.revoke-shared-report-grant",
|
|
48770
49119
|
family: "focus",
|
|
@@ -48796,67 +49145,153 @@ const generatedFocusOperations = [
|
|
|
48796
49145
|
}
|
|
48797
49146
|
},
|
|
48798
49147
|
{
|
|
48799
|
-
id: "focus.sharedreports.
|
|
49148
|
+
id: "focus.sharedreports.revoke-shared-report-link",
|
|
48800
49149
|
family: "focus",
|
|
48801
49150
|
resource: "sharedreports",
|
|
48802
|
-
action: "
|
|
48803
|
-
title: "
|
|
48804
|
-
description: "
|
|
48805
|
-
safety: "
|
|
48806
|
-
destructive:
|
|
49151
|
+
action: "revoke-shared-report-link",
|
|
49152
|
+
title: "Revoke Shared Report Link Sharedreports",
|
|
49153
|
+
description: "Revoke Shared Report Link Sharedreports.",
|
|
49154
|
+
safety: "delete",
|
|
49155
|
+
destructive: true,
|
|
48807
49156
|
cli: {
|
|
48808
49157
|
group: ["sharedreports"],
|
|
48809
|
-
command: "
|
|
48810
|
-
interactive: "
|
|
49158
|
+
command: "revoke-shared-report-link",
|
|
49159
|
+
interactive: "default"
|
|
48811
49160
|
},
|
|
48812
49161
|
mcp: { entityTool: "sharedreports" },
|
|
48813
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
48814
|
-
id: /* @__PURE__ */ number$2(),
|
|
48815
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48816
|
-
charts: /* @__PURE__ */ unknown$1(),
|
|
48817
|
-
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
48818
|
-
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48819
|
-
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
48820
|
-
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
48821
|
-
})
|
|
48822
|
-
}),
|
|
49162
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
48823
49163
|
execute: (input, { client }) => {
|
|
48824
49164
|
const data = input;
|
|
48825
|
-
return client.runGeneratedRequest("
|
|
49165
|
+
return client.runGeneratedRequest("revokeSharedReportLink", () => callGeneratedRequest(revokeSharedReportLink, [
|
|
48826
49166
|
client.httpClient,
|
|
48827
49167
|
client.workspaceIdNumber,
|
|
48828
49168
|
data.id,
|
|
48829
|
-
data.payload ?? data.data ?? data,
|
|
48830
49169
|
void 0
|
|
48831
49170
|
]));
|
|
48832
49171
|
}
|
|
48833
49172
|
},
|
|
48834
49173
|
{
|
|
48835
|
-
id: "focus.sharedreports.
|
|
49174
|
+
id: "focus.sharedreports.rotate-shared-report-link",
|
|
48836
49175
|
family: "focus",
|
|
48837
49176
|
resource: "sharedreports",
|
|
48838
|
-
action: "
|
|
48839
|
-
title: "
|
|
48840
|
-
description: "
|
|
49177
|
+
action: "rotate-shared-report-link",
|
|
49178
|
+
title: "Rotate Shared Report Link Sharedreports",
|
|
49179
|
+
description: "Rotate Shared Report Link Sharedreports.",
|
|
48841
49180
|
safety: "update",
|
|
48842
49181
|
destructive: false,
|
|
48843
49182
|
cli: {
|
|
48844
49183
|
group: ["sharedreports"],
|
|
48845
|
-
command: "
|
|
48846
|
-
interactive: "
|
|
49184
|
+
command: "rotate-shared-report-link",
|
|
49185
|
+
interactive: "default"
|
|
48847
49186
|
},
|
|
48848
49187
|
mcp: { entityTool: "sharedreports" },
|
|
48849
49188
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
48850
49189
|
id: /* @__PURE__ */ number$2(),
|
|
48851
|
-
payload: /* @__PURE__ */ looseObject({
|
|
48852
|
-
|
|
48853
|
-
|
|
48854
|
-
|
|
48855
|
-
|
|
48856
|
-
|
|
48857
|
-
|
|
48858
|
-
|
|
48859
|
-
|
|
49190
|
+
payload: /* @__PURE__ */ looseObject({ expires_at: /* @__PURE__ */ optional$1(apiDateTimeString) })
|
|
49191
|
+
}),
|
|
49192
|
+
execute: (input, { client }) => {
|
|
49193
|
+
const data = input;
|
|
49194
|
+
return client.runGeneratedRequest("rotateSharedReportLink", () => callGeneratedRequest(rotateSharedReportLink, [
|
|
49195
|
+
client.httpClient,
|
|
49196
|
+
client.workspaceIdNumber,
|
|
49197
|
+
data.id,
|
|
49198
|
+
data.payload ?? data.data ?? data,
|
|
49199
|
+
void 0
|
|
49200
|
+
]));
|
|
49201
|
+
}
|
|
49202
|
+
},
|
|
49203
|
+
{
|
|
49204
|
+
id: "focus.sharedreports.set-shared-report-dates-lock",
|
|
49205
|
+
family: "focus",
|
|
49206
|
+
resource: "sharedreports",
|
|
49207
|
+
action: "set-shared-report-dates-lock",
|
|
49208
|
+
title: "Set Shared Report Dates Lock Sharedreports",
|
|
49209
|
+
description: "Set Shared Report Dates Lock Sharedreports.",
|
|
49210
|
+
safety: "update",
|
|
49211
|
+
destructive: false,
|
|
49212
|
+
cli: {
|
|
49213
|
+
group: ["sharedreports"],
|
|
49214
|
+
command: "set-shared-report-dates-lock",
|
|
49215
|
+
interactive: "default"
|
|
49216
|
+
},
|
|
49217
|
+
mcp: { entityTool: "sharedreports" },
|
|
49218
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49219
|
+
id: /* @__PURE__ */ number$2(),
|
|
49220
|
+
payload: /* @__PURE__ */ looseObject({ locked: /* @__PURE__ */ boolean$1() })
|
|
49221
|
+
}),
|
|
49222
|
+
execute: (input, { client }) => {
|
|
49223
|
+
const data = input;
|
|
49224
|
+
return client.runGeneratedRequest("setSharedReportDatesLock", () => callGeneratedRequest(setSharedReportDatesLock, [
|
|
49225
|
+
client.httpClient,
|
|
49226
|
+
client.workspaceIdNumber,
|
|
49227
|
+
data.id,
|
|
49228
|
+
data.payload ?? data.data ?? data,
|
|
49229
|
+
void 0
|
|
49230
|
+
]));
|
|
49231
|
+
}
|
|
49232
|
+
},
|
|
49233
|
+
{
|
|
49234
|
+
id: "focus.sharedreports.share-saved-view",
|
|
49235
|
+
family: "focus",
|
|
49236
|
+
resource: "sharedreports",
|
|
49237
|
+
action: "share-saved-view",
|
|
49238
|
+
title: "Share Saved View Sharedreports",
|
|
49239
|
+
description: "Share Saved View Sharedreports.",
|
|
49240
|
+
safety: "update",
|
|
49241
|
+
destructive: false,
|
|
49242
|
+
cli: {
|
|
49243
|
+
group: ["sharedreports"],
|
|
49244
|
+
command: "share-saved-view",
|
|
49245
|
+
interactive: "hidden"
|
|
49246
|
+
},
|
|
49247
|
+
mcp: { entityTool: "sharedreports" },
|
|
49248
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49249
|
+
id: /* @__PURE__ */ number$2(),
|
|
49250
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49251
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49252
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
49253
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49254
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49255
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49256
|
+
})
|
|
49257
|
+
}),
|
|
49258
|
+
execute: (input, { client }) => {
|
|
49259
|
+
const data = input;
|
|
49260
|
+
return client.runGeneratedRequest("shareSavedView", () => callGeneratedRequest(shareSavedView, [
|
|
49261
|
+
client.httpClient,
|
|
49262
|
+
client.workspaceIdNumber,
|
|
49263
|
+
data.id,
|
|
49264
|
+
data.payload ?? data.data ?? data,
|
|
49265
|
+
void 0
|
|
49266
|
+
]));
|
|
49267
|
+
}
|
|
49268
|
+
},
|
|
49269
|
+
{
|
|
49270
|
+
id: "focus.sharedreports.share-saved-view-many",
|
|
49271
|
+
family: "focus",
|
|
49272
|
+
resource: "sharedreports",
|
|
49273
|
+
action: "share-saved-view-many",
|
|
49274
|
+
title: "Share Saved View Many Sharedreports",
|
|
49275
|
+
description: "Share Saved View Many Sharedreports.",
|
|
49276
|
+
safety: "update",
|
|
49277
|
+
destructive: false,
|
|
49278
|
+
cli: {
|
|
49279
|
+
group: ["sharedreports"],
|
|
49280
|
+
command: "share-saved-view-many",
|
|
49281
|
+
interactive: "hidden"
|
|
49282
|
+
},
|
|
49283
|
+
mcp: { entityTool: "sharedreports" },
|
|
49284
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
49285
|
+
id: /* @__PURE__ */ number$2(),
|
|
49286
|
+
payload: /* @__PURE__ */ looseObject({
|
|
49287
|
+
charts: /* @__PURE__ */ unknown$1(),
|
|
49288
|
+
grantees: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
|
|
49289
|
+
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49290
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
49291
|
+
workspace_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
49292
|
+
})),
|
|
49293
|
+
period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
49294
|
+
})
|
|
48860
49295
|
}),
|
|
48861
49296
|
execute: (input, { client }) => {
|
|
48862
49297
|
const data = input;
|
|
@@ -48869,6 +49304,32 @@ const generatedFocusOperations = [
|
|
|
48869
49304
|
]));
|
|
48870
49305
|
}
|
|
48871
49306
|
},
|
|
49307
|
+
{
|
|
49308
|
+
id: "focus.sharedreports.unshare-shared-report",
|
|
49309
|
+
family: "focus",
|
|
49310
|
+
resource: "sharedreports",
|
|
49311
|
+
action: "unshare-shared-report",
|
|
49312
|
+
title: "Unshare Shared Report Sharedreports",
|
|
49313
|
+
description: "Unshare Shared Report Sharedreports.",
|
|
49314
|
+
safety: "delete",
|
|
49315
|
+
destructive: true,
|
|
49316
|
+
cli: {
|
|
49317
|
+
group: ["sharedreports"],
|
|
49318
|
+
command: "unshare-shared-report",
|
|
49319
|
+
interactive: "default"
|
|
49320
|
+
},
|
|
49321
|
+
mcp: { entityTool: "sharedreports" },
|
|
49322
|
+
inputSchema: /* @__PURE__ */ looseObject({ id: /* @__PURE__ */ number$2() }),
|
|
49323
|
+
execute: (input, { client }) => {
|
|
49324
|
+
const data = input;
|
|
49325
|
+
return client.runGeneratedRequest("unshareSharedReport", () => callGeneratedRequest(unshareSharedReport, [
|
|
49326
|
+
client.httpClient,
|
|
49327
|
+
client.workspaceIdNumber,
|
|
49328
|
+
data.id,
|
|
49329
|
+
void 0
|
|
49330
|
+
]));
|
|
49331
|
+
}
|
|
49332
|
+
},
|
|
48872
49333
|
{
|
|
48873
49334
|
id: "focus.statuses.create-status",
|
|
48874
49335
|
family: "focus",
|
|
@@ -49911,6 +50372,37 @@ const generatedFocusOperations = [
|
|
|
49911
50372
|
return client.createTask(data);
|
|
49912
50373
|
}
|
|
49913
50374
|
},
|
|
50375
|
+
{
|
|
50376
|
+
id: "focus.tasks.create-recurring-occurrence",
|
|
50377
|
+
family: "focus",
|
|
50378
|
+
resource: "tasks",
|
|
50379
|
+
action: "create-recurring-occurrence",
|
|
50380
|
+
title: "Create Recurring Occurrence Tasks",
|
|
50381
|
+
description: "Create Recurring Occurrence Tasks.",
|
|
50382
|
+
safety: "create",
|
|
50383
|
+
destructive: false,
|
|
50384
|
+
cli: {
|
|
50385
|
+
group: ["tasks"],
|
|
50386
|
+
command: "create-recurring-occurrence",
|
|
50387
|
+
interactive: "default"
|
|
50388
|
+
},
|
|
50389
|
+
mcp: { entityTool: "tasks" },
|
|
50390
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50391
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50392
|
+
task_id: /* @__PURE__ */ number$2()
|
|
50393
|
+
}),
|
|
50394
|
+
execute: (input, { client }) => {
|
|
50395
|
+
const data = input;
|
|
50396
|
+
return client.runGeneratedRequest("createRecurringOccurrence", () => callGeneratedRequest(createRecurringOccurrence, [
|
|
50397
|
+
client.httpClient,
|
|
50398
|
+
client.organizationId,
|
|
50399
|
+
client.workspaceIdNumber,
|
|
50400
|
+
data.task_id,
|
|
50401
|
+
data.return_occurrence,
|
|
50402
|
+
void 0
|
|
50403
|
+
]));
|
|
50404
|
+
}
|
|
50405
|
+
},
|
|
49914
50406
|
{
|
|
49915
50407
|
id: "focus.tasks.delete",
|
|
49916
50408
|
family: "focus",
|
|
@@ -50135,6 +50627,79 @@ const generatedFocusOperations = [
|
|
|
50135
50627
|
]));
|
|
50136
50628
|
}
|
|
50137
50629
|
},
|
|
50630
|
+
{
|
|
50631
|
+
id: "focus.tasks.get-picker-task-children",
|
|
50632
|
+
family: "focus",
|
|
50633
|
+
resource: "tasks",
|
|
50634
|
+
action: "get-picker-task-children",
|
|
50635
|
+
title: "Get Picker Task Children Tasks",
|
|
50636
|
+
description: "Get Picker Task Children Tasks.",
|
|
50637
|
+
safety: "read",
|
|
50638
|
+
destructive: false,
|
|
50639
|
+
cli: {
|
|
50640
|
+
group: ["tasks"],
|
|
50641
|
+
command: "get-picker-task-children",
|
|
50642
|
+
interactive: "hidden"
|
|
50643
|
+
},
|
|
50644
|
+
mcp: { entityTool: "tasks" },
|
|
50645
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50646
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50647
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50648
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50649
|
+
parent_task_id: /* @__PURE__ */ number$2(),
|
|
50650
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50651
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50652
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50653
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50654
|
+
}),
|
|
50655
|
+
execute: (input, { client }) => {
|
|
50656
|
+
const data = input;
|
|
50657
|
+
return client.runGeneratedRequest("getPickerTaskChildrenClassic", () => callGeneratedRequest(getPickerTaskChildrenClassic, [
|
|
50658
|
+
client.httpClient,
|
|
50659
|
+
client.organizationId,
|
|
50660
|
+
client.workspaceIdNumber,
|
|
50661
|
+
data.parent_task_id,
|
|
50662
|
+
data,
|
|
50663
|
+
void 0
|
|
50664
|
+
]));
|
|
50665
|
+
}
|
|
50666
|
+
},
|
|
50667
|
+
{
|
|
50668
|
+
id: "focus.tasks.get-picker-task-groups",
|
|
50669
|
+
family: "focus",
|
|
50670
|
+
resource: "tasks",
|
|
50671
|
+
action: "get-picker-task-groups",
|
|
50672
|
+
title: "Get Picker Task Groups Tasks",
|
|
50673
|
+
description: "Get Picker Task Groups Tasks.",
|
|
50674
|
+
safety: "read",
|
|
50675
|
+
destructive: false,
|
|
50676
|
+
cli: {
|
|
50677
|
+
group: ["tasks"],
|
|
50678
|
+
command: "get-picker-task-groups",
|
|
50679
|
+
interactive: "hidden"
|
|
50680
|
+
},
|
|
50681
|
+
mcp: { entityTool: "tasks" },
|
|
50682
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
50683
|
+
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50684
|
+
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50685
|
+
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50686
|
+
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50687
|
+
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50688
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50689
|
+
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50690
|
+
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50691
|
+
}),
|
|
50692
|
+
execute: (input, { client }) => {
|
|
50693
|
+
const data = input;
|
|
50694
|
+
return client.runGeneratedRequest("getPickerTaskGroupsClassic", () => callGeneratedRequest(getPickerTaskGroupsClassic, [
|
|
50695
|
+
client.httpClient,
|
|
50696
|
+
client.organizationId,
|
|
50697
|
+
client.workspaceIdNumber,
|
|
50698
|
+
data,
|
|
50699
|
+
void 0
|
|
50700
|
+
]));
|
|
50701
|
+
}
|
|
50702
|
+
},
|
|
50138
50703
|
{
|
|
50139
50704
|
id: "focus.tasks.get-recurring-instances",
|
|
50140
50705
|
family: "focus",
|
|
@@ -50158,9 +50723,13 @@ const generatedFocusOperations = [
|
|
|
50158
50723
|
dates_overlap_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50159
50724
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50160
50725
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50726
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50727
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50161
50728
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50162
50729
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50730
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50163
50731
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50732
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50164
50733
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50165
50734
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50166
50735
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
@@ -50206,13 +50775,14 @@ const generatedFocusOperations = [
|
|
|
50206
50775
|
estimated_mins_max: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50207
50776
|
estimated_mins_min: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50208
50777
|
has_dates: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50209
|
-
has_time_blocks: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50210
50778
|
has_time_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50211
50779
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50212
50780
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50213
50781
|
include_parent_matches: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50214
50782
|
include_project_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50783
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50215
50784
|
is_priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50785
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50216
50786
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50217
50787
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50218
50788
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -50221,7 +50791,9 @@ const generatedFocusOperations = [
|
|
|
50221
50791
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50222
50792
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50223
50793
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50794
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50224
50795
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50796
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50225
50797
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50226
50798
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50227
50799
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50230,8 +50802,6 @@ const generatedFocusOperations = [
|
|
|
50230
50802
|
status_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50231
50803
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50232
50804
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50233
|
-
time_block_completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50234
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50235
50805
|
toggl_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50236
50806
|
with_entries: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50237
50807
|
}),
|
|
@@ -50359,8 +50929,10 @@ const generatedFocusOperations = [
|
|
|
50359
50929
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50360
50930
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50361
50931
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50932
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50362
50933
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50363
50934
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50935
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50364
50936
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50365
50937
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50366
50938
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50369,6 +50941,8 @@ const generatedFocusOperations = [
|
|
|
50369
50941
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50370
50942
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50371
50943
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50944
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50945
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50372
50946
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50373
50947
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50374
50948
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50377,7 +50951,8 @@ const generatedFocusOperations = [
|
|
|
50377
50951
|
tag_id: /* @__PURE__ */ optional$1(tagIdFilterSchema),
|
|
50378
50952
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50379
50953
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50380
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
50954
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50955
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50381
50956
|
}),
|
|
50382
50957
|
execute: (input, { client }) => {
|
|
50383
50958
|
const data = input;
|
|
@@ -50419,13 +50994,17 @@ const generatedFocusOperations = [
|
|
|
50419
50994
|
group_id: /* @__PURE__ */ number$2(),
|
|
50420
50995
|
include_assignees: /* @__PURE__ */ unknown$1(),
|
|
50421
50996
|
include_drafts: /* @__PURE__ */ unknown$1(),
|
|
50997
|
+
include_projected_occurrences: /* @__PURE__ */ unknown$1(),
|
|
50422
50998
|
include_unassigned: /* @__PURE__ */ unknown$1(),
|
|
50423
50999
|
include_unmaterialized: /* @__PURE__ */ unknown$1(),
|
|
51000
|
+
max_recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
50424
51001
|
min_days: /* @__PURE__ */ unknown$1(),
|
|
50425
51002
|
name: /* @__PURE__ */ unknown$1(),
|
|
50426
51003
|
priority: /* @__PURE__ */ unknown$1(),
|
|
50427
51004
|
private_: /* @__PURE__ */ unknown$1(),
|
|
50428
51005
|
project_id: /* @__PURE__ */ number$2(),
|
|
51006
|
+
recurring_occurrences_after: /* @__PURE__ */ unknown$1(),
|
|
51007
|
+
recurring_task_read: /* @__PURE__ */ unknown$1(),
|
|
50429
51008
|
source: /* @__PURE__ */ unknown$1(),
|
|
50430
51009
|
start_date: /* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1()),
|
|
50431
51010
|
start_date_from: /* @__PURE__ */ unknown$1(),
|
|
@@ -50434,7 +51013,8 @@ const generatedFocusOperations = [
|
|
|
50434
51013
|
tag_id: /* @__PURE__ */ number$2(),
|
|
50435
51014
|
team_id: /* @__PURE__ */ number$2(),
|
|
50436
51015
|
user_cf_filter: /* @__PURE__ */ unknown$1(),
|
|
50437
|
-
user_tag_id: /* @__PURE__ */ number$2()
|
|
51016
|
+
user_tag_id: /* @__PURE__ */ number$2(),
|
|
51017
|
+
xTimelineFetchTrigger: /* @__PURE__ */ unknown$1()
|
|
50438
51018
|
}),
|
|
50439
51019
|
execute: (input, { client }) => {
|
|
50440
51020
|
const data = input;
|
|
@@ -50475,13 +51055,17 @@ const generatedFocusOperations = [
|
|
|
50475
51055
|
group_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50476
51056
|
include_assignees: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50477
51057
|
include_drafts: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51058
|
+
include_projected_occurrences: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50478
51059
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50479
51060
|
include_unmaterialized: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51061
|
+
max_recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50480
51062
|
min_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50481
51063
|
name: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50482
51064
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50483
51065
|
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50484
51066
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51067
|
+
recurring_occurrences_after: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51068
|
+
recurring_task_read: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50485
51069
|
source: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50486
51070
|
start_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
50487
51071
|
start_date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -50490,7 +51074,8 @@ const generatedFocusOperations = [
|
|
|
50490
51074
|
tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50491
51075
|
team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50492
51076
|
user_cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
50493
|
-
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51077
|
+
user_tag_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51078
|
+
xTimelineFetchTrigger: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
50494
51079
|
}),
|
|
50495
51080
|
execute: (input, { client }) => {
|
|
50496
51081
|
const data = input;
|
|
@@ -50761,7 +51346,8 @@ const generatedFocusOperations = [
|
|
|
50761
51346
|
mcp: { entityTool: "tasks" },
|
|
50762
51347
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
50763
51348
|
date_from: /* @__PURE__ */ string$1(),
|
|
50764
|
-
date_to: /* @__PURE__ */ string$1()
|
|
51349
|
+
date_to: /* @__PURE__ */ string$1(),
|
|
51350
|
+
skip_provider_refresh: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50765
51351
|
}),
|
|
50766
51352
|
execute: (input, { client }) => {
|
|
50767
51353
|
const data = input;
|
|
@@ -50771,557 +51357,93 @@ const generatedFocusOperations = [
|
|
|
50771
51357
|
client.workspaceIdNumber,
|
|
50772
51358
|
data.date_from,
|
|
50773
51359
|
data.date_to,
|
|
51360
|
+
data.skip_provider_refresh,
|
|
50774
51361
|
void 0
|
|
50775
51362
|
]));
|
|
50776
51363
|
}
|
|
50777
51364
|
},
|
|
50778
51365
|
{
|
|
50779
|
-
id: "focus.time-
|
|
51366
|
+
id: "focus.time-entries.archive",
|
|
50780
51367
|
family: "focus",
|
|
50781
|
-
resource: "time-
|
|
51368
|
+
resource: "time-entries",
|
|
50782
51369
|
action: "archive",
|
|
50783
|
-
title: "Archive Time
|
|
50784
|
-
description: "Archive Time
|
|
51370
|
+
title: "Archive Time Entries",
|
|
51371
|
+
description: "Archive Time Entries.",
|
|
50785
51372
|
safety: "update",
|
|
50786
51373
|
destructive: false,
|
|
50787
51374
|
cli: {
|
|
50788
|
-
group: ["time-
|
|
51375
|
+
group: ["time-entries"],
|
|
50789
51376
|
command: "archive",
|
|
50790
51377
|
interactive: "default"
|
|
50791
51378
|
},
|
|
50792
|
-
mcp: { entityTool: "time-
|
|
50793
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50794
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50795
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50796
|
-
}),
|
|
51379
|
+
mcp: { entityTool: "time-entries" },
|
|
51380
|
+
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
50797
51381
|
execute: (input, { client }) => {
|
|
50798
51382
|
const data = input;
|
|
50799
|
-
return client.runGeneratedRequest("
|
|
51383
|
+
return client.runGeneratedRequest("archiveTimeEntryWithOrg", () => callGeneratedRequest(archiveTimeEntryWithOrg, [
|
|
50800
51384
|
client.httpClient,
|
|
50801
51385
|
client.organizationId,
|
|
50802
51386
|
client.workspaceIdNumber,
|
|
50803
|
-
data.
|
|
50804
|
-
data.time_block_id,
|
|
51387
|
+
data.time_entry_id,
|
|
50805
51388
|
void 0
|
|
50806
51389
|
]));
|
|
50807
51390
|
}
|
|
50808
51391
|
},
|
|
50809
51392
|
{
|
|
50810
|
-
id: "focus.time-
|
|
51393
|
+
id: "focus.time-entries.bulk-create",
|
|
50811
51394
|
family: "focus",
|
|
50812
|
-
resource: "time-
|
|
51395
|
+
resource: "time-entries",
|
|
50813
51396
|
action: "bulk-create",
|
|
50814
|
-
title: "Bulk Create Time
|
|
50815
|
-
description: "Bulk Create Time
|
|
51397
|
+
title: "Bulk Create Time Entries",
|
|
51398
|
+
description: "Bulk Create Time Entries.",
|
|
50816
51399
|
safety: "create",
|
|
50817
51400
|
destructive: false,
|
|
50818
51401
|
cli: {
|
|
50819
|
-
group: ["time-
|
|
51402
|
+
group: ["time-entries", "bulk"],
|
|
50820
51403
|
command: "create",
|
|
50821
51404
|
interactive: "default"
|
|
50822
51405
|
},
|
|
50823
|
-
mcp: { entityTool: "time-
|
|
50824
|
-
inputSchema:
|
|
50825
|
-
start: apiDateTimeString,
|
|
50826
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50827
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50828
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50829
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50830
|
-
})) }) }),
|
|
51406
|
+
mcp: { entityTool: "time-entries" },
|
|
51407
|
+
inputSchema: bulkTimeEntryCreateBodySchema,
|
|
50831
51408
|
execute: (input, { client }) => {
|
|
50832
51409
|
const data = input;
|
|
50833
|
-
return client.
|
|
50834
|
-
client.httpClient,
|
|
50835
|
-
client.organizationId,
|
|
50836
|
-
client.workspaceIdNumber,
|
|
50837
|
-
data.payload ?? data.data ?? data,
|
|
50838
|
-
void 0
|
|
50839
|
-
]));
|
|
51410
|
+
return client.bulkCreateTimeEntries(data);
|
|
50840
51411
|
}
|
|
50841
51412
|
},
|
|
50842
51413
|
{
|
|
50843
|
-
id: "focus.time-
|
|
51414
|
+
id: "focus.time-entries.bulk-delete",
|
|
50844
51415
|
family: "focus",
|
|
50845
|
-
resource: "time-
|
|
51416
|
+
resource: "time-entries",
|
|
50846
51417
|
action: "bulk-delete",
|
|
50847
|
-
title: "Bulk Delete Time
|
|
50848
|
-
description: "Bulk Delete Time
|
|
51418
|
+
title: "Bulk Delete Time Entries",
|
|
51419
|
+
description: "Bulk Delete Time Entries.",
|
|
50849
51420
|
safety: "delete",
|
|
50850
51421
|
destructive: true,
|
|
50851
51422
|
cli: {
|
|
50852
|
-
group: ["time-
|
|
51423
|
+
group: ["time-entries", "bulk"],
|
|
50853
51424
|
command: "delete",
|
|
50854
51425
|
interactive: "default"
|
|
50855
51426
|
},
|
|
50856
|
-
mcp: { entityTool: "time-
|
|
50857
|
-
inputSchema:
|
|
50858
|
-
ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()),
|
|
50859
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50860
|
-
}),
|
|
51427
|
+
mcp: { entityTool: "time-entries" },
|
|
51428
|
+
inputSchema: bulkTimeEntryIdsSchema,
|
|
50861
51429
|
execute: (input, { client }) => {
|
|
50862
51430
|
const data = input;
|
|
50863
|
-
return client.
|
|
50864
|
-
client.httpClient,
|
|
50865
|
-
client.organizationId,
|
|
50866
|
-
client.workspaceIdNumber,
|
|
50867
|
-
data.ids,
|
|
50868
|
-
data.outbound_sync,
|
|
50869
|
-
void 0
|
|
50870
|
-
]));
|
|
51431
|
+
return client.bulkDeleteTimeEntries(data.ids);
|
|
50871
51432
|
}
|
|
50872
51433
|
},
|
|
50873
51434
|
{
|
|
50874
|
-
id: "focus.time-
|
|
51435
|
+
id: "focus.time-entries.bulk-edit",
|
|
50875
51436
|
family: "focus",
|
|
50876
|
-
resource: "time-
|
|
50877
|
-
action: "bulk-
|
|
50878
|
-
title: "Bulk
|
|
50879
|
-
description: "Bulk
|
|
51437
|
+
resource: "time-entries",
|
|
51438
|
+
action: "bulk-edit",
|
|
51439
|
+
title: "Bulk Edit Time Entries",
|
|
51440
|
+
description: "Bulk Edit Time Entries.",
|
|
50880
51441
|
safety: "update",
|
|
50881
51442
|
destructive: false,
|
|
50882
51443
|
cli: {
|
|
50883
|
-
group: ["time-
|
|
50884
|
-
command: "
|
|
50885
|
-
interactive: "
|
|
50886
|
-
},
|
|
50887
|
-
mcp: { entityTool: "time-blocks" },
|
|
50888
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ unknown$1() }),
|
|
50889
|
-
execute: (input, { client }) => {
|
|
50890
|
-
const data = input;
|
|
50891
|
-
return client.runGeneratedRequest("bulkPartialUpdateTimeBlockWithOrg", () => callGeneratedRequest(bulkPartialUpdateTimeBlockWithOrg, [
|
|
50892
|
-
client.httpClient,
|
|
50893
|
-
client.organizationId,
|
|
50894
|
-
client.workspaceIdNumber,
|
|
50895
|
-
data.payload ?? data.data ?? data,
|
|
50896
|
-
void 0
|
|
50897
|
-
]));
|
|
50898
|
-
}
|
|
50899
|
-
},
|
|
50900
|
-
{
|
|
50901
|
-
id: "focus.time-blocks.create",
|
|
50902
|
-
family: "focus",
|
|
50903
|
-
resource: "time-blocks",
|
|
50904
|
-
action: "create",
|
|
50905
|
-
title: "Create Time Blocks",
|
|
50906
|
-
description: "Create Time Blocks.",
|
|
50907
|
-
safety: "create",
|
|
50908
|
-
destructive: false,
|
|
50909
|
-
cli: {
|
|
50910
|
-
group: ["time-blocks"],
|
|
50911
|
-
command: "create",
|
|
50912
|
-
interactive: "default"
|
|
50913
|
-
},
|
|
50914
|
-
mcp: { entityTool: "time-blocks" },
|
|
50915
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50916
|
-
payload: /* @__PURE__ */ looseObject({
|
|
50917
|
-
start: apiDateTimeString,
|
|
50918
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50919
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
50920
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
50921
|
-
}),
|
|
50922
|
-
task_id: /* @__PURE__ */ number$2()
|
|
50923
|
-
}),
|
|
50924
|
-
execute: (input, { client }) => {
|
|
50925
|
-
const data = input;
|
|
50926
|
-
return client.runGeneratedRequest("createTimeBlockWithOrg", () => callGeneratedRequest(createTimeBlockWithOrg, [
|
|
50927
|
-
client.httpClient,
|
|
50928
|
-
client.organizationId,
|
|
50929
|
-
client.workspaceIdNumber,
|
|
50930
|
-
data.task_id,
|
|
50931
|
-
data.payload ?? data.data ?? data,
|
|
50932
|
-
void 0
|
|
50933
|
-
]));
|
|
50934
|
-
}
|
|
50935
|
-
},
|
|
50936
|
-
{
|
|
50937
|
-
id: "focus.time-blocks.delete",
|
|
50938
|
-
family: "focus",
|
|
50939
|
-
resource: "time-blocks",
|
|
50940
|
-
action: "delete",
|
|
50941
|
-
title: "Delete Time Blocks",
|
|
50942
|
-
description: "Delete Time Blocks.",
|
|
50943
|
-
safety: "delete",
|
|
50944
|
-
destructive: true,
|
|
50945
|
-
cli: {
|
|
50946
|
-
group: ["time-blocks"],
|
|
50947
|
-
command: "delete",
|
|
50948
|
-
interactive: "default"
|
|
50949
|
-
},
|
|
50950
|
-
mcp: { entityTool: "time-blocks" },
|
|
50951
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50952
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
50953
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50954
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50955
|
-
}),
|
|
50956
|
-
execute: (input, { client }) => {
|
|
50957
|
-
const data = input;
|
|
50958
|
-
return client.runGeneratedRequest("deleteTimeBlockWithOrg", () => callGeneratedRequest(deleteTimeBlockWithOrg, [
|
|
50959
|
-
client.httpClient,
|
|
50960
|
-
client.organizationId,
|
|
50961
|
-
client.workspaceIdNumber,
|
|
50962
|
-
data.task_id,
|
|
50963
|
-
data.time_block_id,
|
|
50964
|
-
data.outbound_sync,
|
|
50965
|
-
void 0
|
|
50966
|
-
]));
|
|
50967
|
-
}
|
|
50968
|
-
},
|
|
50969
|
-
{
|
|
50970
|
-
id: "focus.time-blocks.get",
|
|
50971
|
-
family: "focus",
|
|
50972
|
-
resource: "time-blocks",
|
|
50973
|
-
action: "get",
|
|
50974
|
-
title: "Get Time Blocks",
|
|
50975
|
-
description: "Get Time Blocks.",
|
|
50976
|
-
safety: "read",
|
|
50977
|
-
destructive: false,
|
|
50978
|
-
cli: {
|
|
50979
|
-
group: ["time-blocks"],
|
|
50980
|
-
command: "get",
|
|
50981
|
-
interactive: "available"
|
|
50982
|
-
},
|
|
50983
|
-
mcp: { entityTool: "time-blocks" },
|
|
50984
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
50985
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
50986
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
50987
|
-
}),
|
|
50988
|
-
execute: (input, { client }) => {
|
|
50989
|
-
const data = input;
|
|
50990
|
-
return client.runGeneratedRequest("getTimeBlockWithOrg", () => callGeneratedRequest(getTimeBlockWithOrg, [
|
|
50991
|
-
client.httpClient,
|
|
50992
|
-
client.organizationId,
|
|
50993
|
-
client.workspaceIdNumber,
|
|
50994
|
-
data.task_id,
|
|
50995
|
-
data.time_block_id,
|
|
50996
|
-
void 0
|
|
50997
|
-
]));
|
|
50998
|
-
}
|
|
50999
|
-
},
|
|
51000
|
-
{
|
|
51001
|
-
id: "focus.time-blocks.get-range",
|
|
51002
|
-
family: "focus",
|
|
51003
|
-
resource: "time-blocks",
|
|
51004
|
-
action: "get-range",
|
|
51005
|
-
title: "Get Range Time Blocks",
|
|
51006
|
-
description: "Get Range Time Blocks.",
|
|
51007
|
-
safety: "read",
|
|
51008
|
-
destructive: false,
|
|
51009
|
-
cli: {
|
|
51010
|
-
group: ["time-blocks"],
|
|
51011
|
-
command: "get-range",
|
|
51012
|
-
interactive: "hidden"
|
|
51013
|
-
},
|
|
51014
|
-
mcp: { entityTool: "time-blocks" },
|
|
51015
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51016
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
51017
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
51018
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
51019
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
51020
|
-
page: /* @__PURE__ */ number$2(),
|
|
51021
|
-
per_page: /* @__PURE__ */ unknown$1(),
|
|
51022
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
51023
|
-
task_id: /* @__PURE__ */ number$2()
|
|
51024
|
-
}),
|
|
51025
|
-
execute: (input, { client }) => {
|
|
51026
|
-
const data = input;
|
|
51027
|
-
return client.runGeneratedRequest("getTimeBlocksRangeWithOrgClassic", () => callGeneratedRequest(getTimeBlocksRangeWithOrgClassic, [
|
|
51028
|
-
client.httpClient,
|
|
51029
|
-
client.organizationId,
|
|
51030
|
-
client.workspaceIdNumber,
|
|
51031
|
-
data,
|
|
51032
|
-
void 0
|
|
51033
|
-
]));
|
|
51034
|
-
}
|
|
51035
|
-
},
|
|
51036
|
-
{
|
|
51037
|
-
id: "focus.time-blocks.get-range-stream",
|
|
51038
|
-
family: "focus",
|
|
51039
|
-
resource: "time-blocks",
|
|
51040
|
-
action: "get-range-stream",
|
|
51041
|
-
title: "Get Range Stream Time Blocks",
|
|
51042
|
-
description: "Get Range Stream Time Blocks.",
|
|
51043
|
-
safety: "read",
|
|
51044
|
-
destructive: false,
|
|
51045
|
-
cli: {
|
|
51046
|
-
group: ["time-blocks"],
|
|
51047
|
-
command: "get-range-stream",
|
|
51048
|
-
interactive: "hidden"
|
|
51049
|
-
},
|
|
51050
|
-
mcp: { entityTool: "time-blocks" },
|
|
51051
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51052
|
-
archived: /* @__PURE__ */ unknown$1(),
|
|
51053
|
-
date_from: /* @__PURE__ */ unknown$1(),
|
|
51054
|
-
date_to: /* @__PURE__ */ unknown$1(),
|
|
51055
|
-
order_by: /* @__PURE__ */ unknown$1(),
|
|
51056
|
-
status_id: /* @__PURE__ */ number$2(),
|
|
51057
|
-
task_id: /* @__PURE__ */ number$2()
|
|
51058
|
-
}),
|
|
51059
|
-
execute: (input, { client }) => {
|
|
51060
|
-
const data = input;
|
|
51061
|
-
return client.runGeneratedRequest("getTimeBlocksRangeStreamWithOrg", () => callGeneratedRequest(getTimeBlocksRangeStreamWithOrg, [
|
|
51062
|
-
client.httpClient,
|
|
51063
|
-
client.organizationId,
|
|
51064
|
-
client.workspaceIdNumber,
|
|
51065
|
-
data,
|
|
51066
|
-
void 0
|
|
51067
|
-
]));
|
|
51068
|
-
}
|
|
51069
|
-
},
|
|
51070
|
-
{
|
|
51071
|
-
id: "focus.time-blocks.get-task-time-blocks",
|
|
51072
|
-
family: "focus",
|
|
51073
|
-
resource: "time-blocks",
|
|
51074
|
-
action: "get-task-time-blocks",
|
|
51075
|
-
title: "Get Task Time Blocks Time Blocks",
|
|
51076
|
-
description: "Get Task Time Blocks Time Blocks.",
|
|
51077
|
-
safety: "read",
|
|
51078
|
-
destructive: false,
|
|
51079
|
-
cli: {
|
|
51080
|
-
group: ["time-blocks"],
|
|
51081
|
-
command: "get-task-time-blocks",
|
|
51082
|
-
interactive: "hidden"
|
|
51083
|
-
},
|
|
51084
|
-
mcp: { entityTool: "time-blocks" },
|
|
51085
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51086
|
-
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51087
|
-
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51088
|
-
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51089
|
-
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51090
|
-
task_id: /* @__PURE__ */ number$2()
|
|
51091
|
-
}),
|
|
51092
|
-
execute: (input, { client }) => {
|
|
51093
|
-
const data = input;
|
|
51094
|
-
return client.runGeneratedRequest("getTaskTimeBlocksWithOrgClassic", () => callGeneratedRequest(getTaskTimeBlocksWithOrgClassic, [
|
|
51095
|
-
client.httpClient,
|
|
51096
|
-
client.organizationId,
|
|
51097
|
-
client.workspaceIdNumber,
|
|
51098
|
-
data.task_id,
|
|
51099
|
-
data,
|
|
51100
|
-
void 0
|
|
51101
|
-
]));
|
|
51102
|
-
}
|
|
51103
|
-
},
|
|
51104
|
-
{
|
|
51105
|
-
id: "focus.time-blocks.partial-update",
|
|
51106
|
-
family: "focus",
|
|
51107
|
-
resource: "time-blocks",
|
|
51108
|
-
action: "partial-update",
|
|
51109
|
-
title: "Partial Update Time Blocks",
|
|
51110
|
-
description: "Partial Update Time Blocks.",
|
|
51111
|
-
safety: "update",
|
|
51112
|
-
destructive: false,
|
|
51113
|
-
cli: {
|
|
51114
|
-
group: ["time-blocks"],
|
|
51115
|
-
command: "partial-update",
|
|
51116
|
-
interactive: "default"
|
|
51117
|
-
},
|
|
51118
|
-
mcp: { entityTool: "time-blocks" },
|
|
51119
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51120
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51121
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51122
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51123
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51124
|
-
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51125
|
-
task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51126
|
-
}),
|
|
51127
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51128
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51129
|
-
}),
|
|
51130
|
-
execute: (input, { client }) => {
|
|
51131
|
-
const data = input;
|
|
51132
|
-
return client.runGeneratedRequest("partialUpdateTimeBlockWithOrg", () => callGeneratedRequest(partialUpdateTimeBlockWithOrg, [
|
|
51133
|
-
client.httpClient,
|
|
51134
|
-
client.organizationId,
|
|
51135
|
-
client.workspaceIdNumber,
|
|
51136
|
-
data.task_id,
|
|
51137
|
-
data.time_block_id,
|
|
51138
|
-
data.payload ?? data.data ?? data,
|
|
51139
|
-
void 0
|
|
51140
|
-
]));
|
|
51141
|
-
}
|
|
51142
|
-
},
|
|
51143
|
-
{
|
|
51144
|
-
id: "focus.time-blocks.restore",
|
|
51145
|
-
family: "focus",
|
|
51146
|
-
resource: "time-blocks",
|
|
51147
|
-
action: "restore",
|
|
51148
|
-
title: "Restore Time Blocks",
|
|
51149
|
-
description: "Restore Time Blocks.",
|
|
51150
|
-
safety: "update",
|
|
51151
|
-
destructive: false,
|
|
51152
|
-
cli: {
|
|
51153
|
-
group: ["time-blocks"],
|
|
51154
|
-
command: "restore",
|
|
51155
|
-
interactive: "default"
|
|
51156
|
-
},
|
|
51157
|
-
mcp: { entityTool: "time-blocks" },
|
|
51158
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51159
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51160
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51161
|
-
}),
|
|
51162
|
-
execute: (input, { client }) => {
|
|
51163
|
-
const data = input;
|
|
51164
|
-
return client.runGeneratedRequest("restoreTimeBlockWithOrg", () => callGeneratedRequest(restoreTimeBlockWithOrg, [
|
|
51165
|
-
client.httpClient,
|
|
51166
|
-
client.organizationId,
|
|
51167
|
-
client.workspaceIdNumber,
|
|
51168
|
-
data.task_id,
|
|
51169
|
-
data.time_block_id,
|
|
51170
|
-
void 0
|
|
51171
|
-
]));
|
|
51172
|
-
}
|
|
51173
|
-
},
|
|
51174
|
-
{
|
|
51175
|
-
id: "focus.time-blocks.unarchive",
|
|
51176
|
-
family: "focus",
|
|
51177
|
-
resource: "time-blocks",
|
|
51178
|
-
action: "unarchive",
|
|
51179
|
-
title: "Unarchive Time Blocks",
|
|
51180
|
-
description: "Unarchive Time Blocks.",
|
|
51181
|
-
safety: "update",
|
|
51182
|
-
destructive: false,
|
|
51183
|
-
cli: {
|
|
51184
|
-
group: ["time-blocks"],
|
|
51185
|
-
command: "unarchive",
|
|
51186
|
-
interactive: "default"
|
|
51187
|
-
},
|
|
51188
|
-
mcp: { entityTool: "time-blocks" },
|
|
51189
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51190
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51191
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51192
|
-
}),
|
|
51193
|
-
execute: (input, { client }) => {
|
|
51194
|
-
const data = input;
|
|
51195
|
-
return client.runGeneratedRequest("unarchiveTimeBlockWithOrg", () => callGeneratedRequest(unarchiveTimeBlockWithOrg, [
|
|
51196
|
-
client.httpClient,
|
|
51197
|
-
client.organizationId,
|
|
51198
|
-
client.workspaceIdNumber,
|
|
51199
|
-
data.task_id,
|
|
51200
|
-
data.time_block_id,
|
|
51201
|
-
void 0
|
|
51202
|
-
]));
|
|
51203
|
-
}
|
|
51204
|
-
},
|
|
51205
|
-
{
|
|
51206
|
-
id: "focus.time-blocks.update",
|
|
51207
|
-
family: "focus",
|
|
51208
|
-
resource: "time-blocks",
|
|
51209
|
-
action: "update",
|
|
51210
|
-
title: "Update Time Blocks",
|
|
51211
|
-
description: "Update Time Blocks.",
|
|
51212
|
-
safety: "update",
|
|
51213
|
-
destructive: false,
|
|
51214
|
-
cli: {
|
|
51215
|
-
group: ["time-blocks"],
|
|
51216
|
-
command: "update",
|
|
51217
|
-
interactive: "default"
|
|
51218
|
-
},
|
|
51219
|
-
mcp: { entityTool: "time-blocks" },
|
|
51220
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51221
|
-
payload: /* @__PURE__ */ looseObject({
|
|
51222
|
-
start: apiDateTimeString,
|
|
51223
|
-
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51224
|
-
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51225
|
-
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51226
|
-
}),
|
|
51227
|
-
task_id: /* @__PURE__ */ number$2(),
|
|
51228
|
-
time_block_id: /* @__PURE__ */ number$2()
|
|
51229
|
-
}),
|
|
51230
|
-
execute: (input, { client }) => {
|
|
51231
|
-
const data = input;
|
|
51232
|
-
return client.runGeneratedRequest("updateTimeBlockWithOrg", () => callGeneratedRequest(updateTimeBlockWithOrg, [
|
|
51233
|
-
client.httpClient,
|
|
51234
|
-
client.organizationId,
|
|
51235
|
-
client.workspaceIdNumber,
|
|
51236
|
-
data.task_id,
|
|
51237
|
-
data.time_block_id,
|
|
51238
|
-
data.payload ?? data.data ?? data,
|
|
51239
|
-
void 0
|
|
51240
|
-
]));
|
|
51241
|
-
}
|
|
51242
|
-
},
|
|
51243
|
-
{
|
|
51244
|
-
id: "focus.time-entries.archive",
|
|
51245
|
-
family: "focus",
|
|
51246
|
-
resource: "time-entries",
|
|
51247
|
-
action: "archive",
|
|
51248
|
-
title: "Archive Time Entries",
|
|
51249
|
-
description: "Archive Time Entries.",
|
|
51250
|
-
safety: "update",
|
|
51251
|
-
destructive: false,
|
|
51252
|
-
cli: {
|
|
51253
|
-
group: ["time-entries"],
|
|
51254
|
-
command: "archive",
|
|
51255
|
-
interactive: "default"
|
|
51256
|
-
},
|
|
51257
|
-
mcp: { entityTool: "time-entries" },
|
|
51258
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
|
|
51259
|
-
execute: (input, { client }) => {
|
|
51260
|
-
const data = input;
|
|
51261
|
-
return client.runGeneratedRequest("archiveTimeEntryWithOrg", () => callGeneratedRequest(archiveTimeEntryWithOrg, [
|
|
51262
|
-
client.httpClient,
|
|
51263
|
-
client.organizationId,
|
|
51264
|
-
client.workspaceIdNumber,
|
|
51265
|
-
data.time_entry_id,
|
|
51266
|
-
void 0
|
|
51267
|
-
]));
|
|
51268
|
-
}
|
|
51269
|
-
},
|
|
51270
|
-
{
|
|
51271
|
-
id: "focus.time-entries.bulk-create",
|
|
51272
|
-
family: "focus",
|
|
51273
|
-
resource: "time-entries",
|
|
51274
|
-
action: "bulk-create",
|
|
51275
|
-
title: "Bulk Create Time Entries",
|
|
51276
|
-
description: "Bulk Create Time Entries.",
|
|
51277
|
-
safety: "create",
|
|
51278
|
-
destructive: false,
|
|
51279
|
-
cli: {
|
|
51280
|
-
group: ["time-entries", "bulk"],
|
|
51281
|
-
command: "create",
|
|
51282
|
-
interactive: "default"
|
|
51283
|
-
},
|
|
51284
|
-
mcp: { entityTool: "time-entries" },
|
|
51285
|
-
inputSchema: bulkTimeEntryCreateBodySchema,
|
|
51286
|
-
execute: (input, { client }) => {
|
|
51287
|
-
const data = input;
|
|
51288
|
-
return client.bulkCreateTimeEntries(data);
|
|
51289
|
-
}
|
|
51290
|
-
},
|
|
51291
|
-
{
|
|
51292
|
-
id: "focus.time-entries.bulk-delete",
|
|
51293
|
-
family: "focus",
|
|
51294
|
-
resource: "time-entries",
|
|
51295
|
-
action: "bulk-delete",
|
|
51296
|
-
title: "Bulk Delete Time Entries",
|
|
51297
|
-
description: "Bulk Delete Time Entries.",
|
|
51298
|
-
safety: "delete",
|
|
51299
|
-
destructive: true,
|
|
51300
|
-
cli: {
|
|
51301
|
-
group: ["time-entries", "bulk"],
|
|
51302
|
-
command: "delete",
|
|
51303
|
-
interactive: "default"
|
|
51304
|
-
},
|
|
51305
|
-
mcp: { entityTool: "time-entries" },
|
|
51306
|
-
inputSchema: bulkTimeEntryIdsSchema,
|
|
51307
|
-
execute: (input, { client }) => {
|
|
51308
|
-
const data = input;
|
|
51309
|
-
return client.bulkDeleteTimeEntries(data.ids);
|
|
51310
|
-
}
|
|
51311
|
-
},
|
|
51312
|
-
{
|
|
51313
|
-
id: "focus.time-entries.bulk-edit",
|
|
51314
|
-
family: "focus",
|
|
51315
|
-
resource: "time-entries",
|
|
51316
|
-
action: "bulk-edit",
|
|
51317
|
-
title: "Bulk Edit Time Entries",
|
|
51318
|
-
description: "Bulk Edit Time Entries.",
|
|
51319
|
-
safety: "update",
|
|
51320
|
-
destructive: false,
|
|
51321
|
-
cli: {
|
|
51322
|
-
group: ["time-entries", "bulk"],
|
|
51323
|
-
command: "edit",
|
|
51324
|
-
interactive: "default"
|
|
51444
|
+
group: ["time-entries", "bulk"],
|
|
51445
|
+
command: "edit",
|
|
51446
|
+
interactive: "default"
|
|
51325
51447
|
},
|
|
51326
51448
|
mcp: { entityTool: "time-entries" },
|
|
51327
51449
|
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
@@ -51455,7 +51577,8 @@ const generatedFocusOperations = [
|
|
|
51455
51577
|
required_fields: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({ kind: /* @__PURE__ */ picklist$1([
|
|
51456
51578
|
"project",
|
|
51457
51579
|
"task",
|
|
51458
|
-
"description"
|
|
51580
|
+
"description",
|
|
51581
|
+
"tags"
|
|
51459
51582
|
]) })),
|
|
51460
51583
|
disallow_billable_override: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51461
51584
|
}) }),
|
|
@@ -51485,6 +51608,7 @@ const generatedFocusOperations = [
|
|
|
51485
51608
|
},
|
|
51486
51609
|
mcp: { entityTool: "time-entries" },
|
|
51487
51610
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51611
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51488
51612
|
payload: /* @__PURE__ */ looseObject({
|
|
51489
51613
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51490
51614
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -51495,11 +51619,12 @@ const generatedFocusOperations = [
|
|
|
51495
51619
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51496
51620
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51497
51621
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51622
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51498
51623
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51499
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51500
51624
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51501
51625
|
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51502
51626
|
}),
|
|
51627
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51503
51628
|
task_id: /* @__PURE__ */ number$2()
|
|
51504
51629
|
}),
|
|
51505
51630
|
execute: (input, { client }) => {
|
|
@@ -51510,6 +51635,8 @@ const generatedFocusOperations = [
|
|
|
51510
51635
|
client.workspaceIdNumber,
|
|
51511
51636
|
data.task_id,
|
|
51512
51637
|
data.payload ?? data.data ?? data,
|
|
51638
|
+
data.from_recurring_task_id,
|
|
51639
|
+
data.return_occurrence,
|
|
51513
51640
|
void 0
|
|
51514
51641
|
]));
|
|
51515
51642
|
}
|
|
@@ -51529,21 +51656,25 @@ const generatedFocusOperations = [
|
|
|
51529
51656
|
interactive: "default"
|
|
51530
51657
|
},
|
|
51531
51658
|
mcp: { entityTool: "time-entries" },
|
|
51532
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51533
|
-
|
|
51534
|
-
|
|
51535
|
-
|
|
51536
|
-
|
|
51537
|
-
|
|
51538
|
-
|
|
51539
|
-
|
|
51540
|
-
|
|
51541
|
-
|
|
51542
|
-
|
|
51543
|
-
|
|
51544
|
-
|
|
51545
|
-
|
|
51546
|
-
|
|
51659
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51660
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51661
|
+
payload: /* @__PURE__ */ looseObject({
|
|
51662
|
+
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]), "activity"),
|
|
51663
|
+
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51664
|
+
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51665
|
+
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51666
|
+
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51667
|
+
planned_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51668
|
+
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51669
|
+
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
51670
|
+
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51671
|
+
repeat_time_entry: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51672
|
+
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51673
|
+
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
51674
|
+
user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
|
|
51675
|
+
}),
|
|
51676
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
51677
|
+
}),
|
|
51547
51678
|
execute: (input, { client }) => {
|
|
51548
51679
|
const data = input;
|
|
51549
51680
|
return client.runGeneratedRequest("createTasklessTimeEntryWithOrg", () => callGeneratedRequest(createTasklessTimeEntryWithOrg, [
|
|
@@ -51551,6 +51682,8 @@ const generatedFocusOperations = [
|
|
|
51551
51682
|
client.organizationId,
|
|
51552
51683
|
client.workspaceIdNumber,
|
|
51553
51684
|
data.payload ?? data.data ?? data,
|
|
51685
|
+
data.from_recurring_task_id,
|
|
51686
|
+
data.return_occurrence,
|
|
51554
51687
|
void 0
|
|
51555
51688
|
]));
|
|
51556
51689
|
}
|
|
@@ -51570,7 +51703,11 @@ const generatedFocusOperations = [
|
|
|
51570
51703
|
interactive: "default"
|
|
51571
51704
|
},
|
|
51572
51705
|
mcp: { entityTool: "time-entries" },
|
|
51573
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
51706
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
51707
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51708
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51709
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
51710
|
+
}),
|
|
51574
51711
|
execute: (input, { client }) => {
|
|
51575
51712
|
const data = input;
|
|
51576
51713
|
return client.runGeneratedRequest("deleteTimeEntryWithOrg", () => callGeneratedRequest(deleteTimeEntryWithOrg, [
|
|
@@ -51578,6 +51715,8 @@ const generatedFocusOperations = [
|
|
|
51578
51715
|
client.organizationId,
|
|
51579
51716
|
client.workspaceIdNumber,
|
|
51580
51717
|
data.time_entry_id,
|
|
51718
|
+
data.from_recurring_task_id,
|
|
51719
|
+
data.return_occurrence,
|
|
51581
51720
|
void 0
|
|
51582
51721
|
]));
|
|
51583
51722
|
}
|
|
@@ -51658,6 +51797,7 @@ const generatedFocusOperations = [
|
|
|
51658
51797
|
expand_calendar_event: /* @__PURE__ */ unknown$1(),
|
|
51659
51798
|
include_taskless: /* @__PURE__ */ unknown$1(),
|
|
51660
51799
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
51800
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
51661
51801
|
status_id: /* @__PURE__ */ number$2(),
|
|
51662
51802
|
task_id: /* @__PURE__ */ number$2(),
|
|
51663
51803
|
type: /* @__PURE__ */ unknown$1()
|
|
@@ -51673,33 +51813,6 @@ const generatedFocusOperations = [
|
|
|
51673
51813
|
]));
|
|
51674
51814
|
}
|
|
51675
51815
|
},
|
|
51676
|
-
{
|
|
51677
|
-
id: "focus.time-entries.get-stream-time-entries-time-block-ids",
|
|
51678
|
-
family: "focus",
|
|
51679
|
-
resource: "time-entries",
|
|
51680
|
-
action: "get-stream-time-entries-time-block-ids",
|
|
51681
|
-
title: "Get Stream Time Entries Time Block Ids Time Entries",
|
|
51682
|
-
description: "Get Stream Time Entries Time Block Ids Time Entries.",
|
|
51683
|
-
safety: "read",
|
|
51684
|
-
destructive: false,
|
|
51685
|
-
cli: {
|
|
51686
|
-
group: ["time-entries"],
|
|
51687
|
-
command: "get-stream-time-entries-time-block-ids",
|
|
51688
|
-
interactive: "available"
|
|
51689
|
-
},
|
|
51690
|
-
mcp: { entityTool: "time-entries" },
|
|
51691
|
-
inputSchema: /* @__PURE__ */ looseObject({ time_block_id: /* @__PURE__ */ number$2() }),
|
|
51692
|
-
execute: (input, { client }) => {
|
|
51693
|
-
const data = input;
|
|
51694
|
-
return client.runGeneratedRequest("getStreamTimeEntriesTimeBlockIdsWithOrg", () => callGeneratedRequest(getStreamTimeEntriesTimeBlockIdsWithOrg, [
|
|
51695
|
-
client.httpClient,
|
|
51696
|
-
client.organizationId,
|
|
51697
|
-
client.workspaceIdNumber,
|
|
51698
|
-
data,
|
|
51699
|
-
void 0
|
|
51700
|
-
]));
|
|
51701
|
-
}
|
|
51702
|
-
},
|
|
51703
51816
|
{
|
|
51704
51817
|
id: "focus.time-entries.get-task-time-entries",
|
|
51705
51818
|
family: "focus",
|
|
@@ -51721,7 +51834,6 @@ const generatedFocusOperations = [
|
|
|
51721
51834
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51722
51835
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
51723
51836
|
task_id: /* @__PURE__ */ number$2(),
|
|
51724
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51725
51837
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
51726
51838
|
}),
|
|
51727
51839
|
execute: (input, { client }) => {
|
|
@@ -51834,12 +51946,14 @@ const generatedFocusOperations = [
|
|
|
51834
51946
|
},
|
|
51835
51947
|
mcp: { entityTool: "time-entries" },
|
|
51836
51948
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
51949
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51837
51950
|
payload: /* @__PURE__ */ looseObject({
|
|
51838
51951
|
billable: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51839
51952
|
duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
51840
51953
|
reset_billable_to_default: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51841
51954
|
type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["activity", "break"]))
|
|
51842
51955
|
}),
|
|
51956
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
51843
51957
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
51844
51958
|
}),
|
|
51845
51959
|
execute: (input, { client }) => {
|
|
@@ -51850,6 +51964,8 @@ const generatedFocusOperations = [
|
|
|
51850
51964
|
client.workspaceIdNumber,
|
|
51851
51965
|
data.time_entry_id,
|
|
51852
51966
|
data.payload ?? data.data ?? data,
|
|
51967
|
+
data.from_recurring_task_id,
|
|
51968
|
+
data.return_occurrence,
|
|
51853
51969
|
void 0
|
|
51854
51970
|
]));
|
|
51855
51971
|
}
|
|
@@ -52107,6 +52223,7 @@ const generatedFocusOperations = [
|
|
|
52107
52223
|
},
|
|
52108
52224
|
mcp: { entityTool: "time-entries" },
|
|
52109
52225
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
52226
|
+
from_recurring_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52110
52227
|
payload: /* @__PURE__ */ looseObject({
|
|
52111
52228
|
type: /* @__PURE__ */ picklist$1(["activity", "break"]),
|
|
52112
52229
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -52116,9 +52233,9 @@ const generatedFocusOperations = [
|
|
|
52116
52233
|
planned_duration: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52117
52234
|
planned_start: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
52118
52235
|
start: /* @__PURE__ */ optional$1(apiDateTimeString),
|
|
52119
|
-
time_block_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52120
52236
|
tracked_at: /* @__PURE__ */ optional$1(apiDateTimeString)
|
|
52121
52237
|
}),
|
|
52238
|
+
return_occurrence: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
52122
52239
|
time_entry_id: /* @__PURE__ */ number$2()
|
|
52123
52240
|
}),
|
|
52124
52241
|
execute: (input, { client }) => {
|
|
@@ -52129,6 +52246,8 @@ const generatedFocusOperations = [
|
|
|
52129
52246
|
client.workspaceIdNumber,
|
|
52130
52247
|
data.time_entry_id,
|
|
52131
52248
|
data.payload ?? data.data ?? data,
|
|
52249
|
+
data.from_recurring_task_id,
|
|
52250
|
+
data.return_occurrence,
|
|
52132
52251
|
void 0
|
|
52133
52252
|
]));
|
|
52134
52253
|
}
|
|
@@ -52193,6 +52312,118 @@ const generatedFocusOperations = [
|
|
|
52193
52312
|
]));
|
|
52194
52313
|
}
|
|
52195
52314
|
},
|
|
52315
|
+
{
|
|
52316
|
+
id: "focus.time-off.get-timeoff-balance-changes-for-user",
|
|
52317
|
+
family: "focus",
|
|
52318
|
+
resource: "time-off",
|
|
52319
|
+
action: "get-timeoff-balance-changes-for-user",
|
|
52320
|
+
title: "Get Timeoff Balance Changes For User Time Off",
|
|
52321
|
+
description: "Get Timeoff Balance Changes For User Time Off.",
|
|
52322
|
+
safety: "read",
|
|
52323
|
+
destructive: false,
|
|
52324
|
+
cli: {
|
|
52325
|
+
group: ["time-off"],
|
|
52326
|
+
command: "get-timeoff-balance-changes-for-user",
|
|
52327
|
+
interactive: "hidden"
|
|
52328
|
+
},
|
|
52329
|
+
mcp: { entityTool: "time-off" },
|
|
52330
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52331
|
+
category_id: /* @__PURE__ */ number$2(),
|
|
52332
|
+
page: /* @__PURE__ */ number$2(),
|
|
52333
|
+
rows: /* @__PURE__ */ unknown$1(),
|
|
52334
|
+
user_id: /* @__PURE__ */ number$2(),
|
|
52335
|
+
year: /* @__PURE__ */ unknown$1()
|
|
52336
|
+
}),
|
|
52337
|
+
execute: (input, { client }) => {
|
|
52338
|
+
const data = input;
|
|
52339
|
+
return client.runGeneratedRequest("getTimeoffBalanceChangesForUserClassic", () => callGeneratedRequest(getTimeoffBalanceChangesForUserClassic, [
|
|
52340
|
+
client.httpClient,
|
|
52341
|
+
client.organizationId,
|
|
52342
|
+
data.user_id,
|
|
52343
|
+
data,
|
|
52344
|
+
void 0
|
|
52345
|
+
]));
|
|
52346
|
+
}
|
|
52347
|
+
},
|
|
52348
|
+
{
|
|
52349
|
+
id: "focus.time-off.get-timeoff-balances-for-user",
|
|
52350
|
+
family: "focus",
|
|
52351
|
+
resource: "time-off",
|
|
52352
|
+
action: "get-timeoff-balances-for-user",
|
|
52353
|
+
title: "Get Timeoff Balances For User Time Off",
|
|
52354
|
+
description: "Get Timeoff Balances For User Time Off.",
|
|
52355
|
+
safety: "read",
|
|
52356
|
+
destructive: false,
|
|
52357
|
+
cli: {
|
|
52358
|
+
group: ["time-off"],
|
|
52359
|
+
command: "get-timeoff-balances-for-user",
|
|
52360
|
+
interactive: "available"
|
|
52361
|
+
},
|
|
52362
|
+
mcp: { entityTool: "time-off" },
|
|
52363
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52364
|
+
category_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
52365
|
+
date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
52366
|
+
user_id: /* @__PURE__ */ number$2()
|
|
52367
|
+
}),
|
|
52368
|
+
execute: (input, { client }) => {
|
|
52369
|
+
const data = input;
|
|
52370
|
+
return client.runGeneratedRequest("getTimeoffBalancesForUser", () => callGeneratedRequest(getTimeoffBalancesForUser, [
|
|
52371
|
+
client.httpClient,
|
|
52372
|
+
client.organizationId,
|
|
52373
|
+
data.user_id,
|
|
52374
|
+
data,
|
|
52375
|
+
void 0
|
|
52376
|
+
]));
|
|
52377
|
+
}
|
|
52378
|
+
},
|
|
52379
|
+
{
|
|
52380
|
+
id: "focus.time-off.get-timeoff-categories",
|
|
52381
|
+
family: "focus",
|
|
52382
|
+
resource: "time-off",
|
|
52383
|
+
action: "get-timeoff-categories",
|
|
52384
|
+
title: "Get Timeoff Categories Time Off",
|
|
52385
|
+
description: "Get Timeoff Categories Time Off.",
|
|
52386
|
+
safety: "read",
|
|
52387
|
+
destructive: false,
|
|
52388
|
+
cli: {
|
|
52389
|
+
group: ["time-off"],
|
|
52390
|
+
command: "get-timeoff-categories",
|
|
52391
|
+
interactive: "hidden"
|
|
52392
|
+
},
|
|
52393
|
+
mcp: { entityTool: "time-off" },
|
|
52394
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
52395
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getTimeoffCategories", () => callGeneratedRequest(getTimeoffCategories, [
|
|
52396
|
+
client.httpClient,
|
|
52397
|
+
client.organizationId,
|
|
52398
|
+
void 0
|
|
52399
|
+
]))
|
|
52400
|
+
},
|
|
52401
|
+
{
|
|
52402
|
+
id: "focus.time-off.get-timeoff-category",
|
|
52403
|
+
family: "focus",
|
|
52404
|
+
resource: "time-off",
|
|
52405
|
+
action: "get-timeoff-category",
|
|
52406
|
+
title: "Get Timeoff Category Time Off",
|
|
52407
|
+
description: "Get Timeoff Category Time Off.",
|
|
52408
|
+
safety: "read",
|
|
52409
|
+
destructive: false,
|
|
52410
|
+
cli: {
|
|
52411
|
+
group: ["time-off"],
|
|
52412
|
+
command: "get-timeoff-category",
|
|
52413
|
+
interactive: "available"
|
|
52414
|
+
},
|
|
52415
|
+
mcp: { entityTool: "time-off" },
|
|
52416
|
+
inputSchema: /* @__PURE__ */ looseObject({ category_id: /* @__PURE__ */ number$2() }),
|
|
52417
|
+
execute: (input, { client }) => {
|
|
52418
|
+
const data = input;
|
|
52419
|
+
return client.runGeneratedRequest("getTimeoffCategory", () => callGeneratedRequest(getTimeoffCategory, [
|
|
52420
|
+
client.httpClient,
|
|
52421
|
+
client.organizationId,
|
|
52422
|
+
data.category_id,
|
|
52423
|
+
void 0
|
|
52424
|
+
]));
|
|
52425
|
+
}
|
|
52426
|
+
},
|
|
52196
52427
|
{
|
|
52197
52428
|
id: "focus.time-off.get-timeoff-for-user",
|
|
52198
52429
|
family: "focus",
|
|
@@ -52644,6 +52875,40 @@ const generatedFocusOperations = [
|
|
|
52644
52875
|
]));
|
|
52645
52876
|
}
|
|
52646
52877
|
},
|
|
52878
|
+
{
|
|
52879
|
+
id: "focus.timesheets.get-status-counts",
|
|
52880
|
+
family: "focus",
|
|
52881
|
+
resource: "timesheets",
|
|
52882
|
+
action: "get-status-counts",
|
|
52883
|
+
title: "Get Status Counts Timesheets",
|
|
52884
|
+
description: "Get Status Counts Timesheets.",
|
|
52885
|
+
safety: "read",
|
|
52886
|
+
destructive: false,
|
|
52887
|
+
cli: {
|
|
52888
|
+
group: ["timesheets"],
|
|
52889
|
+
command: "get-status-counts",
|
|
52890
|
+
interactive: "hidden"
|
|
52891
|
+
},
|
|
52892
|
+
mcp: { entityTool: "timesheets" },
|
|
52893
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
52894
|
+
approver_user_account_ids: /* @__PURE__ */ unknown$1(),
|
|
52895
|
+
date_from: /* @__PURE__ */ unknown$1(),
|
|
52896
|
+
date_to: /* @__PURE__ */ unknown$1(),
|
|
52897
|
+
setup_id: /* @__PURE__ */ number$2(),
|
|
52898
|
+
team_ids: /* @__PURE__ */ unknown$1(),
|
|
52899
|
+
user_account_ids: /* @__PURE__ */ unknown$1()
|
|
52900
|
+
}),
|
|
52901
|
+
execute: (input, { client }) => {
|
|
52902
|
+
const data = input;
|
|
52903
|
+
return client.runGeneratedRequest("getTimesheetStatusCounts", () => callGeneratedRequest(getTimesheetStatusCounts, [
|
|
52904
|
+
client.httpClient,
|
|
52905
|
+
client.organizationId,
|
|
52906
|
+
client.workspaceIdNumber,
|
|
52907
|
+
data,
|
|
52908
|
+
void 0
|
|
52909
|
+
]));
|
|
52910
|
+
}
|
|
52911
|
+
},
|
|
52647
52912
|
{
|
|
52648
52913
|
id: "focus.timesheets.remove-timesheet-flag",
|
|
52649
52914
|
family: "focus",
|
|
@@ -53193,6 +53458,33 @@ const generatedFocusOperations = [
|
|
|
53193
53458
|
]));
|
|
53194
53459
|
}
|
|
53195
53460
|
},
|
|
53461
|
+
{
|
|
53462
|
+
id: "focus.track-team-invites.post",
|
|
53463
|
+
family: "focus",
|
|
53464
|
+
resource: "track-team-invites",
|
|
53465
|
+
action: "post",
|
|
53466
|
+
title: "Post Track Team Invites",
|
|
53467
|
+
description: "Post Track Team Invites.",
|
|
53468
|
+
safety: "create",
|
|
53469
|
+
destructive: false,
|
|
53470
|
+
cli: {
|
|
53471
|
+
group: ["track-team-invites"],
|
|
53472
|
+
command: "post",
|
|
53473
|
+
interactive: "default"
|
|
53474
|
+
},
|
|
53475
|
+
mcp: { entityTool: "track-team-invites" },
|
|
53476
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ organization_user_ids: /* @__PURE__ */ array$1(/* @__PURE__ */ number$2()) }) }),
|
|
53477
|
+
execute: (input, { client }) => {
|
|
53478
|
+
const data = input;
|
|
53479
|
+
return client.runGeneratedRequest("postTrackTeamInvites", () => callGeneratedRequest(postTrackTeamInvites, [
|
|
53480
|
+
client.httpClient,
|
|
53481
|
+
client.organizationId,
|
|
53482
|
+
client.workspaceIdNumber,
|
|
53483
|
+
data.payload ?? data.data ?? data,
|
|
53484
|
+
void 0
|
|
53485
|
+
]));
|
|
53486
|
+
}
|
|
53487
|
+
},
|
|
53196
53488
|
{
|
|
53197
53489
|
id: "focus.users.list",
|
|
53198
53490
|
family: "focus",
|
|
@@ -53214,6 +53506,56 @@ const generatedFocusOperations = [
|
|
|
53214
53506
|
return client.listOrgUsers(data);
|
|
53215
53507
|
}
|
|
53216
53508
|
},
|
|
53509
|
+
{
|
|
53510
|
+
id: "focus.users.settings-email-unsubscribe",
|
|
53511
|
+
family: "focus",
|
|
53512
|
+
resource: "users",
|
|
53513
|
+
action: "settings-email-unsubscribe",
|
|
53514
|
+
title: "Settings Email Unsubscribe Users",
|
|
53515
|
+
description: "Settings Email Unsubscribe Users.",
|
|
53516
|
+
safety: "update",
|
|
53517
|
+
destructive: false,
|
|
53518
|
+
cli: {
|
|
53519
|
+
group: ["users", "settings"],
|
|
53520
|
+
command: "email-unsubscribe",
|
|
53521
|
+
interactive: "default"
|
|
53522
|
+
},
|
|
53523
|
+
mcp: { entityTool: "users" },
|
|
53524
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53525
|
+
execute: (input, { client }) => {
|
|
53526
|
+
const data = input;
|
|
53527
|
+
return client.runGeneratedRequest("emailUnsubscribe", () => callGeneratedRequest(emailUnsubscribe, [
|
|
53528
|
+
client.httpClient,
|
|
53529
|
+
data.token,
|
|
53530
|
+
void 0
|
|
53531
|
+
]));
|
|
53532
|
+
}
|
|
53533
|
+
},
|
|
53534
|
+
{
|
|
53535
|
+
id: "focus.users.settings-email-unsubscribe-page",
|
|
53536
|
+
family: "focus",
|
|
53537
|
+
resource: "users",
|
|
53538
|
+
action: "settings-email-unsubscribe-page",
|
|
53539
|
+
title: "Settings Email Unsubscribe Page Users",
|
|
53540
|
+
description: "Settings Email Unsubscribe Page Users.",
|
|
53541
|
+
safety: "read",
|
|
53542
|
+
destructive: false,
|
|
53543
|
+
cli: {
|
|
53544
|
+
group: ["users", "settings"],
|
|
53545
|
+
command: "email-unsubscribe-page",
|
|
53546
|
+
interactive: "available"
|
|
53547
|
+
},
|
|
53548
|
+
mcp: { entityTool: "users" },
|
|
53549
|
+
inputSchema: /* @__PURE__ */ looseObject({ token: /* @__PURE__ */ string$1() }),
|
|
53550
|
+
execute: (input, { client }) => {
|
|
53551
|
+
const data = input;
|
|
53552
|
+
return client.runGeneratedRequest("emailUnsubscribePage", () => callGeneratedRequest(emailUnsubscribePage, [
|
|
53553
|
+
client.httpClient,
|
|
53554
|
+
data.token,
|
|
53555
|
+
void 0
|
|
53556
|
+
]));
|
|
53557
|
+
}
|
|
53558
|
+
},
|
|
53217
53559
|
{
|
|
53218
53560
|
id: "focus.users.settings-list",
|
|
53219
53561
|
family: "focus",
|
|
@@ -53275,6 +53617,9 @@ const generatedFocusOperations = [
|
|
|
53275
53617
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53276
53618
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53277
53619
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53620
|
+
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53621
|
+
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53622
|
+
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53278
53623
|
onboarding_checklist_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53279
53624
|
onboarding_flow_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
53280
53625
|
onboarding_multi_day_task_created: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -54817,7 +55162,7 @@ function registerWorkspaceTools(server) {
|
|
|
54817
55162
|
//#region src/package-version.ts
|
|
54818
55163
|
function mcpPackageVersion() {
|
|
54819
55164
|
try {
|
|
54820
|
-
return "1.11.
|
|
55165
|
+
return "1.11.86";
|
|
54821
55166
|
} catch {
|
|
54822
55167
|
return "unknown";
|
|
54823
55168
|
}
|
|
@@ -54992,7 +55337,7 @@ import_main.default.config({
|
|
|
54992
55337
|
quiet: true,
|
|
54993
55338
|
ignore: ["MISSING_ENV_FILE"]
|
|
54994
55339
|
});
|
|
54995
|
-
const packageVersion = "1.11.
|
|
55340
|
+
const packageVersion = "1.11.86";
|
|
54996
55341
|
function resolvePublicUrls() {
|
|
54997
55342
|
return {
|
|
54998
55343
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -55057,4 +55402,4 @@ function bootstrapServer(options = {}) {
|
|
|
55057
55402
|
//#endregion
|
|
55058
55403
|
export { getProductAnalyticsDistinctId as a, resolvePublicSentryDsn as c, captureToolInvocation as i, shutdownProductAnalytics as l, runMcpCli as n, initProductAnalytics as o, PUBLIC_SENTRY_PRIVACY_OPTIONS as r, resolveProductAnalyticsDistinctId as s, bootstrapServer as t };
|
|
55059
55404
|
|
|
55060
|
-
//# sourceMappingURL=src-
|
|
55405
|
+
//# sourceMappingURL=src-DgVyWhG2.js.map
|