@togglhq/cli 1.13.207 → 1.13.208
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-
|
|
2
|
+
import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-CR_l78NL.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-CR_l78NL.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.
|
|
11129
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11146
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11158
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11173
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11193
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11204
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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.
|
|
11237
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.333_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_346a1d9d17229c4b3a5c875ce913f40d/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
|
}
|
|
@@ -31424,6 +31424,11 @@ const generatedFocusOperations = [
|
|
|
31424
31424
|
has_reached_task_threshold: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31425
31425
|
import_data_banner_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31426
31426
|
new_users_trial_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31427
|
+
notification_delivery: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
31428
|
+
"email",
|
|
31429
|
+
"slack",
|
|
31430
|
+
"both"
|
|
31431
|
+
])),
|
|
31427
31432
|
notify_project_alerts: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31428
31433
|
notify_project_member_added: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31429
31434
|
notify_task_assigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -33687,4 +33692,4 @@ Common commands:
|
|
|
33687
33692
|
//#endregion
|
|
33688
33693
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33689
33694
|
|
|
33690
|
-
//# sourceMappingURL=program-
|
|
33695
|
+
//# sourceMappingURL=program-CR_l78NL.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-CR_l78NL.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.208",
|
|
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.333",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|