@togglhq/mcp 1.6.14 → 1.6.15
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-qnzTs1Xd.js → src-C4C4XBSw.js} +11 -11
- package/package.json +1 -1
package/build/cli.js
CHANGED
package/build/index.js
CHANGED
|
@@ -30767,7 +30767,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
30767
30767
|
]))
|
|
30768
30768
|
});
|
|
30769
30769
|
//#endregion
|
|
30770
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30770
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
30771
30771
|
async function getInvitations(httpClient, signal) {
|
|
30772
30772
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
30773
30773
|
}
|
|
@@ -30784,7 +30784,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
30784
30784
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
30785
30785
|
}
|
|
30786
30786
|
//#endregion
|
|
30787
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30787
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
30788
30788
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
30789
30789
|
const searchParams = new URLSearchParams();
|
|
30790
30790
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -30796,7 +30796,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
30796
30796
|
return searchParams;
|
|
30797
30797
|
}
|
|
30798
30798
|
//#endregion
|
|
30799
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30799
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
30800
30800
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
30801
30801
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
30802
30802
|
}
|
|
@@ -30810,7 +30810,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
30810
30810
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
30811
30811
|
}
|
|
30812
30812
|
//#endregion
|
|
30813
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30813
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
30814
30814
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
30815
30815
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
30816
30816
|
}
|
|
@@ -30830,7 +30830,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
30830
30830
|
});
|
|
30831
30831
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
30832
30832
|
//#endregion
|
|
30833
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30833
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
30834
30834
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
30835
30835
|
function withResponseMeta(data, headers, status) {
|
|
30836
30836
|
if (!data) return data;
|
|
@@ -30857,7 +30857,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
30857
30857
|
return searchParams;
|
|
30858
30858
|
}
|
|
30859
30859
|
//#endregion
|
|
30860
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30860
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
30861
30861
|
async function getPublicHolidays(httpClient, year, { country, organization_id } = {}, signal) {
|
|
30862
30862
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
30863
30863
|
signal,
|
|
@@ -30869,12 +30869,12 @@ async function getPublicHolidays(httpClient, year, { country, organization_id }
|
|
|
30869
30869
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
30870
30870
|
}
|
|
30871
30871
|
//#endregion
|
|
30872
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30872
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
30873
30873
|
async function getStatus(httpClient, signal) {
|
|
30874
30874
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
30875
30875
|
}
|
|
30876
30876
|
//#endregion
|
|
30877
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30877
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
30878
30878
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
30879
30879
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
30880
30880
|
signal,
|
|
@@ -30902,7 +30902,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
30902
30902
|
return response.json();
|
|
30903
30903
|
}
|
|
30904
30904
|
//#endregion
|
|
30905
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
30905
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.194_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_cf1b2da807173ec251cc74d839ac4fe6/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
30906
30906
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
30907
30907
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
30908
30908
|
}
|
|
@@ -44983,7 +44983,7 @@ import_main.default.config({
|
|
|
44983
44983
|
quiet: true,
|
|
44984
44984
|
ignore: ["MISSING_ENV_FILE"]
|
|
44985
44985
|
});
|
|
44986
|
-
const packageVersion = "1.6.
|
|
44986
|
+
const packageVersion = "1.6.15";
|
|
44987
44987
|
function resolvePublicUrls() {
|
|
44988
44988
|
return {
|
|
44989
44989
|
focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
|
|
@@ -45047,4 +45047,4 @@ function bootstrapServer(options = {}) {
|
|
|
45047
45047
|
//#endregion
|
|
45048
45048
|
export { runMcpCli as n, bootstrapServer as t };
|
|
45049
45049
|
|
|
45050
|
-
//# sourceMappingURL=src-
|
|
45050
|
+
//# sourceMappingURL=src-C4C4XBSw.js.map
|