@togglhq/cli 1.11.216 → 1.11.217
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-BgWsjXmX.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-BgWsjXmX.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -7680,68 +7680,6 @@ const ProjectWithAggregationsSchema = /* @__PURE__ */ object({
|
|
|
7680
7680
|
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7681
7681
|
source_template_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7682
7682
|
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7683
|
-
task_group_counts: /* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
7684
|
-
eligible_total: /* @__PURE__ */ number(),
|
|
7685
|
-
matching_total: /* @__PURE__ */ number()
|
|
7686
|
-
})),
|
|
7687
|
-
tasks: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ object({
|
|
7688
|
-
allocation_unit: /* @__PURE__ */ picklist(["percent", "flat"]),
|
|
7689
|
-
created_at: /* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()),
|
|
7690
|
-
eligible_child_count: /* @__PURE__ */ number(),
|
|
7691
|
-
estimate_type: /* @__PURE__ */ picklist(["daily", "total"]),
|
|
7692
|
-
group_id: /* @__PURE__ */ pipe(/* @__PURE__ */ number(), /* @__PURE__ */ description("GroupID stays stable when a hidden parent is represented by an eligible child.")),
|
|
7693
|
-
id: /* @__PURE__ */ number(),
|
|
7694
|
-
is_template: /* @__PURE__ */ boolean(),
|
|
7695
|
-
matching_child_count: /* @__PURE__ */ number(),
|
|
7696
|
-
name: /* @__PURE__ */ string(),
|
|
7697
|
-
parent_visible: /* @__PURE__ */ boolean(),
|
|
7698
|
-
pinned: /* @__PURE__ */ boolean(),
|
|
7699
|
-
position: /* @__PURE__ */ number(),
|
|
7700
|
-
priority: /* @__PURE__ */ picklist([
|
|
7701
|
-
"none",
|
|
7702
|
-
"low",
|
|
7703
|
-
"medium",
|
|
7704
|
-
"high"
|
|
7705
|
-
]),
|
|
7706
|
-
private: /* @__PURE__ */ boolean(),
|
|
7707
|
-
selectable: /* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("Selectable is false for ineligible parents and nonmatching context parents under unified_search.")),
|
|
7708
|
-
source: /* @__PURE__ */ string(),
|
|
7709
|
-
status_id: /* @__PURE__ */ number(),
|
|
7710
|
-
subtasks: /* @__PURE__ */ array(TaskSchema),
|
|
7711
|
-
tag_ids: /* @__PURE__ */ array(/* @__PURE__ */ number()),
|
|
7712
|
-
tags: /* @__PURE__ */ array(TagLiteSchema),
|
|
7713
|
-
toggl_user_id: /* @__PURE__ */ number(),
|
|
7714
|
-
workspace_id: /* @__PURE__ */ number(),
|
|
7715
|
-
archived_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7716
|
-
assignee_user_ids: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ number())),
|
|
7717
|
-
assignees: /* @__PURE__ */ optional(/* @__PURE__ */ array(TaskAssignmentSchema)),
|
|
7718
|
-
auto_log_time: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7719
|
-
billable: /* @__PURE__ */ optional(/* @__PURE__ */ nullable(/* @__PURE__ */ boolean())),
|
|
7720
|
-
client: /* @__PURE__ */ optional(ClientLiteSchema),
|
|
7721
|
-
color: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7722
|
-
custom_field_values: /* @__PURE__ */ optional(/* @__PURE__ */ array(CustomFieldValueSchema)),
|
|
7723
|
-
deleted_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime())),
|
|
7724
|
-
description: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7725
|
-
end_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7726
|
-
estimated_mins: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7727
|
-
is_recurring_series: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ boolean(), /* @__PURE__ */ description("IsRecurringSeries marks a canonical series root (S). Server-owned and read-only: no current API path can set it, and the response only exposes the marker while series behavior stays disabled."))),
|
|
7728
|
-
metadata: /* @__PURE__ */ optional(TaskMetadataSchema),
|
|
7729
|
-
notes: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7730
|
-
parent_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7731
|
-
parent_task_name: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7732
|
-
priority_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7733
|
-
project: /* @__PURE__ */ optional(ProjectLiteSchema),
|
|
7734
|
-
project_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7735
|
-
recurrence_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7736
|
-
recurring_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7737
|
-
rollup_enabled: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
|
|
7738
|
-
rrule: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7739
|
-
source_template_task_id: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7740
|
-
start_date: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDate())),
|
|
7741
|
-
status: /* @__PURE__ */ optional(StatusLiteSchema),
|
|
7742
|
-
status_updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ string()),
|
|
7743
|
-
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7744
|
-
}))),
|
|
7745
7683
|
total_tasks: /* @__PURE__ */ optional(/* @__PURE__ */ number()),
|
|
7746
7684
|
updated_at: /* @__PURE__ */ optional(/* @__PURE__ */ pipe(/* @__PURE__ */ string(), /* @__PURE__ */ isoDateTime()))
|
|
7747
7685
|
});
|
|
@@ -10122,14 +10060,12 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
|
|
|
10122
10060
|
}
|
|
10123
10061
|
//#endregion
|
|
10124
10062
|
//#region ../focus-queries/dist/projects/requests.ts
|
|
10125
|
-
async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts,
|
|
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) {
|
|
10126
10064
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
|
|
10127
10065
|
signal,
|
|
10128
10066
|
searchParams: buildSearchParams$2({
|
|
10129
10067
|
member_only,
|
|
10130
10068
|
include_task_counts,
|
|
10131
|
-
include_tasks,
|
|
10132
|
-
unified_search,
|
|
10133
10069
|
include_picker_parent_group_counts,
|
|
10134
10070
|
task_archived,
|
|
10135
10071
|
task_recurring,
|
|
@@ -10524,7 +10460,7 @@ async function putTasksCalendarRange(httpClient, organization_id, workspace_id,
|
|
|
10524
10460
|
})
|
|
10525
10461
|
}).json();
|
|
10526
10462
|
}
|
|
10527
|
-
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned,
|
|
10463
|
+
async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace_id, { project_id, without_project, pinned_only, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10528
10464
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/groups`, {
|
|
10529
10465
|
signal,
|
|
10530
10466
|
searchParams: buildSearchParams$2({
|
|
@@ -10532,7 +10468,6 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
|
|
|
10532
10468
|
without_project,
|
|
10533
10469
|
pinned_only,
|
|
10534
10470
|
include_unassigned,
|
|
10535
|
-
unified_search,
|
|
10536
10471
|
search,
|
|
10537
10472
|
only_me,
|
|
10538
10473
|
page,
|
|
@@ -10540,14 +10475,13 @@ async function getPickerTaskGroupsClassic(httpClient, organization_id, workspace
|
|
|
10540
10475
|
})
|
|
10541
10476
|
}).json();
|
|
10542
10477
|
}
|
|
10543
|
-
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned,
|
|
10478
|
+
async function getPickerTaskChildrenClassic(httpClient, organization_id, workspace_id, parent_task_id, { project_id, without_project, include_unassigned, search, only_me, page, per_page } = {}, signal) {
|
|
10544
10479
|
return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/picker/parents/${parent_task_id}/children`, {
|
|
10545
10480
|
signal,
|
|
10546
10481
|
searchParams: buildSearchParams$2({
|
|
10547
10482
|
project_id,
|
|
10548
10483
|
without_project,
|
|
10549
10484
|
include_unassigned,
|
|
10550
|
-
unified_search,
|
|
10551
10485
|
search,
|
|
10552
10486
|
only_me,
|
|
10553
10487
|
page,
|
|
@@ -23725,7 +23659,6 @@ const generatedFocusOperations = [
|
|
|
23725
23659
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23726
23660
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23727
23661
|
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23728
|
-
unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23729
23662
|
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23730
23663
|
}),
|
|
23731
23664
|
execute: (input, { client }) => {
|
|
@@ -23763,7 +23696,6 @@ const generatedFocusOperations = [
|
|
|
23763
23696
|
pinned_only: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23764
23697
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
23765
23698
|
search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23766
|
-
unified_search: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
23767
23699
|
without_project: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1())
|
|
23768
23700
|
}),
|
|
23769
23701
|
execute: (input, { client }) => {
|
|
@@ -29355,4 +29287,4 @@ Common commands:
|
|
|
29355
29287
|
//#endregion
|
|
29356
29288
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
29357
29289
|
|
|
29358
|
-
//# sourceMappingURL=program-
|
|
29290
|
+
//# sourceMappingURL=program-BgWsjXmX.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-BgWsjXmX.js";
|
|
2
2
|
export { createProgram };
|