@togglhq/mcp 1.5.33 → 1.5.35
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-drNRwZie.js → src-DShukv3n.js} +22 -22
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -28983,9 +28983,19 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
28983
28983
|
private: /* @__PURE__ */ boolean(),
|
|
28984
28984
|
source: /* @__PURE__ */ string(),
|
|
28985
28985
|
status_id: /* @__PURE__ */ number(),
|
|
28986
|
+
sub_task_done_count: /* @__PURE__ */ number(),
|
|
28987
|
+
sub_task_total_count: /* @__PURE__ */ number(),
|
|
28986
28988
|
tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
28987
28989
|
tags: /* @__PURE__ */ array(TagLiteSchema),
|
|
28990
|
+
time_block_completed_count: /* @__PURE__ */ number(),
|
|
28991
|
+
time_block_scheduled_completed_count: /* @__PURE__ */ number(),
|
|
28992
|
+
time_block_scheduled_total_count: /* @__PURE__ */ number(),
|
|
28993
|
+
time_block_total_count: /* @__PURE__ */ number(),
|
|
28994
|
+
time_entry_total_count: /* @__PURE__ */ number(),
|
|
28988
28995
|
toggl_user_id: /* @__PURE__ */ number(),
|
|
28996
|
+
total_blocked_time: /* @__PURE__ */ number(),
|
|
28997
|
+
total_scheduled_blocked_time: /* @__PURE__ */ number(),
|
|
28998
|
+
total_tracked_time: /* @__PURE__ */ number(),
|
|
28989
28999
|
workspace_id: /* @__PURE__ */ number(),
|
|
28990
29000
|
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
28991
29001
|
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
@@ -29015,16 +29025,6 @@ const TaskWithParentAndAggregationsSchema = /* @__PURE__ */ object({
|
|
|
29015
29025
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
29016
29026
|
status: /* @__PURE__ */ optional(StatusLiteSchema),
|
|
29017
29027
|
status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29018
|
-
sub_task_done_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29019
|
-
sub_task_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29020
|
-
time_block_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29021
|
-
time_block_scheduled_completed_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29022
|
-
time_block_scheduled_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29023
|
-
time_block_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("TODO: Set as `required` after FE adjusts things on their end"))),
|
|
29024
|
-
time_entry_total_count: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29025
|
-
total_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29026
|
-
total_scheduled_blocked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29027
|
-
total_tracked_time: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29028
29028
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
29029
29029
|
});
|
|
29030
29030
|
const PaginatedTasksWithMetaAndTotalSchema = /* @__PURE__ */ object({
|
|
@@ -29308,6 +29308,7 @@ const PaginatedStatussSchema = /* @__PURE__ */ object({
|
|
|
29308
29308
|
const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
29309
29309
|
data: /* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
29310
29310
|
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29311
|
+
has_time_entry: /* @__PURE__ */ boolean(),
|
|
29311
29312
|
id: /* @__PURE__ */ number(),
|
|
29312
29313
|
start: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
29313
29314
|
task_id: /* @__PURE__ */ number(),
|
|
@@ -29319,7 +29320,6 @@ const PaginatedTimeBlockAggregateWithTasksSchema = /* @__PURE__ */ object({
|
|
|
29319
29320
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
29320
29321
|
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
29321
29322
|
duration: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
29322
|
-
has_time_entry: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
29323
29323
|
task: /* @__PURE__ */ optional(TaskSchema),
|
|
29324
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."))),
|
|
29325
29325
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
@@ -30699,7 +30699,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30699
30699
|
]))
|
|
30700
30700
|
});
|
|
30701
30701
|
//#endregion
|
|
30702
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30702
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30703
30703
|
async function getInvitations(httpClient, signal) {
|
|
30704
30704
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30705
30705
|
}
|
|
@@ -30716,7 +30716,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30716
30716
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30717
30717
|
}
|
|
30718
30718
|
//#endregion
|
|
30719
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30719
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30720
30720
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30721
30721
|
const searchParams = new URLSearchParams();
|
|
30722
30722
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30728,7 +30728,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30728
30728
|
return searchParams;
|
|
30729
30729
|
}
|
|
30730
30730
|
//#endregion
|
|
30731
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30731
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30732
30732
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30733
30733
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30734
30734
|
}
|
|
@@ -30742,7 +30742,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30742
30742
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30743
30743
|
}
|
|
30744
30744
|
//#endregion
|
|
30745
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30745
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30746
30746
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30747
30747
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30748
30748
|
}
|
|
@@ -30771,7 +30771,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30771
30771
|
});
|
|
30772
30772
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30773
30773
|
//#endregion
|
|
30774
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30774
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30775
30775
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30776
30776
|
function withResponseMeta(data, headers, status) {
|
|
30777
30777
|
if (!data) return data;
|
|
@@ -30798,7 +30798,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30798
30798
|
return searchParams;
|
|
30799
30799
|
}
|
|
30800
30800
|
//#endregion
|
|
30801
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30801
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30802
30802
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
30803
30803
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30804
30804
|
signal,
|
|
@@ -30807,12 +30807,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
30807
30807
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30808
30808
|
}
|
|
30809
30809
|
//#endregion
|
|
30810
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30810
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30811
30811
|
async function getStatus(httpClient, signal) {
|
|
30812
30812
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30813
30813
|
}
|
|
30814
30814
|
//#endregion
|
|
30815
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30815
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30816
30816
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30817
30817
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30818
30818
|
signal,
|
|
@@ -30840,7 +30840,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30840
30840
|
return response.json();
|
|
30841
30841
|
}
|
|
30842
30842
|
//#endregion
|
|
30843
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
30843
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30844
30844
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30845
30845
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30846
30846
|
}
|
|
@@ -45631,7 +45631,7 @@ import_main.default.config({
|
|
|
45631
45631
|
quiet: true,
|
|
45632
45632
|
ignore: ["MISSING_ENV_FILE"]
|
|
45633
45633
|
});
|
|
45634
|
-
const packageVersion = "1.5.
|
|
45634
|
+
const packageVersion = "1.5.35";
|
|
45635
45635
|
function resolvePublicUrls() {
|
|
45636
45636
|
return {
|
|
45637
45637
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45696,4 +45696,4 @@ function bootstrapServer(options = {}) {
|
|
|
45696
45696
|
//#endregion
|
|
45697
45697
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45698
45698
|
|
|
45699
|
-
//# sourceMappingURL=src-
|
|
45699
|
+
//# sourceMappingURL=src-DShukv3n.js.map
|