@togglhq/cli 1.13.72 → 1.13.74
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-Cm5YGViI.js → program-vWv4sVQX.js} +12 -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-vWv4sVQX.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-vWv4sVQX.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7807,6 +7807,7 @@ const OrganizationUserResponseSchema = /* @__PURE__ */ object({
|
|
|
7807
7807
|
workspace_user_id: /* @__PURE__ */ number()
|
|
7808
7808
|
})),
|
|
7809
7809
|
account_locked_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7810
|
+
can_receive_shared_reports: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("CanReceiveSharedReports is false for a member who may not receive a report shared in the requested workspace (a Guest). Present only when the request sets include_shared_report_receiver to true, the member has joined, and the lookup succeeded; always absent for a pending invitee. Absent means unknown, not false."))),
|
|
7810
7811
|
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7811
7812
|
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7812
7813
|
designations: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
@@ -9930,7 +9931,7 @@ async function getOrganizationTeamsClassic(httpClient, organization_id, { worksp
|
|
|
9930
9931
|
})
|
|
9931
9932
|
}).json();
|
|
9932
9933
|
}
|
|
9933
|
-
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, has_designations } = {}, signal) {
|
|
9934
|
+
async function getOrganizationUsersClassic(httpClient, organization_id, { workspaces, user_account_ids, org_user_ids, groups, toggl_products, active_status, roles, only_admins, filter, sort_dir, page, per_page, tag_ids, include_working_hours, include_rates, pinned_ids, has_group, track_without_focus, cf_filter, include_custom_fields, include_calendar_integration, include_designations, include_shared_report_receiver, has_designations } = {}, signal) {
|
|
9934
9935
|
const response = await httpClient.get(`organizations/${organization_id}/users`, {
|
|
9935
9936
|
signal,
|
|
9936
9937
|
searchParams: buildSearchParams$2({
|
|
@@ -9956,6 +9957,7 @@ async function getOrganizationUsersClassic(httpClient, organization_id, { worksp
|
|
|
9956
9957
|
include_custom_fields,
|
|
9957
9958
|
include_calendar_integration,
|
|
9958
9959
|
include_designations,
|
|
9960
|
+
include_shared_report_receiver,
|
|
9959
9961
|
has_designations
|
|
9960
9962
|
}, true)
|
|
9961
9963
|
});
|
|
@@ -10935,7 +10937,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10935
10937
|
]))
|
|
10936
10938
|
});
|
|
10937
10939
|
//#endregion
|
|
10938
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10940
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10939
10941
|
async function getInvitations(httpClient, signal) {
|
|
10940
10942
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10941
10943
|
}
|
|
@@ -10952,7 +10954,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10952
10954
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10953
10955
|
}
|
|
10954
10956
|
//#endregion
|
|
10955
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10957
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10956
10958
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10957
10959
|
const searchParams = new URLSearchParams();
|
|
10958
10960
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10964,7 +10966,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10964
10966
|
return searchParams;
|
|
10965
10967
|
}
|
|
10966
10968
|
//#endregion
|
|
10967
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10969
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10968
10970
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10969
10971
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10970
10972
|
}
|
|
@@ -10978,7 +10980,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10978
10980
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10979
10981
|
}
|
|
10980
10982
|
//#endregion
|
|
10981
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10983
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10982
10984
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10983
10985
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10984
10986
|
}
|
|
@@ -10998,7 +11000,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10998
11000
|
});
|
|
10999
11001
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
11000
11002
|
//#endregion
|
|
11001
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11003
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
11002
11004
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
11003
11005
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
11004
11006
|
signal,
|
|
@@ -11009,12 +11011,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
11009
11011
|
})).json();
|
|
11010
11012
|
}
|
|
11011
11013
|
//#endregion
|
|
11012
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11014
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
11013
11015
|
async function getStatus(httpClient, signal) {
|
|
11014
11016
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
11015
11017
|
}
|
|
11016
11018
|
//#endregion
|
|
11017
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11019
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
11018
11020
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
11019
11021
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
11020
11022
|
signal,
|
|
@@ -11042,7 +11044,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11042
11044
|
return response.json();
|
|
11043
11045
|
}
|
|
11044
11046
|
//#endregion
|
|
11045
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11047
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11046
11048
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11047
11049
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11048
11050
|
}
|
|
@@ -30863,4 +30865,4 @@ Common commands:
|
|
|
30863
30865
|
//#endregion
|
|
30864
30866
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
30865
30867
|
|
|
30866
|
-
//# sourceMappingURL=program-
|
|
30868
|
+
//# sourceMappingURL=program-vWv4sVQX.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-vWv4sVQX.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.74",
|
|
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.255",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|