@togglhq/cli 1.13.53 → 1.13.54
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DXNjWplq.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-DXNjWplq.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10915,7 +10915,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10915
10915
|
]))
|
|
10916
10916
|
});
|
|
10917
10917
|
//#endregion
|
|
10918
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10918
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10919
10919
|
async function getInvitations(httpClient, signal) {
|
|
10920
10920
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10921
10921
|
}
|
|
@@ -10932,7 +10932,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10932
10932
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10933
10933
|
}
|
|
10934
10934
|
//#endregion
|
|
10935
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10935
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10936
10936
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10937
10937
|
const searchParams = new URLSearchParams();
|
|
10938
10938
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10944,7 +10944,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10944
10944
|
return searchParams;
|
|
10945
10945
|
}
|
|
10946
10946
|
//#endregion
|
|
10947
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10947
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10948
10948
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10949
10949
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10950
10950
|
}
|
|
@@ -10958,7 +10958,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10958
10958
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10959
10959
|
}
|
|
10960
10960
|
//#endregion
|
|
10961
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10961
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10962
10962
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10963
10963
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10964
10964
|
}
|
|
@@ -10978,7 +10978,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10978
10978
|
});
|
|
10979
10979
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10980
10980
|
//#endregion
|
|
10981
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10981
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10982
10982
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10983
10983
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10984
10984
|
signal,
|
|
@@ -10989,12 +10989,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10989
10989
|
})).json();
|
|
10990
10990
|
}
|
|
10991
10991
|
//#endregion
|
|
10992
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10992
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10993
10993
|
async function getStatus(httpClient, signal) {
|
|
10994
10994
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10995
10995
|
}
|
|
10996
10996
|
//#endregion
|
|
10997
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10997
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10998
10998
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10999
10999
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11000
11000
|
signal,
|
|
@@ -11022,7 +11022,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11022
11022
|
return response.json();
|
|
11023
11023
|
}
|
|
11024
11024
|
//#endregion
|
|
11025
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11025
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.246_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_d1e5a052793062459eda2e2506e8660a/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11026
11026
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11027
11027
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11028
11028
|
}
|
|
@@ -30267,4 +30267,4 @@ Common commands:
|
|
|
30267
30267
|
//#endregion
|
|
30268
30268
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30269
30269
|
|
|
30270
|
-
//# sourceMappingURL=program-
|
|
30270
|
+
//# sourceMappingURL=program-DXNjWplq.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-DXNjWplq.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.54",
|
|
4
4
|
"description": "Toggl CLI for Toggl 2.0 API operations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@toggl/cli-core": "workspace:^",
|
|
58
58
|
"@toggl/operations": "workspace:^",
|
|
59
|
-
"@toggl/queries": "2.2.
|
|
59
|
+
"@toggl/queries": "2.2.246",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|