@togglhq/mcp 1.5.29 → 1.5.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/index.js +1 -1
- package/build/{src-RzQj8FxB.js → src-rv4SDBdD.js} +338 -31
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -28918,6 +28918,7 @@ const TagLiteSchema = /* @__PURE__ */ object({
|
|
|
28918
28918
|
});
|
|
28919
28919
|
const TaskSchema = /* @__PURE__ */ object({
|
|
28920
28920
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
28921
|
+
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
28921
28922
|
id: /* @__PURE__ */ number(),
|
|
28922
28923
|
is_template: /* @__PURE__ */ boolean(),
|
|
28923
28924
|
name: /* @__PURE__ */ string(),
|
|
@@ -28967,6 +28968,7 @@ const TaskSchema = /* @__PURE__ */ object({
|
|
|
28967
28968
|
});
|
|
28968
28969
|
const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
28969
28970
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
28971
|
+
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
28970
28972
|
id: /* @__PURE__ */ number(),
|
|
28971
28973
|
is_template: /* @__PURE__ */ boolean(),
|
|
28972
28974
|
name: /* @__PURE__ */ string(),
|
|
@@ -29172,6 +29174,7 @@ const TimeBlockSchema = /* @__PURE__ */ object({
|
|
|
29172
29174
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29173
29175
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29174
29176
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29177
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29175
29178
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29176
29179
|
});
|
|
29177
29180
|
const BillableSourceSchema = /* @__PURE__ */ picklist(["manual", "task_default"]);
|
|
@@ -29195,6 +29198,7 @@ const TimeEntrySchema = /* @__PURE__ */ object({
|
|
|
29195
29198
|
start: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29196
29199
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29197
29200
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29201
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29198
29202
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29199
29203
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29200
29204
|
});
|
|
@@ -29317,6 +29321,7 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29317
29321
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29318
29322
|
has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29319
29323
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
29324
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29320
29325
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29321
29326
|
})),
|
|
29322
29327
|
page: /* @__PURE__ */ number(),
|
|
@@ -29357,6 +29362,7 @@ const PaginatedTimeEntryWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29357
29362
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
29358
29363
|
task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29359
29364
|
time_block_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29365
|
+
timezone: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("Timezone is the effective IANA timezone hydrated on reads: the workspace timezone snapshotted at creation when set, else the creator's snapshot; NULL when unresolved."))),
|
|
29360
29366
|
tracked_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29361
29367
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29362
29368
|
})),
|
|
@@ -29506,6 +29512,7 @@ const TaskCreatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29506
29512
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ unknown())),
|
|
29507
29513
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29508
29514
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
29515
|
+
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29509
29516
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29510
29517
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29511
29518
|
integration_ext_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
@@ -29544,6 +29551,7 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
29544
29551
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
29545
29552
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
29546
29553
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
29554
|
+
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29547
29555
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29548
29556
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29549
29557
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29577,6 +29585,7 @@ const TaskPartialUpdatePayloadWithIDSchema = /* @__PURE__ */ object({
|
|
|
29577
29585
|
custom_fields: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ object({}))),
|
|
29578
29586
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ string())),
|
|
29579
29587
|
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
29588
|
+
estimate_type: /* @__PURE__ */ optional(/* @__PURE__ */ picklist(["daily", "total"])),
|
|
29580
29589
|
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
29581
29590
|
ghost_assignee_ids: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ array(/* @__PURE__ */ number()))),
|
|
29582
29591
|
name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
@@ -29732,7 +29741,7 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
|
|
|
29732
29741
|
async function getOrganizationRoles(httpClient, organization_id, signal) {
|
|
29733
29742
|
return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
|
|
29734
29743
|
}
|
|
29735
|
-
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids }, signal) {
|
|
29744
|
+
async function getOrganizationTeamsClassic(httpClient, organization_id, { workspace_id, page, per_page, sort_dir, filter, query, organization_user_id, group_ids, active_members_only }, signal) {
|
|
29736
29745
|
return await httpClient.get(`organizations/${organization_id}/teams`, {
|
|
29737
29746
|
signal,
|
|
29738
29747
|
searchParams: buildSearchParams$3({
|
|
@@ -29743,7 +29752,8 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
29743
29752
|
filter,
|
|
29744
29753
|
query,
|
|
29745
29754
|
organization_user_id,
|
|
29746
|
-
group_ids
|
|
29755
|
+
group_ids,
|
|
29756
|
+
active_members_only
|
|
29747
29757
|
})
|
|
29748
29758
|
}).json();
|
|
29749
29759
|
}
|
|
@@ -30187,25 +30197,23 @@ async function getTaskByExternalId(httpClient, organization_id, workspace_id, {
|
|
|
30187
30197
|
})
|
|
30188
30198
|
}).json();
|
|
30189
30199
|
}
|
|
30190
|
-
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id,
|
|
30200
|
+
async function getTasksCalendarEvents(httpClient, organization_id, workspace_id, { date_from, date_to, calendar_event_id, hidden } = {}, signal) {
|
|
30191
30201
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
30192
30202
|
signal,
|
|
30193
30203
|
searchParams: buildSearchParams$3({
|
|
30194
30204
|
date_from,
|
|
30195
30205
|
date_to,
|
|
30196
30206
|
calendar_event_id,
|
|
30197
|
-
time_zone,
|
|
30198
30207
|
hidden
|
|
30199
30208
|
})
|
|
30200
30209
|
}).json();
|
|
30201
30210
|
}
|
|
30202
|
-
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to,
|
|
30211
|
+
async function putTasksCalendarRange(httpClient, organization_id, workspace_id, date_from, date_to, signal) {
|
|
30203
30212
|
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/calendar`, {
|
|
30204
30213
|
signal,
|
|
30205
30214
|
searchParams: buildSearchParams$3({
|
|
30206
30215
|
date_from,
|
|
30207
|
-
date_to
|
|
30208
|
-
timezone
|
|
30216
|
+
date_to
|
|
30209
30217
|
})
|
|
30210
30218
|
}).json();
|
|
30211
30219
|
}
|
|
@@ -30229,7 +30237,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
30229
30237
|
})
|
|
30230
30238
|
}).json();
|
|
30231
30239
|
}
|
|
30232
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
30240
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_time_blocks, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, time_block_id, time_block_completed, team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_ghost_assignees, include_assignees, assignee_ghost_id, cf_filter } = {}, signal) {
|
|
30233
30241
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
30234
30242
|
signal,
|
|
30235
30243
|
searchParams: buildSearchParams$3({
|
|
@@ -30242,6 +30250,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
30242
30250
|
has_time_entries,
|
|
30243
30251
|
has_time_blocks,
|
|
30244
30252
|
has_dates,
|
|
30253
|
+
private: private_,
|
|
30245
30254
|
archived,
|
|
30246
30255
|
include_project_completed,
|
|
30247
30256
|
include_drafts,
|
|
@@ -30475,7 +30484,7 @@ async function createTimeEntryWithOrg(httpClient, organization_id, workspace_id,
|
|
|
30475
30484
|
json: data
|
|
30476
30485
|
}).json();
|
|
30477
30486
|
}
|
|
30478
|
-
async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless, expand_calendar_event
|
|
30487
|
+
async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, workspace_id, { date_from, date_to, task_id, status_id, type, page, per_page, order_by, archived, time_block_id, include_taskless, expand_calendar_event }, signal) {
|
|
30479
30488
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries`, {
|
|
30480
30489
|
signal,
|
|
30481
30490
|
searchParams: buildSearchParams$3({
|
|
@@ -30490,8 +30499,7 @@ async function getTimeEntriesRangeWithOrgClassic(httpClient, organization_id, wo
|
|
|
30490
30499
|
archived,
|
|
30491
30500
|
time_block_id,
|
|
30492
30501
|
include_taskless,
|
|
30493
|
-
expand_calendar_event
|
|
30494
|
-
time_zone
|
|
30502
|
+
expand_calendar_event
|
|
30495
30503
|
})
|
|
30496
30504
|
}).json();
|
|
30497
30505
|
}
|
|
@@ -30543,7 +30551,7 @@ async function bulkSetDayDurationWithOrg(httpClient, organization_id, workspace_
|
|
|
30543
30551
|
json: data
|
|
30544
30552
|
}).json();
|
|
30545
30553
|
}
|
|
30546
|
-
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
|
|
30554
|
+
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) {
|
|
30547
30555
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/stream`, {
|
|
30548
30556
|
signal,
|
|
30549
30557
|
searchParams: buildSearchParams$3({
|
|
@@ -30555,8 +30563,7 @@ async function getStreamTimeEntriesRangeWithOrg(httpClient, organization_id, wor
|
|
|
30555
30563
|
order_by,
|
|
30556
30564
|
archived,
|
|
30557
30565
|
include_taskless,
|
|
30558
|
-
expand_calendar_event
|
|
30559
|
-
time_zone
|
|
30566
|
+
expand_calendar_event
|
|
30560
30567
|
})
|
|
30561
30568
|
}).json();
|
|
30562
30569
|
}
|
|
@@ -30692,7 +30699,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30692
30699
|
]))
|
|
30693
30700
|
});
|
|
30694
30701
|
//#endregion
|
|
30695
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30702
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30696
30703
|
async function getInvitations(httpClient, signal) {
|
|
30697
30704
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30698
30705
|
}
|
|
@@ -30709,7 +30716,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30709
30716
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30710
30717
|
}
|
|
30711
30718
|
//#endregion
|
|
30712
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30719
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30713
30720
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30714
30721
|
const searchParams = new URLSearchParams();
|
|
30715
30722
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30721,7 +30728,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30721
30728
|
return searchParams;
|
|
30722
30729
|
}
|
|
30723
30730
|
//#endregion
|
|
30724
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30731
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30725
30732
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30726
30733
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30727
30734
|
}
|
|
@@ -30735,7 +30742,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30735
30742
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30736
30743
|
}
|
|
30737
30744
|
//#endregion
|
|
30738
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30745
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30739
30746
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30740
30747
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30741
30748
|
}
|
|
@@ -30764,7 +30771,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30764
30771
|
});
|
|
30765
30772
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30766
30773
|
//#endregion
|
|
30767
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30774
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30768
30775
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30769
30776
|
function withResponseMeta(data, headers, status) {
|
|
30770
30777
|
if (!data) return data;
|
|
@@ -30791,7 +30798,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30791
30798
|
return searchParams;
|
|
30792
30799
|
}
|
|
30793
30800
|
//#endregion
|
|
30794
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30801
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30795
30802
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
30796
30803
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30797
30804
|
signal,
|
|
@@ -30800,12 +30807,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
30800
30807
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30801
30808
|
}
|
|
30802
30809
|
//#endregion
|
|
30803
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30810
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30804
30811
|
async function getStatus(httpClient, signal) {
|
|
30805
30812
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30806
30813
|
}
|
|
30807
30814
|
//#endregion
|
|
30808
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30815
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30809
30816
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30810
30817
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30811
30818
|
signal,
|
|
@@ -30833,7 +30840,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30833
30840
|
return response.json();
|
|
30834
30841
|
}
|
|
30835
30842
|
//#endregion
|
|
30836
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.
|
|
30843
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@0.15.24_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ed9b6b8a86ac88aa35571489073a9959/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30837
30844
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30838
30845
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30839
30846
|
}
|
|
@@ -34484,6 +34491,18 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
34484
34491
|
async function getProjectMarginTargets(httpClient, organization_id, workspace_id, signal) {
|
|
34485
34492
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets`, { signal }).json();
|
|
34486
34493
|
}
|
|
34494
|
+
async function getWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
34495
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
34496
|
+
}
|
|
34497
|
+
async function setWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, data, signal) {
|
|
34498
|
+
return await httpClient.put(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, {
|
|
34499
|
+
signal,
|
|
34500
|
+
json: data
|
|
34501
|
+
}).json();
|
|
34502
|
+
}
|
|
34503
|
+
async function clearWorkspaceProjectMarginTarget(httpClient, organization_id, workspace_id, signal) {
|
|
34504
|
+
return await httpClient.delete(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/workspace`, { signal }).json();
|
|
34505
|
+
}
|
|
34487
34506
|
async function getProjectMarginTarget(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34488
34507
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/project-margin-targets/${project_id}`, { signal }).json();
|
|
34489
34508
|
}
|
|
@@ -34553,6 +34572,29 @@ async function createTaskRate(httpClient, organization_id, workspace_id, task_id
|
|
|
34553
34572
|
}).json();
|
|
34554
34573
|
}
|
|
34555
34574
|
//#endregion
|
|
34575
|
+
//#region ../focus-queries/dist/recurring-budget-suggestions/requests.ts
|
|
34576
|
+
async function getRecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, { target_period_start }, signal) {
|
|
34577
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}`, {
|
|
34578
|
+
signal,
|
|
34579
|
+
searchParams: buildSearchParams$3({ target_period_start })
|
|
34580
|
+
}).json();
|
|
34581
|
+
}
|
|
34582
|
+
async function acceptARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34583
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/accept`, { signal }).json();
|
|
34584
|
+
}
|
|
34585
|
+
async function dismissARecurringProjectBudgetSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34586
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/recurring-budget-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
34587
|
+
}
|
|
34588
|
+
async function getTemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34589
|
+
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}`, { signal }).json();
|
|
34590
|
+
}
|
|
34591
|
+
async function acceptATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34592
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/accept`, { signal }).json();
|
|
34593
|
+
}
|
|
34594
|
+
async function dismissATemplateEstimateSuggestion(httpClient, organization_id, workspace_id, project_id, signal) {
|
|
34595
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/template-estimate-suggestions/${project_id}/dismiss`, { signal }).json();
|
|
34596
|
+
}
|
|
34597
|
+
//#endregion
|
|
34556
34598
|
//#region ../focus-queries/dist/reports/requests.ts
|
|
34557
34599
|
async function getProfitabilityReport(httpClient, workspace_id, data, response_format, include_dicts, signal) {
|
|
34558
34600
|
return await httpClient.post(`reports/workspaces/${workspace_id}/profitability`, {
|
|
@@ -34640,6 +34682,9 @@ async function getCurrentSubscription(httpClient, organization_id, signal) {
|
|
|
34640
34682
|
async function getFeaturesUpsell(httpClient, organization_id, signal) {
|
|
34641
34683
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/features-upsell`, { signal }).json();
|
|
34642
34684
|
}
|
|
34685
|
+
async function getSubscriptionPlans(httpClient, organization_id, signal) {
|
|
34686
|
+
return await httpClient.get(`organizations/${organization_id}/subscriptions/plans`, { signal }).json();
|
|
34687
|
+
}
|
|
34643
34688
|
async function getCurrentTrial(httpClient, organization_id, signal) {
|
|
34644
34689
|
return await httpClient.get(`organizations/${organization_id}/subscriptions/trials/current`, { signal }).json();
|
|
34645
34690
|
}
|
|
@@ -35495,6 +35540,7 @@ const generatedFocusOperations = [
|
|
|
35495
35540
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
35496
35541
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35497
35542
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
35543
|
+
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
35498
35544
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35499
35545
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35500
35546
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -35522,6 +35568,7 @@ const generatedFocusOperations = [
|
|
|
35522
35568
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
35523
35569
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
35524
35570
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
35571
|
+
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
35525
35572
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35526
35573
|
integration_ext_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
35527
35574
|
integration_source: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
@@ -36437,6 +36484,7 @@ const generatedFocusOperations = [
|
|
|
36437
36484
|
},
|
|
36438
36485
|
mcp: { entityTool: "organization" },
|
|
36439
36486
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
36487
|
+
active_members_only: /* @__PURE__ */ unknown$1(),
|
|
36440
36488
|
filter: /* @__PURE__ */ unknown$1(),
|
|
36441
36489
|
group_ids: /* @__PURE__ */ unknown$1(),
|
|
36442
36490
|
organization_user_id: /* @__PURE__ */ number$2(),
|
|
@@ -37467,6 +37515,29 @@ const generatedFocusOperations = [
|
|
|
37467
37515
|
]));
|
|
37468
37516
|
}
|
|
37469
37517
|
},
|
|
37518
|
+
{
|
|
37519
|
+
id: "focus.projects.margin-targets-clear-workspace",
|
|
37520
|
+
family: "focus",
|
|
37521
|
+
resource: "projects",
|
|
37522
|
+
action: "margin-targets-clear-workspace",
|
|
37523
|
+
title: "Margin Targets Clear Workspace Projects",
|
|
37524
|
+
description: "Margin Targets Clear Workspace Projects.",
|
|
37525
|
+
safety: "delete",
|
|
37526
|
+
destructive: true,
|
|
37527
|
+
cli: {
|
|
37528
|
+
group: ["projects", "margin-targets"],
|
|
37529
|
+
command: "clear-workspace",
|
|
37530
|
+
interactive: "default"
|
|
37531
|
+
},
|
|
37532
|
+
mcp: { entityTool: "projects" },
|
|
37533
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
37534
|
+
execute: (_input, { client }) => client.runGeneratedRequest("clearWorkspaceProjectMarginTarget", () => callGeneratedRequest(clearWorkspaceProjectMarginTarget, [
|
|
37535
|
+
client.httpClient,
|
|
37536
|
+
client.organizationId,
|
|
37537
|
+
client.workspaceIdNumber,
|
|
37538
|
+
void 0
|
|
37539
|
+
]))
|
|
37540
|
+
},
|
|
37470
37541
|
{
|
|
37471
37542
|
id: "focus.projects.margin-targets-get",
|
|
37472
37543
|
family: "focus",
|
|
@@ -37494,6 +37565,29 @@ const generatedFocusOperations = [
|
|
|
37494
37565
|
]));
|
|
37495
37566
|
}
|
|
37496
37567
|
},
|
|
37568
|
+
{
|
|
37569
|
+
id: "focus.projects.margin-targets-get-workspace",
|
|
37570
|
+
family: "focus",
|
|
37571
|
+
resource: "projects",
|
|
37572
|
+
action: "margin-targets-get-workspace",
|
|
37573
|
+
title: "Margin Targets Get Workspace Projects",
|
|
37574
|
+
description: "Margin Targets Get Workspace Projects.",
|
|
37575
|
+
safety: "read",
|
|
37576
|
+
destructive: false,
|
|
37577
|
+
cli: {
|
|
37578
|
+
group: ["projects", "margin-targets"],
|
|
37579
|
+
command: "get-workspace",
|
|
37580
|
+
interactive: "hidden"
|
|
37581
|
+
},
|
|
37582
|
+
mcp: { entityTool: "projects" },
|
|
37583
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
37584
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaceProjectMarginTarget", () => callGeneratedRequest(getWorkspaceProjectMarginTarget, [
|
|
37585
|
+
client.httpClient,
|
|
37586
|
+
client.organizationId,
|
|
37587
|
+
client.workspaceIdNumber,
|
|
37588
|
+
void 0
|
|
37589
|
+
]))
|
|
37590
|
+
},
|
|
37497
37591
|
{
|
|
37498
37592
|
id: "focus.projects.margin-targets-list",
|
|
37499
37593
|
family: "focus",
|
|
@@ -37548,6 +37642,33 @@ const generatedFocusOperations = [
|
|
|
37548
37642
|
]));
|
|
37549
37643
|
}
|
|
37550
37644
|
},
|
|
37645
|
+
{
|
|
37646
|
+
id: "focus.projects.margin-targets-set-workspace",
|
|
37647
|
+
family: "focus",
|
|
37648
|
+
resource: "projects",
|
|
37649
|
+
action: "margin-targets-set-workspace",
|
|
37650
|
+
title: "Margin Targets Set Workspace Projects",
|
|
37651
|
+
description: "Margin Targets Set Workspace Projects.",
|
|
37652
|
+
safety: "read",
|
|
37653
|
+
destructive: false,
|
|
37654
|
+
cli: {
|
|
37655
|
+
group: ["projects", "margin-targets"],
|
|
37656
|
+
command: "set-workspace",
|
|
37657
|
+
interactive: "available"
|
|
37658
|
+
},
|
|
37659
|
+
mcp: { entityTool: "projects" },
|
|
37660
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({ target_percent: /* @__PURE__ */ number$2() }) }),
|
|
37661
|
+
execute: (input, { client }) => {
|
|
37662
|
+
const data = input;
|
|
37663
|
+
return client.runGeneratedRequest("setWorkspaceProjectMarginTarget", () => callGeneratedRequest(setWorkspaceProjectMarginTarget, [
|
|
37664
|
+
client.httpClient,
|
|
37665
|
+
client.organizationId,
|
|
37666
|
+
client.workspaceIdNumber,
|
|
37667
|
+
data.payload ?? data.data ?? data,
|
|
37668
|
+
void 0
|
|
37669
|
+
]));
|
|
37670
|
+
}
|
|
37671
|
+
},
|
|
37551
37672
|
{
|
|
37552
37673
|
id: "focus.projects.pin",
|
|
37553
37674
|
family: "focus",
|
|
@@ -39335,6 +39456,172 @@ const generatedFocusOperations = [
|
|
|
39335
39456
|
]));
|
|
39336
39457
|
}
|
|
39337
39458
|
},
|
|
39459
|
+
{
|
|
39460
|
+
id: "focus.recurring-budget-suggestions.accept-arecurring-project-budget-suggestion",
|
|
39461
|
+
family: "focus",
|
|
39462
|
+
resource: "recurring-budget-suggestions",
|
|
39463
|
+
action: "accept-arecurring-project-budget-suggestion",
|
|
39464
|
+
title: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39465
|
+
description: "Accept Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39466
|
+
safety: "read",
|
|
39467
|
+
destructive: false,
|
|
39468
|
+
cli: {
|
|
39469
|
+
group: ["recurring-budget-suggestions"],
|
|
39470
|
+
command: "accept-arecurring-project-budget-suggestion",
|
|
39471
|
+
interactive: "available"
|
|
39472
|
+
},
|
|
39473
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39474
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39475
|
+
execute: (input, { client }) => {
|
|
39476
|
+
const data = input;
|
|
39477
|
+
return client.runGeneratedRequest("acceptARecurringProjectBudgetSuggestion", () => callGeneratedRequest(acceptARecurringProjectBudgetSuggestion, [
|
|
39478
|
+
client.httpClient,
|
|
39479
|
+
client.organizationId,
|
|
39480
|
+
client.workspaceIdNumber,
|
|
39481
|
+
data.project_id,
|
|
39482
|
+
void 0
|
|
39483
|
+
]));
|
|
39484
|
+
}
|
|
39485
|
+
},
|
|
39486
|
+
{
|
|
39487
|
+
id: "focus.recurring-budget-suggestions.accept-atemplate-estimate-suggestion",
|
|
39488
|
+
family: "focus",
|
|
39489
|
+
resource: "recurring-budget-suggestions",
|
|
39490
|
+
action: "accept-atemplate-estimate-suggestion",
|
|
39491
|
+
title: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
39492
|
+
description: "Accept Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
39493
|
+
safety: "read",
|
|
39494
|
+
destructive: false,
|
|
39495
|
+
cli: {
|
|
39496
|
+
group: ["recurring-budget-suggestions"],
|
|
39497
|
+
command: "accept-atemplate-estimate-suggestion",
|
|
39498
|
+
interactive: "available"
|
|
39499
|
+
},
|
|
39500
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39501
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39502
|
+
execute: (input, { client }) => {
|
|
39503
|
+
const data = input;
|
|
39504
|
+
return client.runGeneratedRequest("acceptATemplateEstimateSuggestion", () => callGeneratedRequest(acceptATemplateEstimateSuggestion, [
|
|
39505
|
+
client.httpClient,
|
|
39506
|
+
client.organizationId,
|
|
39507
|
+
client.workspaceIdNumber,
|
|
39508
|
+
data.project_id,
|
|
39509
|
+
void 0
|
|
39510
|
+
]));
|
|
39511
|
+
}
|
|
39512
|
+
},
|
|
39513
|
+
{
|
|
39514
|
+
id: "focus.recurring-budget-suggestions.dismiss-arecurring-project-budget-suggestion",
|
|
39515
|
+
family: "focus",
|
|
39516
|
+
resource: "recurring-budget-suggestions",
|
|
39517
|
+
action: "dismiss-arecurring-project-budget-suggestion",
|
|
39518
|
+
title: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39519
|
+
description: "Dismiss Arecurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39520
|
+
safety: "read",
|
|
39521
|
+
destructive: false,
|
|
39522
|
+
cli: {
|
|
39523
|
+
group: ["recurring-budget-suggestions"],
|
|
39524
|
+
command: "dismiss-arecurring-project-budget-suggestion",
|
|
39525
|
+
interactive: "available"
|
|
39526
|
+
},
|
|
39527
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39528
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39529
|
+
execute: (input, { client }) => {
|
|
39530
|
+
const data = input;
|
|
39531
|
+
return client.runGeneratedRequest("dismissARecurringProjectBudgetSuggestion", () => callGeneratedRequest(dismissARecurringProjectBudgetSuggestion, [
|
|
39532
|
+
client.httpClient,
|
|
39533
|
+
client.organizationId,
|
|
39534
|
+
client.workspaceIdNumber,
|
|
39535
|
+
data.project_id,
|
|
39536
|
+
void 0
|
|
39537
|
+
]));
|
|
39538
|
+
}
|
|
39539
|
+
},
|
|
39540
|
+
{
|
|
39541
|
+
id: "focus.recurring-budget-suggestions.dismiss-atemplate-estimate-suggestion",
|
|
39542
|
+
family: "focus",
|
|
39543
|
+
resource: "recurring-budget-suggestions",
|
|
39544
|
+
action: "dismiss-atemplate-estimate-suggestion",
|
|
39545
|
+
title: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions",
|
|
39546
|
+
description: "Dismiss Atemplate Estimate Suggestion Recurring Budget Suggestions.",
|
|
39547
|
+
safety: "read",
|
|
39548
|
+
destructive: false,
|
|
39549
|
+
cli: {
|
|
39550
|
+
group: ["recurring-budget-suggestions"],
|
|
39551
|
+
command: "dismiss-atemplate-estimate-suggestion",
|
|
39552
|
+
interactive: "available"
|
|
39553
|
+
},
|
|
39554
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39555
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39556
|
+
execute: (input, { client }) => {
|
|
39557
|
+
const data = input;
|
|
39558
|
+
return client.runGeneratedRequest("dismissATemplateEstimateSuggestion", () => callGeneratedRequest(dismissATemplateEstimateSuggestion, [
|
|
39559
|
+
client.httpClient,
|
|
39560
|
+
client.organizationId,
|
|
39561
|
+
client.workspaceIdNumber,
|
|
39562
|
+
data.project_id,
|
|
39563
|
+
void 0
|
|
39564
|
+
]));
|
|
39565
|
+
}
|
|
39566
|
+
},
|
|
39567
|
+
{
|
|
39568
|
+
id: "focus.recurring-budget-suggestions.get-recurring-project-budget-suggestion",
|
|
39569
|
+
family: "focus",
|
|
39570
|
+
resource: "recurring-budget-suggestions",
|
|
39571
|
+
action: "get-recurring-project-budget-suggestion",
|
|
39572
|
+
title: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions",
|
|
39573
|
+
description: "Get Recurring Project Budget Suggestion Recurring Budget Suggestions.",
|
|
39574
|
+
safety: "read",
|
|
39575
|
+
destructive: false,
|
|
39576
|
+
cli: {
|
|
39577
|
+
group: ["recurring-budget-suggestions"],
|
|
39578
|
+
command: "get-recurring-project-budget-suggestion",
|
|
39579
|
+
interactive: "hidden"
|
|
39580
|
+
},
|
|
39581
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39582
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
39583
|
+
project_id: /* @__PURE__ */ number$2(),
|
|
39584
|
+
target_period_start: /* @__PURE__ */ unknown$1()
|
|
39585
|
+
}),
|
|
39586
|
+
execute: (input, { client }) => {
|
|
39587
|
+
const data = input;
|
|
39588
|
+
return client.runGeneratedRequest("getRecurringProjectBudgetSuggestion", () => callGeneratedRequest(getRecurringProjectBudgetSuggestion, [
|
|
39589
|
+
client.httpClient,
|
|
39590
|
+
client.organizationId,
|
|
39591
|
+
client.workspaceIdNumber,
|
|
39592
|
+
data.project_id,
|
|
39593
|
+
data,
|
|
39594
|
+
void 0
|
|
39595
|
+
]));
|
|
39596
|
+
}
|
|
39597
|
+
},
|
|
39598
|
+
{
|
|
39599
|
+
id: "focus.recurring-budget-suggestions.get-template-estimate-suggestion",
|
|
39600
|
+
family: "focus",
|
|
39601
|
+
resource: "recurring-budget-suggestions",
|
|
39602
|
+
action: "get-template-estimate-suggestion",
|
|
39603
|
+
title: "Get Template Estimate Suggestion Recurring Budget Suggestions",
|
|
39604
|
+
description: "Get Template Estimate Suggestion Recurring Budget Suggestions.",
|
|
39605
|
+
safety: "read",
|
|
39606
|
+
destructive: false,
|
|
39607
|
+
cli: {
|
|
39608
|
+
group: ["recurring-budget-suggestions"],
|
|
39609
|
+
command: "get-template-estimate-suggestion",
|
|
39610
|
+
interactive: "available"
|
|
39611
|
+
},
|
|
39612
|
+
mcp: { entityTool: "recurring-budget-suggestions" },
|
|
39613
|
+
inputSchema: /* @__PURE__ */ looseObject({ project_id: /* @__PURE__ */ number$2() }),
|
|
39614
|
+
execute: (input, { client }) => {
|
|
39615
|
+
const data = input;
|
|
39616
|
+
return client.runGeneratedRequest("getTemplateEstimateSuggestion", () => callGeneratedRequest(getTemplateEstimateSuggestion, [
|
|
39617
|
+
client.httpClient,
|
|
39618
|
+
client.organizationId,
|
|
39619
|
+
client.workspaceIdNumber,
|
|
39620
|
+
data.project_id,
|
|
39621
|
+
void 0
|
|
39622
|
+
]));
|
|
39623
|
+
}
|
|
39624
|
+
},
|
|
39338
39625
|
{
|
|
39339
39626
|
id: "focus.reports.get-flexq-data",
|
|
39340
39627
|
family: "focus",
|
|
@@ -39993,6 +40280,28 @@ const generatedFocusOperations = [
|
|
|
39993
40280
|
void 0
|
|
39994
40281
|
]))
|
|
39995
40282
|
},
|
|
40283
|
+
{
|
|
40284
|
+
id: "focus.subscriptions.get-plans",
|
|
40285
|
+
family: "focus",
|
|
40286
|
+
resource: "subscriptions",
|
|
40287
|
+
action: "get-plans",
|
|
40288
|
+
title: "Get Plans Subscriptions",
|
|
40289
|
+
description: "Get Plans Subscriptions.",
|
|
40290
|
+
safety: "read",
|
|
40291
|
+
destructive: false,
|
|
40292
|
+
cli: {
|
|
40293
|
+
group: ["subscriptions"],
|
|
40294
|
+
command: "get-plans",
|
|
40295
|
+
interactive: "hidden"
|
|
40296
|
+
},
|
|
40297
|
+
mcp: { entityTool: "subscriptions" },
|
|
40298
|
+
inputSchema: /* @__PURE__ */ looseObject({}),
|
|
40299
|
+
execute: (_input, { client }) => client.runGeneratedRequest("getSubscriptionPlans", () => callGeneratedRequest(getSubscriptionPlans, [
|
|
40300
|
+
client.httpClient,
|
|
40301
|
+
client.organizationId,
|
|
40302
|
+
void 0
|
|
40303
|
+
]))
|
|
40304
|
+
},
|
|
39996
40305
|
{
|
|
39997
40306
|
id: "focus.subscriptions.upsert-forced-trial",
|
|
39998
40307
|
family: "focus",
|
|
@@ -40657,8 +40966,7 @@ const generatedFocusOperations = [
|
|
|
40657
40966
|
calendar_event_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
40658
40967
|
date_from: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40659
40968
|
date_to: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40660
|
-
hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
40661
|
-
time_zone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
40969
|
+
hidden: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
40662
40970
|
}),
|
|
40663
40971
|
execute: (input, { client }) => {
|
|
40664
40972
|
const data = input;
|
|
@@ -40754,6 +41062,7 @@ const generatedFocusOperations = [
|
|
|
40754
41062
|
parent_task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
40755
41063
|
pinned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40756
41064
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41065
|
+
private_: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40757
41066
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
40758
41067
|
recurring: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
40759
41068
|
recurring_task_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -41129,6 +41438,7 @@ const generatedFocusOperations = [
|
|
|
41129
41438
|
custom_fields: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
41130
41439
|
description: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
41131
41440
|
end_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
41441
|
+
estimate_type: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["daily", "total"])),
|
|
41132
41442
|
estimated_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
41133
41443
|
notes: /* @__PURE__ */ optional$1(/* @__PURE__ */ string$1()),
|
|
41134
41444
|
outbound_sync: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -41176,8 +41486,7 @@ const generatedFocusOperations = [
|
|
|
41176
41486
|
mcp: { entityTool: "tasks" },
|
|
41177
41487
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
41178
41488
|
date_from: /* @__PURE__ */ unknown$1(),
|
|
41179
|
-
date_to: /* @__PURE__ */ unknown$1()
|
|
41180
|
-
timezone: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
41489
|
+
date_to: /* @__PURE__ */ unknown$1()
|
|
41181
41490
|
}),
|
|
41182
41491
|
execute: (input, { client }) => {
|
|
41183
41492
|
const data = input;
|
|
@@ -41187,7 +41496,6 @@ const generatedFocusOperations = [
|
|
|
41187
41496
|
client.workspaceIdNumber,
|
|
41188
41497
|
data.date_from,
|
|
41189
41498
|
data.date_to,
|
|
41190
|
-
data.timezone,
|
|
41191
41499
|
void 0
|
|
41192
41500
|
]));
|
|
41193
41501
|
}
|
|
@@ -41946,7 +42254,6 @@ const generatedFocusOperations = [
|
|
|
41946
42254
|
order_by: /* @__PURE__ */ unknown$1(),
|
|
41947
42255
|
status_id: /* @__PURE__ */ number$2(),
|
|
41948
42256
|
task_id: /* @__PURE__ */ number$2(),
|
|
41949
|
-
time_zone: /* @__PURE__ */ unknown$1(),
|
|
41950
42257
|
type: /* @__PURE__ */ unknown$1()
|
|
41951
42258
|
}),
|
|
41952
42259
|
execute: (input, { client }) => {
|
|
@@ -45325,7 +45632,7 @@ import_main.default.config({
|
|
|
45325
45632
|
quiet: true,
|
|
45326
45633
|
ignore: ["MISSING_ENV_FILE"]
|
|
45327
45634
|
});
|
|
45328
|
-
const packageVersion = "1.5.
|
|
45635
|
+
const packageVersion = "1.5.31";
|
|
45329
45636
|
function resolvePublicUrls() {
|
|
45330
45637
|
return {
|
|
45331
45638
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45390,4 +45697,4 @@ function bootstrapServer(options = {}) {
|
|
|
45390
45697
|
//#endregion
|
|
45391
45698
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45392
45699
|
|
|
45393
|
-
//# sourceMappingURL=src-
|
|
45700
|
+
//# sourceMappingURL=src-rv4SDBdD.js.map
|