@togglhq/cli 1.13.217 → 1.13.219
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-DlJo-27k.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-DlJo-27k.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -11130,7 +11130,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
11130
11130
|
]))
|
|
11131
11131
|
});
|
|
11132
11132
|
//#endregion
|
|
11133
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11133
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
11134
11134
|
async function getInvitations(httpClient, signal) {
|
|
11135
11135
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
11136
11136
|
}
|
|
@@ -11147,7 +11147,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
11147
11147
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
11148
11148
|
}
|
|
11149
11149
|
//#endregion
|
|
11150
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11150
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
11151
11151
|
function buildSearchParams(params, flattenArrays = false) {
|
|
11152
11152
|
const searchParams = new URLSearchParams();
|
|
11153
11153
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -11159,7 +11159,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
11159
11159
|
return searchParams;
|
|
11160
11160
|
}
|
|
11161
11161
|
//#endregion
|
|
11162
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11162
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
11163
11163
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
11164
11164
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
11165
11165
|
}
|
|
@@ -11174,7 +11174,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
11174
11174
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
11175
11175
|
}
|
|
11176
11176
|
//#endregion
|
|
11177
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11177
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
11178
11178
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
11179
11179
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
11180
11180
|
}
|
|
@@ -11194,7 +11194,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
11194
11194
|
});
|
|
11195
11195
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11196
11196
|
//#endregion
|
|
11197
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11197
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11198
11198
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11199
11199
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11200
11200
|
signal,
|
|
@@ -11205,12 +11205,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11205
11205
|
})).json();
|
|
11206
11206
|
}
|
|
11207
11207
|
//#endregion
|
|
11208
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11208
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11209
11209
|
async function getStatus(httpClient, signal) {
|
|
11210
11210
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11211
11211
|
}
|
|
11212
11212
|
//#endregion
|
|
11213
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11213
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11214
11214
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11215
11215
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11216
11216
|
signal,
|
|
@@ -11238,7 +11238,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11238
11238
|
return response.json();
|
|
11239
11239
|
}
|
|
11240
11240
|
//#endregion
|
|
11241
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11241
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.343_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_9792ee0d7813dbd646c98e5691657953/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11242
11242
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11243
11243
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11244
11244
|
}
|
|
@@ -33803,4 +33803,4 @@ Common commands:
|
|
|
33803
33803
|
//#endregion
|
|
33804
33804
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
33805
33805
|
|
|
33806
|
-
//# sourceMappingURL=program-
|
|
33806
|
+
//# sourceMappingURL=program-DlJo-27k.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-DlJo-27k.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.219",
|
|
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.343",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|