@togglhq/cli 1.13.2 → 1.13.3

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-BN4oqIBL.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-URZBr_aV.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-BN4oqIBL.js";
1
+ import { t as createProgram } from "./program-URZBr_aV.js";
2
2
  export { createProgram };
@@ -10872,7 +10872,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
10872
10872
  ]))
10873
10873
  });
10874
10874
  //#endregion
10875
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10875
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
10876
10876
  async function getInvitations(httpClient, signal) {
10877
10877
  return (await httpClient.get(`invitations`, { signal })).json();
10878
10878
  }
@@ -10889,7 +10889,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
10889
10889
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
10890
10890
  }
10891
10891
  //#endregion
10892
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10892
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/utils/requests.mjs
10893
10893
  function buildSearchParams(params, flattenArrays = false) {
10894
10894
  const searchParams = new URLSearchParams();
10895
10895
  Object.entries(params).forEach(([key, value]) => {
@@ -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.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10904
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
10905
10905
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
10906
10906
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
10907
10907
  }
@@ -10915,7 +10915,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
10915
10915
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
10916
10916
  }
10917
10917
  //#endregion
10918
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10918
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
10919
10919
  async function getWorkspaces(httpClient, organization_id, signal) {
10920
10920
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
10921
10921
  }
@@ -10935,7 +10935,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
10935
10935
  });
10936
10936
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
10937
10937
  //#endregion
10938
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10938
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
10939
10939
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
10940
10940
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
10941
10941
  signal,
@@ -10946,12 +10946,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
10946
10946
  })).json();
10947
10947
  }
10948
10948
  //#endregion
10949
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10949
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
10950
10950
  async function getStatus(httpClient, signal) {
10951
10951
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
10952
10952
  }
10953
10953
  //#endregion
10954
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10954
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
10955
10955
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
10956
10956
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
10957
10957
  signal,
@@ -10979,7 +10979,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
10979
10979
  return response.json();
10980
10980
  }
10981
10981
  //#endregion
10982
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.190_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b1184b7a85021c667b7a3d6b36f4d1b5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10982
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.192_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_ecdbe05806e61f883b04960442f3f3ae/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
10983
10983
  async function getMyWorkingHours(httpClient, organization_id, signal) {
10984
10984
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
10985
10985
  }
@@ -29659,4 +29659,4 @@ Common commands:
29659
29659
  //#endregion
29660
29660
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
29661
29661
 
29662
- //# sourceMappingURL=program-BN4oqIBL.js.map
29662
+ //# sourceMappingURL=program-URZBr_aV.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BN4oqIBL.js";
1
+ import { t as createProgram } from "./program-URZBr_aV.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
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.190",
59
+ "@toggl/queries": "2.2.192",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",