@togglhq/cli 1.13.238 → 1.13.239
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 +1 -1
- package/build/index.js +1 -1
- package/build/{program-BexFgphc.js → program-Cg-1tTpd.js} +15 -10
- package/build/program.js +1 -1
- package/package.json +2 -2
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-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-Cg-1tTpd.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-
|
|
1
|
+
import { t as createProgram } from "./program-Cg-1tTpd.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -8005,7 +8005,12 @@ const TaskPartialUpdatePayloadSchema = /* @__PURE__ */ object({
|
|
|
8005
8005
|
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate()))),
|
|
8006
8006
|
private: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
8007
8007
|
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8008
|
-
|
|
8008
|
+
recurring_pattern: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ object({
|
|
8009
|
+
duration_mins: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ minValue(1), /* @__PURE__ */ maxValue(1440)),
|
|
8010
|
+
start_time: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ description("The local time in timezone, HH:MM.")),
|
|
8011
|
+
timezone: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ maxLength(64))
|
|
8012
|
+
}), /* @__PURE__ */ description("The planned time of the series, sent only with a recurring_rule that makes the task repeat."))),
|
|
8013
|
+
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."))),
|
|
8009
8014
|
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ number())),
|
|
8010
8015
|
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."))),
|
|
8011
8016
|
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
@@ -11139,7 +11144,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11139
11144
|
]))
|
|
11140
11145
|
});
|
|
11141
11146
|
//#endregion
|
|
11142
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11147
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11143
11148
|
async function getInvitations(httpClient, signal) {
|
|
11144
11149
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11145
11150
|
}
|
|
@@ -11156,7 +11161,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11156
11161
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11157
11162
|
}
|
|
11158
11163
|
//#endregion
|
|
11159
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11164
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11160
11165
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11161
11166
|
const searchParams = new URLSearchParams();
|
|
11162
11167
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11168,7 +11173,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11168
11173
|
return searchParams;
|
|
11169
11174
|
}
|
|
11170
11175
|
//#endregion
|
|
11171
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11176
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11172
11177
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11173
11178
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11174
11179
|
}
|
|
@@ -11183,7 +11188,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11183
11188
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11184
11189
|
}
|
|
11185
11190
|
//#endregion
|
|
11186
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11191
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11187
11192
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11188
11193
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11189
11194
|
}
|
|
@@ -11203,7 +11208,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11203
11208
|
});
|
|
11204
11209
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11205
11210
|
//#endregion
|
|
11206
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11211
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11207
11212
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11208
11213
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11209
11214
|
signal,
|
|
@@ -11214,12 +11219,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11214
11219
|
})).json();
|
|
11215
11220
|
}
|
|
11216
11221
|
//#endregion
|
|
11217
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11222
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11218
11223
|
async function getStatus(httpClient, signal) {
|
|
11219
11224
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11220
11225
|
}
|
|
11221
11226
|
//#endregion
|
|
11222
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11227
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11223
11228
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11224
11229
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11225
11230
|
signal,
|
|
@@ -11247,7 +11252,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11247
11252
|
return response.json();
|
|
11248
11253
|
}
|
|
11249
11254
|
//#endregion
|
|
11250
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11255
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.351_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_7b62aef69cade02cab3a09c36c351cbb/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11251
11256
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11252
11257
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11253
11258
|
}
|
|
@@ -33953,4 +33958,4 @@ Common commands:
|
|
|
33953
33958
|
//#endregion
|
|
33954
33959
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33955
33960
|
|
|
33956
|
-
//# sourceMappingURL=program-
|
|
33961
|
+
//# sourceMappingURL=program-Cg-1tTpd.js.map
|
package/build/program.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createProgram } from "./program-
|
|
1
|
+
import { t as createProgram } from "./program-Cg-1tTpd.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.239",
|
|
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.
|
|
59
|
+
"@toggl/queries": "2.2.351",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|