@togglhq/cli 1.13.210 → 1.13.212

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-BoepSLiL.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-DkPJQ_yu.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-BoepSLiL.js";
1
+ import { t as createProgram } from "./program-DkPJQ_yu.js";
2
2
  export { createProgram };
@@ -11126,7 +11126,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
11126
11126
  ]))
11127
11127
  });
11128
11128
  //#endregion
11129
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11129
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11130
11130
  async function getInvitations(httpClient, signal) {
11131
11131
  return (await httpClient.get(`invitations`, { signal })).json();
11132
11132
  }
@@ -11143,7 +11143,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
11143
11143
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
11144
11144
  }
11145
11145
  //#endregion
11146
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11146
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11147
11147
  function buildSearchParams(params, flattenArrays = false) {
11148
11148
  const searchParams = new URLSearchParams();
11149
11149
  Object.entries(params).forEach(([key, value]) => {
@@ -11155,7 +11155,7 @@ function buildSearchParams(params, flattenArrays = false) {
11155
11155
  return searchParams;
11156
11156
  }
11157
11157
  //#endregion
11158
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11158
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11159
11159
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
11160
11160
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
11161
11161
  }
@@ -11170,7 +11170,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11170
11170
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11171
11171
  }
11172
11172
  //#endregion
11173
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11173
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11174
11174
  async function getWorkspaces(httpClient, organization_id, signal) {
11175
11175
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11176
11176
  }
@@ -11190,7 +11190,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11190
11190
  });
11191
11191
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11192
11192
  //#endregion
11193
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11193
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11194
11194
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11195
11195
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11196
11196
  signal,
@@ -11201,12 +11201,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11201
11201
  })).json();
11202
11202
  }
11203
11203
  //#endregion
11204
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11204
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11205
11205
  async function getStatus(httpClient, signal) {
11206
11206
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11207
11207
  }
11208
11208
  //#endregion
11209
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11209
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11210
11210
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11211
11211
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11212
11212
  signal,
@@ -11234,7 +11234,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11234
11234
  return response.json();
11235
11235
  }
11236
11236
  //#endregion
11237
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.334_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_818b3bb2f79b19e13309102b6331c5da/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11237
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.335_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_a1879c3390772a3a8f0eb084e306b2dc/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11238
11238
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11239
11239
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11240
11240
  }
@@ -19763,7 +19763,10 @@ const generatedFocusOperations = [
19763
19763
  params: /* @__PURE__ */ looseObject({
19764
19764
  charts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19765
19765
  id: /* @__PURE__ */ string$1(),
19766
- layout: /* @__PURE__ */ looseObject({ width: /* @__PURE__ */ number$2() }),
19766
+ layout: /* @__PURE__ */ looseObject({
19767
+ width: /* @__PURE__ */ number$2(),
19768
+ height: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
19769
+ }),
19767
19770
  name: /* @__PURE__ */ string$1(),
19768
19771
  query: /* @__PURE__ */ looseObject({
19769
19772
  aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
@@ -19919,7 +19922,10 @@ const generatedFocusOperations = [
19919
19922
  params: /* @__PURE__ */ looseObject({
19920
19923
  charts: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
19921
19924
  id: /* @__PURE__ */ string$1(),
19922
- layout: /* @__PURE__ */ looseObject({ width: /* @__PURE__ */ number$2() }),
19925
+ layout: /* @__PURE__ */ looseObject({
19926
+ width: /* @__PURE__ */ number$2(),
19927
+ height: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
19928
+ }),
19923
19929
  name: /* @__PURE__ */ string$1(),
19924
19930
  query: /* @__PURE__ */ looseObject({
19925
19931
  aggregations: /* @__PURE__ */ array$1(/* @__PURE__ */ looseObject({
@@ -33793,4 +33799,4 @@ Common commands:
33793
33799
  //#endregion
33794
33800
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
33795
33801
 
33796
- //# sourceMappingURL=program-BoepSLiL.js.map
33802
+ //# sourceMappingURL=program-DkPJQ_yu.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BoepSLiL.js";
1
+ import { t as createProgram } from "./program-DkPJQ_yu.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.210",
3
+ "version": "1.13.212",
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.334",
59
+ "@toggl/queries": "2.2.335",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",