@togglhq/cli 1.13.23 → 1.13.25
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-CHU6dMAq.js → program-BptyB8fK.js} +11 -14
- 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-BptyB8fK.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-BptyB8fK.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10042,7 +10042,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10042
10042
|
}
|
|
10043
10043
|
//#endregion
|
|
10044
10044
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10045
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id,
|
|
10045
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
|
|
10046
10046
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10047
10047
|
signal,
|
|
10048
10048
|
searchParams: buildSearchParams$2({
|
|
@@ -10072,7 +10072,6 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
10072
10072
|
client_id,
|
|
10073
10073
|
creator_id,
|
|
10074
10074
|
tag_id,
|
|
10075
|
-
assignee_user_id,
|
|
10076
10075
|
project_id,
|
|
10077
10076
|
user_id,
|
|
10078
10077
|
only_me,
|
|
@@ -10886,7 +10885,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10886
10885
|
]))
|
|
10887
10886
|
});
|
|
10888
10887
|
//#endregion
|
|
10889
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10888
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10890
10889
|
async function getInvitations(httpClient, signal) {
|
|
10891
10890
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10892
10891
|
}
|
|
@@ -10903,7 +10902,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10903
10902
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10904
10903
|
}
|
|
10905
10904
|
//#endregion
|
|
10906
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10905
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10907
10906
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10908
10907
|
const searchParams = new URLSearchParams();
|
|
10909
10908
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10915,7 +10914,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10915
10914
|
return searchParams;
|
|
10916
10915
|
}
|
|
10917
10916
|
//#endregion
|
|
10918
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10917
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10919
10918
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10920
10919
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10921
10920
|
}
|
|
@@ -10929,7 +10928,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10929
10928
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10930
10929
|
}
|
|
10931
10930
|
//#endregion
|
|
10932
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10931
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10933
10932
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10934
10933
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10935
10934
|
}
|
|
@@ -10949,7 +10948,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10949
10948
|
});
|
|
10950
10949
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10951
10950
|
//#endregion
|
|
10952
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10951
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10953
10952
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10954
10953
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10955
10954
|
signal,
|
|
@@ -10960,12 +10959,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10960
10959
|
})).json();
|
|
10961
10960
|
}
|
|
10962
10961
|
//#endregion
|
|
10963
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10962
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10964
10963
|
async function getStatus(httpClient, signal) {
|
|
10965
10964
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10966
10965
|
}
|
|
10967
10966
|
//#endregion
|
|
10968
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10967
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10969
10968
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10970
10969
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10971
10970
|
signal,
|
|
@@ -10993,7 +10992,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10993
10992
|
return response.json();
|
|
10994
10993
|
}
|
|
10995
10994
|
//#endregion
|
|
10996
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10995
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.219_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_8e761ebae449438ebd5f3c821bf350e5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10997
10996
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10998
10997
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10999
10998
|
}
|
|
@@ -15476,7 +15475,7 @@ async function restoreMilestone(httpClient, workspace_id, milestone_id, signal)
|
|
|
15476
15475
|
}
|
|
15477
15476
|
//#endregion
|
|
15478
15477
|
//#region ../focus-queries/dist/project-groups/requests.ts
|
|
15479
|
-
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id,
|
|
15478
|
+
async function getProjectGroupsClassic(httpClient, organization_id, workspace_id, group, { page, per_page, order_by, project_order_by, projects_per_group, include_group_totals, include_unassigned, archived, completed, private: private_, name, client_id, creator_id, tag_id, parent_project_id, project_id, start_date, end_date, user_id, only_me, include_drafts, include_recurring_series, cf_filter } = {}, signal) {
|
|
15480
15479
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects/groups/${group}`, {
|
|
15481
15480
|
signal,
|
|
15482
15481
|
searchParams: buildSearchParams$2({
|
|
@@ -15495,7 +15494,6 @@ async function getProjectGroupsClassic(httpClient, organization_id, workspace_id
|
|
|
15495
15494
|
creator_id,
|
|
15496
15495
|
tag_id,
|
|
15497
15496
|
parent_project_id,
|
|
15498
|
-
assignee_user_id,
|
|
15499
15497
|
project_id,
|
|
15500
15498
|
start_date,
|
|
15501
15499
|
end_date,
|
|
@@ -19482,7 +19480,6 @@ const generatedFocusOperations = [
|
|
|
19482
19480
|
mcp: { entityTool: "projects" },
|
|
19483
19481
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
19484
19482
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
19485
|
-
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
19486
19483
|
cf_filter: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
19487
19484
|
client_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
19488
19485
|
completed: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -29861,4 +29858,4 @@ Common commands:
|
|
|
29861
29858
|
//#endregion
|
|
29862
29859
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29863
29860
|
|
|
29864
|
-
//# sourceMappingURL=program-
|
|
29861
|
+
//# sourceMappingURL=program-BptyB8fK.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-BptyB8fK.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.25",
|
|
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.219",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|