@togglhq/cli 1.5.73 → 1.5.74
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/{program-CdCJcMAD.js → program-DNWUtfQL.js} +10 -10
- package/build/program.js +1 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as CommanderError, t as createProgram } from "./program-
|
|
2
|
+
import { n as CommanderError, t as createProgram } from "./program-DNWUtfQL.js";
|
|
3
3
|
//#region src/cli.ts
|
|
4
4
|
try {
|
|
5
5
|
await createProgram({ enableUpdateNotification: true }).parseAsync(process.argv);
|
package/build/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-DNWUtfQL.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10615,7 +10615,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10615
10615
|
]))
|
|
10616
10616
|
});
|
|
10617
10617
|
//#endregion
|
|
10618
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10618
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10619
10619
|
async function getInvitations(httpClient, signal) {
|
|
10620
10620
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10621
10621
|
}
|
|
@@ -10632,7 +10632,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10632
10632
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10633
10633
|
}
|
|
10634
10634
|
//#endregion
|
|
10635
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10635
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10636
10636
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
10637
10637
|
const searchParams = new URLSearchParams();
|
|
10638
10638
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10644,7 +10644,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10644
10644
|
return searchParams;
|
|
10645
10645
|
}
|
|
10646
10646
|
//#endregion
|
|
10647
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10647
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10648
10648
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10649
10649
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10650
10650
|
}
|
|
@@ -10658,7 +10658,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10658
10658
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10659
10659
|
}
|
|
10660
10660
|
//#endregion
|
|
10661
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10661
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10662
10662
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10663
10663
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10664
10664
|
}
|
|
@@ -10687,7 +10687,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10687
10687
|
});
|
|
10688
10688
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10689
10689
|
//#endregion
|
|
10690
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10690
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
10691
10691
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
10692
10692
|
function withResponseMeta(data, headers, status) {
|
|
10693
10693
|
if (!data) return data;
|
|
@@ -10714,7 +10714,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10714
10714
|
return searchParams;
|
|
10715
10715
|
}
|
|
10716
10716
|
//#endregion
|
|
10717
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10717
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
10718
10718
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
10719
10719
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
10720
10720
|
signal,
|
|
@@ -10723,12 +10723,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
10723
10723
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
10724
10724
|
}
|
|
10725
10725
|
//#endregion
|
|
10726
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10726
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10727
10727
|
async function getStatus(httpClient, signal) {
|
|
10728
10728
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10729
10729
|
}
|
|
10730
10730
|
//#endregion
|
|
10731
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10731
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10732
10732
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10733
10733
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10734
10734
|
signal,
|
|
@@ -10756,7 +10756,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10756
10756
|
return response.json();
|
|
10757
10757
|
}
|
|
10758
10758
|
//#endregion
|
|
10759
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@
|
|
10759
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.6_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7a603e71e3f11edb83d2f732adabc6c4/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10760
10760
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10761
10761
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10762
10762
|
}
|
|
@@ -25143,4 +25143,4 @@ Common commands:
|
|
|
25143
25143
|
//#endregion
|
|
25144
25144
|
export { CommanderError as n, createProgram as t };
|
|
25145
25145
|
|
|
25146
|
-
//# sourceMappingURL=program-
|
|
25146
|
+
//# sourceMappingURL=program-DNWUtfQL.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-DNWUtfQL.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.74",
|
|
4
4
|
"description": "Toggl CLI for Toggl 2.0 API operations.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@toggl/cli-core": "workspace:^",
|
|
57
57
|
"@toggl/operations": "workspace:^",
|
|
58
|
-
"@toggl/queries": "
|
|
58
|
+
"@toggl/queries": "2.1.6",
|
|
59
59
|
"@types/node": "22.19.11",
|
|
60
60
|
"tsdown": "0.21.8",
|
|
61
61
|
"typescript": "5.9.3",
|