@togglhq/cli 1.5.61 → 1.5.63

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 { n as CommanderError, t as createProgram } from "./program-BpTJ4d__.js";
2
+ import { n as CommanderError, t as createProgram } from "./program-tJir5Lia.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-BpTJ4d__.js";
1
+ import { t as createProgram } from "./program-tJir5Lia.js";
2
2
  export { createProgram };
@@ -10607,7 +10607,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10607
10607
  ]))
10608
10608
  });
10609
10609
  //#endregion
10610
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10610
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10611
10611
  async function getInvitations(httpClient, signal) {
10612
10612
  return (await httpClient.get(`invitations`, { signal })).json();
10613
10613
  }
@@ -10624,7 +10624,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10624
10624
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10625
10625
  }
10626
10626
  //#endregion
10627
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10627
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10628
10628
  function buildSearchParams$1(params, flattenArrays = false) {
10629
10629
  const searchParams = new URLSearchParams();
10630
10630
  Object.entries(params).forEach(([key, value]) => {
@@ -10636,7 +10636,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
10636
10636
  return searchParams;
10637
10637
  }
10638
10638
  //#endregion
10639
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10639
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10640
10640
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10641
10641
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10642
10642
  }
@@ -10650,7 +10650,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10650
10650
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10651
10651
  }
10652
10652
  //#endregion
10653
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10653
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10654
10654
  async function getWorkspaces(httpClient, organization_id, signal) {
10655
10655
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10656
10656
  }
@@ -10679,7 +10679,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10679
10679
  });
10680
10680
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10681
10681
  //#endregion
10682
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
10682
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
10683
10683
  const META_SYMBOL = Symbol.for("querygen:response:meta");
10684
10684
  function withResponseMeta(data, headers, status) {
10685
10685
  if (!data) return data;
@@ -10706,7 +10706,7 @@ function buildSearchParams(params, flattenArrays = false) {
10706
10706
  return searchParams;
10707
10707
  }
10708
10708
  //#endregion
10709
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
10709
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
10710
10710
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10711
10711
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
10712
10712
  signal,
@@ -10715,12 +10715,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
10715
10715
  return withResponseMeta(await response.json(), response.headers, response.status);
10716
10716
  }
10717
10717
  //#endregion
10718
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10718
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10719
10719
  async function getStatus(httpClient, signal) {
10720
10720
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10721
10721
  }
10722
10722
  //#endregion
10723
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10723
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10724
10724
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10725
10725
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10726
10726
  signal,
@@ -10748,7 +10748,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10748
10748
  return response.json();
10749
10749
  }
10750
10750
  //#endregion
10751
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.2_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_09ff1b7117ab0a7beb1382d6f8a06eea/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10751
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.3_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_7ed5fed2db5f3b3b149075b0e7145a6c/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10752
10752
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10753
10753
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10754
10754
  }
@@ -25978,4 +25978,4 @@ Common commands:
25978
25978
  //#endregion
25979
25979
  export { CommanderError as n, createProgram as t };
25980
25980
 
25981
- //# sourceMappingURL=program-BpTJ4d__.js.map
25981
+ //# sourceMappingURL=program-tJir5Lia.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BpTJ4d__.js";
1
+ import { t as createProgram } from "./program-tJir5Lia.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.5.61",
3
+ "version": "1.5.63",
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": "1.1.2",
58
+ "@toggl/queries": "1.1.3",
59
59
  "@types/node": "22.19.11",
60
60
  "tsdown": "0.21.8",
61
61
  "typescript": "5.9.3",