@togglhq/mcp 1.5.73 → 1.5.75
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-D7Ze3NNZ.js → src-M9QMiSk3.js} +11 -11
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -30737,7 +30737,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30737
30737
|
]))
|
|
30738
30738
|
});
|
|
30739
30739
|
//#endregion
|
|
30740
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30740
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30741
30741
|
async function getInvitations(httpClient, signal) {
|
|
30742
30742
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30743
30743
|
}
|
|
@@ -30754,7 +30754,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30754
30754
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30755
30755
|
}
|
|
30756
30756
|
//#endregion
|
|
30757
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30757
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30758
30758
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30759
30759
|
const searchParams = new URLSearchParams();
|
|
30760
30760
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30766,7 +30766,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30766
30766
|
return searchParams;
|
|
30767
30767
|
}
|
|
30768
30768
|
//#endregion
|
|
30769
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30769
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30770
30770
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30771
30771
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30772
30772
|
}
|
|
@@ -30780,7 +30780,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30780
30780
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30781
30781
|
}
|
|
30782
30782
|
//#endregion
|
|
30783
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30783
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30784
30784
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30785
30785
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30786
30786
|
}
|
|
@@ -30809,7 +30809,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30809
30809
|
});
|
|
30810
30810
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30811
30811
|
//#endregion
|
|
30812
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30812
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30813
30813
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30814
30814
|
function withResponseMeta(data, headers, status) {
|
|
30815
30815
|
if (!data) return data;
|
|
@@ -30836,7 +30836,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30836
30836
|
return searchParams;
|
|
30837
30837
|
}
|
|
30838
30838
|
//#endregion
|
|
30839
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30839
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30840
30840
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
30841
30841
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30842
30842
|
signal,
|
|
@@ -30845,12 +30845,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
30845
30845
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30846
30846
|
}
|
|
30847
30847
|
//#endregion
|
|
30848
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30848
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30849
30849
|
async function getStatus(httpClient, signal) {
|
|
30850
30850
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30851
30851
|
}
|
|
30852
30852
|
//#endregion
|
|
30853
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30853
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30854
30854
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30855
30855
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30856
30856
|
signal,
|
|
@@ -30878,7 +30878,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30878
30878
|
return response.json();
|
|
30879
30879
|
}
|
|
30880
30880
|
//#endregion
|
|
30881
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
30881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.9_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_73596622a2e5cf08ee2d565001106002/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30882
30882
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30883
30883
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30884
30884
|
}
|
|
@@ -45014,7 +45014,7 @@ import_main.default.config({
|
|
|
45014
45014
|
quiet: true,
|
|
45015
45015
|
ignore: ["MISSING_ENV_FILE"]
|
|
45016
45016
|
});
|
|
45017
|
-
const packageVersion = "1.5.
|
|
45017
|
+
const packageVersion = "1.5.75";
|
|
45018
45018
|
function resolvePublicUrls() {
|
|
45019
45019
|
return {
|
|
45020
45020
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45079,4 +45079,4 @@ function bootstrapServer(options = {}) {
|
|
|
45079
45079
|
//#endregion
|
|
45080
45080
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45081
45081
|
|
|
45082
|
-
//# sourceMappingURL=src-
|
|
45082
|
+
//# sourceMappingURL=src-M9QMiSk3.js.map
|