@togglhq/cli 1.12.4 → 1.12.5
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-pejSqsVT.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-pejSqsVT.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10804,7 +10804,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10804
10804
|
]))
|
|
10805
10805
|
});
|
|
10806
10806
|
//#endregion
|
|
10807
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10807
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10808
10808
|
async function getInvitations(httpClient, signal) {
|
|
10809
10809
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10810
10810
|
}
|
|
@@ -10821,7 +10821,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10821
10821
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10822
10822
|
}
|
|
10823
10823
|
//#endregion
|
|
10824
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10824
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10825
10825
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10826
10826
|
const searchParams = new URLSearchParams();
|
|
10827
10827
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10833,7 +10833,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10833
10833
|
return searchParams;
|
|
10834
10834
|
}
|
|
10835
10835
|
//#endregion
|
|
10836
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10836
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10837
10837
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10838
10838
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10839
10839
|
}
|
|
@@ -10847,7 +10847,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10847
10847
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10848
10848
|
}
|
|
10849
10849
|
//#endregion
|
|
10850
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10850
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10851
10851
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10852
10852
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10853
10853
|
}
|
|
@@ -10867,7 +10867,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10867
10867
|
});
|
|
10868
10868
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10869
10869
|
//#endregion
|
|
10870
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10870
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10871
10871
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10872
10872
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10873
10873
|
signal,
|
|
@@ -10878,12 +10878,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10878
10878
|
})).json();
|
|
10879
10879
|
}
|
|
10880
10880
|
//#endregion
|
|
10881
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10882
10882
|
async function getStatus(httpClient, signal) {
|
|
10883
10883
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10884
10884
|
}
|
|
10885
10885
|
//#endregion
|
|
10886
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10886
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10887
10887
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10888
10888
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10889
10889
|
signal,
|
|
@@ -10911,7 +10911,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10911
10911
|
return response.json();
|
|
10912
10912
|
}
|
|
10913
10913
|
//#endregion
|
|
10914
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10914
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.185_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_bd0b29b3a755b024657ec084db7602b7/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10915
10915
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10916
10916
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10917
10917
|
}
|
|
@@ -29582,4 +29582,4 @@ Common commands:
|
|
|
29582
29582
|
//#endregion
|
|
29583
29583
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29584
29584
|
|
|
29585
|
-
//# sourceMappingURL=program-
|
|
29585
|
+
//# sourceMappingURL=program-pejSqsVT.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-pejSqsVT.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.5",
|
|
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.185",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|