@togglhq/cli 1.7.1 → 1.7.2
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-BJrl7qqO.js → program-COtKnkok.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-COtKnkok.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-COtKnkok.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10811,7 +10811,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10811
10811
|
]))
|
|
10812
10812
|
});
|
|
10813
10813
|
//#endregion
|
|
10814
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10814
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10815
10815
|
async function getInvitations(httpClient, signal) {
|
|
10816
10816
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10817
10817
|
}
|
|
@@ -10828,7 +10828,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10828
10828
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10829
10829
|
}
|
|
10830
10830
|
//#endregion
|
|
10831
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10831
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10832
10832
|
function buildSearchParams$1(params, flattenArrays = false) {
|
|
10833
10833
|
const searchParams = new URLSearchParams();
|
|
10834
10834
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10840,7 +10840,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
|
|
|
10840
10840
|
return searchParams;
|
|
10841
10841
|
}
|
|
10842
10842
|
//#endregion
|
|
10843
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10843
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10844
10844
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10845
10845
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10846
10846
|
}
|
|
@@ -10854,7 +10854,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10854
10854
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10855
10855
|
}
|
|
10856
10856
|
//#endregion
|
|
10857
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10857
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10858
10858
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10859
10859
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10860
10860
|
}
|
|
@@ -10874,7 +10874,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10874
10874
|
});
|
|
10875
10875
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10876
10876
|
//#endregion
|
|
10877
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10877
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
|
|
10878
10878
|
const META_SYMBOL = Symbol.for("querygen:response:meta");
|
|
10879
10879
|
function withResponseMeta(data, headers, status) {
|
|
10880
10880
|
if (!data) return data;
|
|
@@ -10901,7 +10901,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10901
10901
|
return searchParams;
|
|
10902
10902
|
}
|
|
10903
10903
|
//#endregion
|
|
10904
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10904
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
|
|
10905
10905
|
async function getPublicHolidays(httpClient, year, { country, organization_id } = {}, signal) {
|
|
10906
10906
|
const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
|
|
10907
10907
|
signal,
|
|
@@ -10913,12 +10913,12 @@ async function getPublicHolidays(httpClient, year, { country, organization_id }
|
|
|
10913
10913
|
return withResponseMeta(await response.json(), response.headers, response.status);
|
|
10914
10914
|
}
|
|
10915
10915
|
//#endregion
|
|
10916
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10916
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10917
10917
|
async function getStatus(httpClient, signal) {
|
|
10918
10918
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10919
10919
|
}
|
|
10920
10920
|
//#endregion
|
|
10921
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10921
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10922
10922
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10923
10923
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10924
10924
|
signal,
|
|
@@ -10946,7 +10946,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10946
10946
|
return response.json();
|
|
10947
10947
|
}
|
|
10948
10948
|
//#endregion
|
|
10949
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.
|
|
10949
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.1.216_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e2551e0eda340359e00ca954b6e5013/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10950
10950
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10951
10951
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10952
10952
|
}
|
|
@@ -25300,4 +25300,4 @@ Common commands:
|
|
|
25300
25300
|
//#endregion
|
|
25301
25301
|
export { CommanderError as n, createProgram as t };
|
|
25302
25302
|
|
|
25303
|
-
//# sourceMappingURL=program-
|
|
25303
|
+
//# sourceMappingURL=program-COtKnkok.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-COtKnkok.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
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": "2.1.
|
|
58
|
+
"@toggl/queries": "2.1.216",
|
|
59
59
|
"@types/node": "22.19.11",
|
|
60
60
|
"tsdown": "0.21.8",
|
|
61
61
|
"typescript": "5.9.3",
|