@togglhq/cli 1.13.301 → 1.13.303

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-BsFZF6i3.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-0P1QRzV_.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-BsFZF6i3.js";
1
+ import { t as createProgram } from "./program-0P1QRzV_.js";
2
2
  export { createProgram };
@@ -8012,11 +8012,11 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
8012
8012
  priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
8013
8013
  private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
8014
8014
  project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8015
- recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
8015
+ recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ object({
8016
8016
  duration_mins: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1), /* @__PURE__ */ maxValue(1440)),
8017
8017
  start_time: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The local time in timezone, HH:MM.")),
8018
8018
  timezone: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(64))
8019
- }), /* @__PURE__ */ description("The planned time of the series, sent only with a recurring_rule that makes the task repeat."))),
8019
+ })), /* @__PURE__ */ description("The planned time of the series: sent with a recurring_rule that makes the task repeat, it sets it up. On an occurrence, sent alone with scope=following or all, it adds the planned time or changes it, and null stops it."))),
8020
8020
  recurring_rule: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ string()), /* @__PURE__ */ description("Makes the task repeat (PATCH /tasks/{id} only, sent alone or with recurring_pattern): an RRULE whose DTSTART gives the dates if none are set. On an occurrence, a rule sent with scope=following or all changes the series' rule, or starts a stopped series again, and null stops the series; an empty string is invalid."))),
8021
8021
  recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
8022
8022
  repeat_planned_time_entry_id: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ nullable(/* @__PURE__ */ number()), /* @__PURE__ */ description("RepeatPlannedTimeEntryID is the declared initial-selection input that will start a series from an existing planned entry (PR 11). Any supplied value — an ID or JSON null — is rejected until then; the contract is declared in docs/recurring-pr2a-additive-schema.md. json.RawMessage keeps absent distinguishable from explicit null on decode and is omitted on marshal when never set."))),
@@ -11152,7 +11152,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
11152
11152
  ]))
11153
11153
  });
11154
11154
  //#endregion
11155
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11155
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
11156
11156
  async function getInvitations(httpClient, signal) {
11157
11157
  return (await httpClient.get(`invitations`, { signal })).json();
11158
11158
  }
@@ -11169,7 +11169,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
11169
11169
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
11170
11170
  }
11171
11171
  //#endregion
11172
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11172
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/utils/requests.mjs
11173
11173
  function buildSearchParams(params, flattenArrays = false) {
11174
11174
  const searchParams = new URLSearchParams();
11175
11175
  Object.entries(params).forEach(([key, value]) => {
@@ -11181,7 +11181,7 @@ function buildSearchParams(params, flattenArrays = false) {
11181
11181
  return searchParams;
11182
11182
  }
11183
11183
  //#endregion
11184
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11184
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
11185
11185
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
11186
11186
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
11187
11187
  }
@@ -11196,7 +11196,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
11196
11196
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
11197
11197
  }
11198
11198
  //#endregion
11199
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11199
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
11200
11200
  async function getWorkspaces(httpClient, organization_id, signal) {
11201
11201
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
11202
11202
  }
@@ -11216,7 +11216,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
11216
11216
  });
11217
11217
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
11218
11218
  //#endregion
11219
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11219
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
11220
11220
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
11221
11221
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
11222
11222
  signal,
@@ -11227,12 +11227,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
11227
11227
  })).json();
11228
11228
  }
11229
11229
  //#endregion
11230
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11230
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
11231
11231
  async function getStatus(httpClient, signal) {
11232
11232
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
11233
11233
  }
11234
11234
  //#endregion
11235
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11235
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
11236
11236
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
11237
11237
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
11238
11238
  signal,
@@ -11260,7 +11260,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
11260
11260
  return response.json();
11261
11261
  }
11262
11262
  //#endregion
11263
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.389_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_93b6312d5a00baec4fd6361cf7b684d1/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11263
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.392_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_1b02c5bcdc6f34f43d006f0262a16104/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
11264
11264
  async function getMyWorkingHours(httpClient, organization_id, signal) {
11265
11265
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
11266
11266
  }
@@ -34577,4 +34577,4 @@ Common commands:
34577
34577
  //#endregion
34578
34578
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
34579
34579
 
34580
- //# sourceMappingURL=program-BsFZF6i3.js.map
34580
+ //# sourceMappingURL=program-0P1QRzV_.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-BsFZF6i3.js";
1
+ import { t as createProgram } from "./program-0P1QRzV_.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.301",
3
+ "version": "1.13.303",
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.389",
59
+ "@toggl/queries": "2.2.392",
60
60
  "@types/node": "22.19.11",
61
61
  "tsdown": "0.21.8",
62
62
  "typescript": "5.9.3",