@togglhq/mcp 1.5.74 → 1.5.76
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-igtQ2W8_.js → src-L_3aD-8p.js} +19 -15
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -30700,7 +30700,8 @@ const WorkspaceAssignmentRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30700
30700
|
const InvitationsRequestSchema = /* @__PURE__ */ object$2({
|
|
30701
30701
|
initiating_product: /* @__PURE__ */ string$1(),
|
|
30702
30702
|
invitations: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
|
|
30703
|
-
|
|
30703
|
+
accounts_role_id: /* @__PURE__ */ number$2(),
|
|
30704
|
+
admin: /* @__PURE__ */ pipe$2(/* @__PURE__ */ boolean$1(), /* @__PURE__ */ description$1("A pointer so an omitted flag does not read as admin=false.")),
|
|
30704
30705
|
email: /* @__PURE__ */ string$1(),
|
|
30705
30706
|
groups: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({ group_id: /* @__PURE__ */ number$2() })),
|
|
30706
30707
|
workspaces: /* @__PURE__ */ array$1(/* @__PURE__ */ object$2({
|
|
@@ -30713,8 +30714,8 @@ const InvitationsRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30713
30714
|
skip_email: /* @__PURE__ */ boolean$1()
|
|
30714
30715
|
});
|
|
30715
30716
|
const PutOrganizationUserRequestSchema = /* @__PURE__ */ object$2({
|
|
30717
|
+
accounts_role_id: /* @__PURE__ */ number$2(),
|
|
30716
30718
|
active: /* @__PURE__ */ boolean$1(),
|
|
30717
|
-
admin: /* @__PURE__ */ boolean$1(),
|
|
30718
30719
|
groups: /* @__PURE__ */ array$1(GroupAssignmentRequestSchema),
|
|
30719
30720
|
name: /* @__PURE__ */ string$1(),
|
|
30720
30721
|
tags: /* @__PURE__ */ array$1(TagAssignmentRequestSchema),
|
|
@@ -30737,7 +30738,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30737
30738
|
]))
|
|
30738
30739
|
});
|
|
30739
30740
|
//#endregion
|
|
30740
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30741
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30741
30742
|
async function getInvitations(httpClient, signal) {
|
|
30742
30743
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30743
30744
|
}
|
|
@@ -30754,7 +30755,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30754
30755
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30755
30756
|
}
|
|
30756
30757
|
//#endregion
|
|
30757
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30758
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30758
30759
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30759
30760
|
const searchParams = new URLSearchParams();
|
|
30760
30761
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30766,7 +30767,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30766
30767
|
return searchParams;
|
|
30767
30768
|
}
|
|
30768
30769
|
//#endregion
|
|
30769
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30770
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30770
30771
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30771
30772
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30772
30773
|
}
|
|
@@ -30780,7 +30781,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30780
30781
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30781
30782
|
}
|
|
30782
30783
|
//#endregion
|
|
30783
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30784
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30784
30785
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30785
30786
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30786
30787
|
}
|
|
@@ -30809,7 +30810,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30809
30810
|
});
|
|
30810
30811
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30811
30812
|
//#endregion
|
|
30812
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30813
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30813
30814
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30814
30815
|
function withResponseMeta(data, headers, status) {
|
|
30815
30816
|
if (!data) return data;
|
|
@@ -30836,21 +30837,24 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30836
30837
|
return searchParams;
|
|
30837
30838
|
}
|
|
30838
30839
|
//#endregion
|
|
30839
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30840
|
-
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
30840
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30841
|
+
async function getPublicHolidays(httpClient, year, { country, organization_id } = {}, signal) {
|
|
30841
30842
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30842
30843
|
signal,
|
|
30843
|
-
searchParams: buildSearchParams({
|
|
30844
|
+
searchParams: buildSearchParams({
|
|
30845
|
+
country,
|
|
30846
|
+
organization_id
|
|
30847
|
+
})
|
|
30844
30848
|
});
|
|
30845
30849
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30846
30850
|
}
|
|
30847
30851
|
//#endregion
|
|
30848
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30852
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30849
30853
|
async function getStatus(httpClient, signal) {
|
|
30850
30854
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30851
30855
|
}
|
|
30852
30856
|
//#endregion
|
|
30853
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30857
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30854
30858
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30855
30859
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30856
30860
|
signal,
|
|
@@ -30878,7 +30882,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30878
30882
|
return response.json();
|
|
30879
30883
|
}
|
|
30880
30884
|
//#endregion
|
|
30881
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30885
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.69_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_reac_6aa573ea023c4ca30a2fd33648f077ba/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30882
30886
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30883
30887
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30884
30888
|
}
|
|
@@ -45014,7 +45018,7 @@ import_main.default.config({
|
|
|
45014
45018
|
quiet: true,
|
|
45015
45019
|
ignore: ["MISSING_ENV_FILE"]
|
|
45016
45020
|
});
|
|
45017
|
-
const packageVersion = "1.5.
|
|
45021
|
+
const packageVersion = "1.5.76";
|
|
45018
45022
|
function resolvePublicUrls() {
|
|
45019
45023
|
return {
|
|
45020
45024
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45079,4 +45083,4 @@ function bootstrapServer(options = {}) {
|
|
|
45079
45083
|
//#endregion
|
|
45080
45084
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45081
45085
|
|
|
45082
|
-
//# sourceMappingURL=src-
|
|
45086
|
+
//# sourceMappingURL=src-L_3aD-8p.js.map
|