@togglhq/cli 1.11.190 → 1.11.192
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-C4A9xvcf.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-C4A9xvcf.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10887,7 +10887,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10887
10887
|
]))
|
|
10888
10888
|
});
|
|
10889
10889
|
//#endregion
|
|
10890
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10890
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10891
10891
|
async function getInvitations(httpClient, signal) {
|
|
10892
10892
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10893
10893
|
}
|
|
@@ -10904,7 +10904,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10904
10904
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10905
10905
|
}
|
|
10906
10906
|
//#endregion
|
|
10907
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10907
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10908
10908
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10909
10909
|
const searchParams = new URLSearchParams();
|
|
10910
10910
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10916,7 +10916,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10916
10916
|
return searchParams;
|
|
10917
10917
|
}
|
|
10918
10918
|
//#endregion
|
|
10919
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10919
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10920
10920
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10921
10921
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10922
10922
|
}
|
|
@@ -10930,7 +10930,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10930
10930
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10931
10931
|
}
|
|
10932
10932
|
//#endregion
|
|
10933
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10933
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10934
10934
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10935
10935
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10936
10936
|
}
|
|
@@ -10950,7 +10950,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10950
10950
|
});
|
|
10951
10951
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10952
10952
|
//#endregion
|
|
10953
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10953
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10954
10954
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10955
10955
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10956
10956
|
signal,
|
|
@@ -10961,12 +10961,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10961
10961
|
})).json();
|
|
10962
10962
|
}
|
|
10963
10963
|
//#endregion
|
|
10964
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10964
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10965
10965
|
async function getStatus(httpClient, signal) {
|
|
10966
10966
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10967
10967
|
}
|
|
10968
10968
|
//#endregion
|
|
10969
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10969
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10970
10970
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10971
10971
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10972
10972
|
signal,
|
|
@@ -10994,7 +10994,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10994
10994
|
return response.json();
|
|
10995
10995
|
}
|
|
10996
10996
|
//#endregion
|
|
10997
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10997
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.164_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_5b83487aa10d94e9a5a7f8b44f455995/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10998
10998
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10999
10999
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11000
11000
|
}
|
|
@@ -29193,4 +29193,4 @@ Common commands:
|
|
|
29193
29193
|
//#endregion
|
|
29194
29194
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29195
29195
|
|
|
29196
|
-
//# sourceMappingURL=program-
|
|
29196
|
+
//# sourceMappingURL=program-C4A9xvcf.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-C4A9xvcf.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.192",
|
|
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.164",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|