@togglhq/cli 1.13.235 → 1.13.237

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-CvuRbuBa.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-HauOpmPY.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-CvuRbuBa.js";
1
+ import { t as createProgram } from "./program-HauOpmPY.js";
2
2
  export { createProgram };
@@ -11131,7 +11131,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
11131
11131
  ]))
11132
11132
  });
11133
11133
  //#endregion
11134
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11134
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11135
11135
  async function getInvitations(httpClient, signal) {
11136
11136
  return (await httpClient.get(`invitations`, { signal })).json();
11137
11137
  }
@@ -11148,7 +11148,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
11148
11148
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
11149
11149
  }
11150
11150
  //#endregion
11151
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11151
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11152
11152
  function buildSearchParams(params, flattenArrays = false) {
11153
11153
  const searchParams = new URLSearchParams();
11154
11154
  Object.entries(params).forEach(([key, value]) => {
@@ -11160,7 +11160,7 @@ function buildSearchParams(params, flattenArrays = false) {
11160
11160
  return searchParams;
11161
11161
  }
11162
11162
  //#endregion
11163
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11163
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11164
11164
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
11165
11165
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
11166
11166
  }
@@ -11175,7 +11175,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11175
11175
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11176
11176
  }
11177
11177
  //#endregion
11178
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11178
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11179
11179
  async function getWorkspaces(httpClient, organization_id, signal) {
11180
11180
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11181
11181
  }
@@ -11195,7 +11195,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11195
11195
  });
11196
11196
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11197
11197
  //#endregion
11198
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11198
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11199
11199
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11200
11200
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11201
11201
  signal,
@@ -11206,12 +11206,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11206
11206
  })).json();
11207
11207
  }
11208
11208
  //#endregion
11209
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11209
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11210
11210
  async function getStatus(httpClient, signal) {
11211
11211
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11212
11212
  }
11213
11213
  //#endregion
11214
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11214
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11215
11215
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11216
11216
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11217
11217
  signal,
@@ -11239,7 +11239,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11239
11239
  return response.json();
11240
11240
  }
11241
11241
  //#endregion
11242
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.347_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8225b419bc4dac71eeecbc66083eea3d/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11242
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.349_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9af9d1fb1e506beb857eb63aedc01772/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11243
11243
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11244
11244
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11245
11245
  }
@@ -19939,6 +19939,7 @@ const generatedFocusOperations = [
19939
19939
  "table",
19940
19940
  "pivot_table"
19941
19941
  ]),
19942
+ columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
19942
19943
  filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
19943
19944
  period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
19944
19945
  })),
@@ -20105,6 +20106,7 @@ const generatedFocusOperations = [
20105
20106
  "table",
20106
20107
  "pivot_table"
20107
20108
  ]),
20109
+ columns: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
20108
20110
  filters: /* @__PURE__ */ optional$1(/* @__PURE__ */ array$1(/* @__PURE__ */ unknown$1())),
20109
20111
  period: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
20110
20112
  })),
@@ -33943,4 +33945,4 @@ Common commands:
33943
33945
  //#endregion
33944
33946
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
33945
33947
 
33946
- //# sourceMappingURL=program-CvuRbuBa.js.map
33948
+ //# sourceMappingURL=program-HauOpmPY.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-CvuRbuBa.js";
1
+ import { t as createProgram } from "./program-HauOpmPY.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.235",
3
+ "version": "1.13.237",
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.347",
59
+ "@toggl/queries": "2.2.349",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",