@togglhq/cli 1.11.210 → 1.11.212
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-CNR-mRc7.js → program-B3EtOckP.js} +20 -13
- 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-B3EtOckP.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-B3EtOckP.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10060,10 +10060,11 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10060
10060
|
}
|
|
10061
10061
|
//#endregion
|
|
10062
10062
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10063
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { include_task_counts, 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, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_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) {
|
|
10063
|
+
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, 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, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, assignee_user_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) {
|
|
10064
10064
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10065
10065
|
signal,
|
|
10066
10066
|
searchParams: buildSearchParams$2({
|
|
10067
|
+
member_only,
|
|
10067
10068
|
include_task_counts,
|
|
10068
10069
|
include_picker_parent_group_counts,
|
|
10069
10070
|
task_archived,
|
|
@@ -10323,7 +10324,7 @@ async function restoreStatuses(httpClient, workspace_id, status_id, signal) {
|
|
|
10323
10324
|
}
|
|
10324
10325
|
//#endregion
|
|
10325
10326
|
//#region ../focus-queries/dist/tasks/requests.ts
|
|
10326
|
-
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10327
|
+
async function getTasksClassic(httpClient, organization_id, workspace_id, { page, per_page, with_entries, pinned, order_by, status_id, toggl_user_id, name, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_rates, include_assignees, include_parent_matches, disable_aggregations, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10327
10328
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks`, {
|
|
10328
10329
|
signal,
|
|
10329
10330
|
searchParams: buildSearchParams$2({
|
|
@@ -10339,6 +10340,7 @@ async function getTasksClassic(httpClient, organization_id, workspace_id, { page
|
|
|
10339
10340
|
has_dates,
|
|
10340
10341
|
private: private_,
|
|
10341
10342
|
archived,
|
|
10343
|
+
active_project,
|
|
10342
10344
|
include_project_completed,
|
|
10343
10345
|
include_drafts,
|
|
10344
10346
|
project_id,
|
|
@@ -10511,7 +10513,7 @@ async function getTasksRecurringInstancesClassic(httpClient, organization_id, wo
|
|
|
10511
10513
|
})
|
|
10512
10514
|
}).json();
|
|
10513
10515
|
}
|
|
10514
|
-
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10516
|
+
async function getStreamTasks(httpClient, organization_id, workspace_id, { with_entries, pinned, order_by, status_id, toggl_user_id, name, include_parent_matches, has_time_entries, has_dates, private: private_, archived, active_project, include_project_completed, include_drafts, project_id, parent_task_id, start_date, end_date, active_by_date, start_date_from, start_date_to, end_date_from, end_date_to, dates_overlap_start, dates_overlap_end, estimated_mins_min, estimated_mins_max, source, priority, is_priority, state, team_id, assignee_team_id, assignee_user_id, tag_id, recurring, recurring_task_ids, client_id, include_assignees, cf_filter, recurring_occurrences_after, max_recurring_occurrences_after, recurring_task_read, include_projected_occurrences } = {}, signal) {
|
|
10515
10517
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/stream`, {
|
|
10516
10518
|
signal,
|
|
10517
10519
|
searchParams: buildSearchParams$2({
|
|
@@ -10526,6 +10528,7 @@ async function getStreamTasks(httpClient, organization_id, workspace_id, { with_
|
|
|
10526
10528
|
has_dates,
|
|
10527
10529
|
private: private_,
|
|
10528
10530
|
archived,
|
|
10531
|
+
active_project,
|
|
10529
10532
|
include_project_completed,
|
|
10530
10533
|
include_drafts,
|
|
10531
10534
|
project_id,
|
|
@@ -10894,7 +10897,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10894
10897
|
]))
|
|
10895
10898
|
});
|
|
10896
10899
|
//#endregion
|
|
10897
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10900
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10898
10901
|
async function getInvitations(httpClient, signal) {
|
|
10899
10902
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10900
10903
|
}
|
|
@@ -10911,7 +10914,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10911
10914
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10912
10915
|
}
|
|
10913
10916
|
//#endregion
|
|
10914
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10917
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10915
10918
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10916
10919
|
const searchParams = new URLSearchParams();
|
|
10917
10920
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10923,7 +10926,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10923
10926
|
return searchParams;
|
|
10924
10927
|
}
|
|
10925
10928
|
//#endregion
|
|
10926
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10929
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10927
10930
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10928
10931
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10929
10932
|
}
|
|
@@ -10937,7 +10940,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10937
10940
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10938
10941
|
}
|
|
10939
10942
|
//#endregion
|
|
10940
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10943
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10941
10944
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10942
10945
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10943
10946
|
}
|
|
@@ -10957,7 +10960,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10957
10960
|
});
|
|
10958
10961
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10959
10962
|
//#endregion
|
|
10960
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10963
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10961
10964
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10962
10965
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10963
10966
|
signal,
|
|
@@ -10968,12 +10971,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10968
10971
|
})).json();
|
|
10969
10972
|
}
|
|
10970
10973
|
//#endregion
|
|
10971
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10974
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10972
10975
|
async function getStatus(httpClient, signal) {
|
|
10973
10976
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10974
10977
|
}
|
|
10975
10978
|
//#endregion
|
|
10976
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10979
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10977
10980
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10978
10981
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10979
10982
|
signal,
|
|
@@ -11001,7 +11004,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
11001
11004
|
return response.json();
|
|
11002
11005
|
}
|
|
11003
11006
|
//#endregion
|
|
11004
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
11007
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.177_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_b6ba219c28e9406106b4bc0e3c2924a5/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
11005
11008
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
11006
11009
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
11007
11010
|
}
|
|
@@ -23768,6 +23771,7 @@ const generatedFocusOperations = [
|
|
|
23768
23771
|
mcp: { entityTool: "tasks" },
|
|
23769
23772
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23770
23773
|
active_by_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23774
|
+
active_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23771
23775
|
archived: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23772
23776
|
assignee_team_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23773
23777
|
assignee_user_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -27211,7 +27215,10 @@ const generatedFocusOperations = [
|
|
|
27211
27215
|
interactive: "default"
|
|
27212
27216
|
},
|
|
27213
27217
|
mcp: { entityTool: "users" },
|
|
27214
|
-
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
27218
|
+
inputSchema: /* @__PURE__ */ looseObject({ payload: /* @__PURE__ */ looseObject({
|
|
27219
|
+
has_opened_focus: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
27220
|
+
work_introduction_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1())
|
|
27221
|
+
}) }),
|
|
27215
27222
|
execute: (input, { client }) => {
|
|
27216
27223
|
const data = input;
|
|
27217
27224
|
return client.runGeneratedRequest("partialUpdateUserWorkspaceSettings", () => callGeneratedRequest(partialUpdateUserWorkspaceSettings, [
|
|
@@ -29246,4 +29253,4 @@ Common commands:
|
|
|
29246
29253
|
//#endregion
|
|
29247
29254
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29248
29255
|
|
|
29249
|
-
//# sourceMappingURL=program-
|
|
29256
|
+
//# sourceMappingURL=program-B3EtOckP.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-B3EtOckP.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.212",
|
|
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.177",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|