@togglhq/cli 1.12.2 → 1.12.4
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-Vw9BcBUW.js → program-DPMUKfI3.js} +17 -11
- 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-DPMUKfI3.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-DPMUKfI3.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -9971,7 +9971,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
9971
9971
|
}
|
|
9972
9972
|
//#endregion
|
|
9973
9973
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
9974
|
-
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) {
|
|
9974
|
+
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, 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, 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) {
|
|
9975
9975
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
9976
9976
|
signal,
|
|
9977
9977
|
searchParams: buildSearchParams$2({
|
|
@@ -9986,6 +9986,8 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
|
|
|
9986
9986
|
task_assignee_team_id,
|
|
9987
9987
|
task_include_unassigned,
|
|
9988
9988
|
task_name,
|
|
9989
|
+
task_occurrence_window_date,
|
|
9990
|
+
task_occurrence_window_days,
|
|
9989
9991
|
page,
|
|
9990
9992
|
per_page,
|
|
9991
9993
|
order_by,
|
|
@@ -10369,7 +10371,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10369
10371
|
})
|
|
10370
10372
|
}).json();
|
|
10371
10373
|
}
|
|
10372
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10374
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, occurrence_window_date, occurrence_window_days, page, per_page } = {}, signal) {
|
|
10373
10375
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10374
10376
|
signal,
|
|
10375
10377
|
searchParams: buildSearchParams$2({
|
|
@@ -10379,6 +10381,8 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
|
|
|
10379
10381
|
include_unassigned,
|
|
10380
10382
|
search,
|
|
10381
10383
|
only_me,
|
|
10384
|
+
occurrence_window_date,
|
|
10385
|
+
occurrence_window_days,
|
|
10382
10386
|
page,
|
|
10383
10387
|
per_page
|
|
10384
10388
|
})
|
|
@@ -10800,7 +10804,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
|
|
|
10800
10804
|
]))
|
|
10801
10805
|
});
|
|
10802
10806
|
//#endregion
|
|
10803
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10807
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
|
|
10804
10808
|
async function getInvitations(httpClient, signal) {
|
|
10805
10809
|
return (await httpClient.get(`invitations`, { signal })).json();
|
|
10806
10810
|
}
|
|
@@ -10817,7 +10821,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
|
|
|
10817
10821
|
return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
|
|
10818
10822
|
}
|
|
10819
10823
|
//#endregion
|
|
10820
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10824
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/utils/requests.mjs
|
|
10821
10825
|
function buildSearchParams(params, flattenArrays = false) {
|
|
10822
10826
|
const searchParams = new URLSearchParams();
|
|
10823
10827
|
Object.entries(params).forEach(([key, value]) => {
|
|
@@ -10829,7 +10833,7 @@ function buildSearchParams(params, flattenArrays = false) {
|
|
|
10829
10833
|
return searchParams;
|
|
10830
10834
|
}
|
|
10831
10835
|
//#endregion
|
|
10832
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10836
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
|
|
10833
10837
|
async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
|
|
10834
10838
|
return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
|
|
10835
10839
|
}
|
|
@@ -10843,7 +10847,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
|
|
|
10843
10847
|
return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
|
|
10844
10848
|
}
|
|
10845
10849
|
//#endregion
|
|
10846
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10850
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
|
|
10847
10851
|
async function getWorkspaces(httpClient, organization_id, signal) {
|
|
10848
10852
|
return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
|
|
10849
10853
|
}
|
|
@@ -10863,7 +10867,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
|
|
|
10863
10867
|
});
|
|
10864
10868
|
const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
|
|
10865
10869
|
//#endregion
|
|
10866
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10870
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
|
|
10867
10871
|
async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
|
|
10868
10872
|
return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
|
|
10869
10873
|
signal,
|
|
@@ -10874,12 +10878,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
|
|
|
10874
10878
|
})).json();
|
|
10875
10879
|
}
|
|
10876
10880
|
//#endregion
|
|
10877
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10881
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
|
|
10878
10882
|
async function getStatus(httpClient, signal) {
|
|
10879
10883
|
return (await httpClient.get(`shared_data/api/status`, { signal })).json();
|
|
10880
10884
|
}
|
|
10881
10885
|
//#endregion
|
|
10882
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10886
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
|
|
10883
10887
|
async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
|
|
10884
10888
|
return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
|
|
10885
10889
|
signal,
|
|
@@ -10907,7 +10911,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
|
|
|
10907
10911
|
return response.json();
|
|
10908
10912
|
}
|
|
10909
10913
|
//#endregion
|
|
10910
|
-
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.
|
|
10914
|
+
//#region ../../node_modules/.pnpm/@toggl+queries@2.2.184_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_82f947175013b808696933604b43df1e/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
|
|
10911
10915
|
async function getMyWorkingHours(httpClient, organization_id, signal) {
|
|
10912
10916
|
return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
|
|
10913
10917
|
}
|
|
@@ -23903,6 +23907,8 @@ const generatedFocusOperations = [
|
|
|
23903
23907
|
mcp: { entityTool: "tasks" },
|
|
23904
23908
|
inputSchema: /* @__PURE__ */ looseObject({
|
|
23905
23909
|
include_unassigned: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23910
|
+
occurrence_window_date: /* @__PURE__ */ optional$1(/* @__PURE__ */ pipe$2(/* @__PURE__ */ string$1(), /* @__PURE__ */ isoDate$1())),
|
|
23911
|
+
occurrence_window_days: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23906
23912
|
only_me: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23907
23913
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23908
23914
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -29576,4 +29582,4 @@ Common commands:
|
|
|
29576
29582
|
//#endregion
|
|
29577
29583
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29578
29584
|
|
|
29579
|
-
//# sourceMappingURL=program-
|
|
29585
|
+
//# sourceMappingURL=program-DPMUKfI3.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-DPMUKfI3.js";
|
|
2
2
|
export { createProgram };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@togglhq/cli",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.4",
|
|
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.184",
|
|
60
60
|
"@types/node": "22.19.11",
|
|
61
61
|
"tsdown": "0.21.8",
|
|
62
62
|
"typescript": "5.9.3",
|