@togglhq/cli 1.5.33 → 1.5.34
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-DuwrGVwr.js → program-CvXt_j6s.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-CvXt_j6s.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-CvXt_j6s.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10577,7 +10577,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10577
10577
|
]))
|
|
10578
10578
|
});
|
|
10579
10579
|
//#endregion
|
|
10580
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10580
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10581
10581
|
async function getInvitations(httpClient, signal) {
|
|
10582
10582
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10583
10583
|
}
|
|
@@ -10594,7 +10594,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10594
10594
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10595
10595
|
}
|
|
10596
10596
|
//#endregion
|
|
10597
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10597
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10598
10598
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
10599
10599
|
const searchParams = new URLSearchParams();
|
|
10600
10600
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10606,7 +10606,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10606
10606
|
return searchParams;
|
|
10607
10607
|
}
|
|
10608
10608
|
//#endregion
|
|
10609
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10609
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10610
10610
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10611
10611
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10612
10612
|
}
|
|
@@ -10620,7 +10620,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10620
10620
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10621
10621
|
}
|
|
10622
10622
|
//#endregion
|
|
10623
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10623
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10624
10624
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10625
10625
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10626
10626
|
}
|
|
@@ -10649,7 +10649,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10649
10649
|
});
|
|
10650
10650
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10651
10651
|
//#endregion
|
|
10652
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10652
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
10653
10653
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
10654
10654
|
function withResponseMeta(data, headers, status) {
|
|
10655
10655
|
if (!data) return data;
|
|
@@ -10676,7 +10676,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10676
10676
|
return searchParams;
|
|
10677
10677
|
}
|
|
10678
10678
|
//#endregion
|
|
10679
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10679
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
10680
10680
|
async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
10681
10681
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
10682
10682
|
signal,
|
|
@@ -10685,12 +10685,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
|
|
|
10685
10685
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
10686
10686
|
}
|
|
10687
10687
|
//#endregion
|
|
10688
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10688
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10689
10689
|
async function getStatus(httpClient, signal) {
|
|
10690
10690
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10691
10691
|
}
|
|
10692
10692
|
//#endregion
|
|
10693
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10693
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10694
10694
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10695
10695
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10696
10696
|
signal,
|
|
@@ -10718,7 +10718,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10718
10718
|
return response.json();
|
|
10719
10719
|
}
|
|
10720
10720
|
//#endregion
|
|
10721
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@0.
|
|
10721
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@1.0.0_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_a2b83df85e5c0a04ce57e670eec2d87f/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10722
10722
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10723
10723
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10724
10724
|
}
|
|
@@ -25758,4 +25758,4 @@ Common commands:
|
|
|
25758
25758
|
//#endregion
|
|
25759
25759
|
export { CommanderError as n, createProgram as t };
|
|
25760
25760
|
|
|
25761
|
-
//# sourceMappingURL=program-
|
|
25761
|
+
//# sourceMappingURL=program-CvXt_j6s.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-CvXt_j6s.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.34",
|
|
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": "0.
|
|
58
|
+
"@toggl/queries": "1.0.0",
|
|
59
59
|
"@types/node": "22.19.11",
|
|
60
60
|
"tsdown": "0.21.8",
|
|
61
61
|
"typescript": "5.9.3",
|