@togglhq/cli 1.13.278 → 1.13.280
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-KEO_tpBS.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-KEO_tpBS.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -15559,6 +15559,12 @@ async function getArchivedClientsClassic(httpClient, organization_id, workspace_
|
|
|
15559
15559
|
async function getArchivedClient(httpClient, organization_id, workspace_id, client_id, signal) {
|
|
15560
15560
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients/${client_id}`, { signal })).json();
|
|
15561
15561
|
}
|
|
15562
|
+
async function restoreArchivedClient(httpClient, organization_id, workspace_id, client_id, data, signal) {
|
|
15563
|
+
return (await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/archived/clients/${client_id}/restore`, {
|
|
15564
|
+
signal,
|
|
15565
|
+
json: data
|
|
15566
|
+
})).json();
|
|
15567
|
+
}
|
|
15562
15568
|
//#endregion
|
|
15563
15569
|
//#region ../focus-queries/dist/archived-projects/requests.ts
|
|
15564
15570
|
async function getArchivedProjectsClassic(httpClient, organization_id, workspace_id, { page = 1, per_page, name, client_id } = {}, signal) {
|
|
@@ -17058,7 +17064,7 @@ async function getUserTaskGroupsByTeam(httpClient, organization_id, workspace_id
|
|
|
17058
17064
|
})
|
|
17059
17065
|
})).json();
|
|
17060
17066
|
}
|
|
17061
|
-
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
17067
|
+
async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, group, { source, priority, status_id, project_id, client_id, assignee_user_id, tag_id, team_id, user_tag_id, group_id, pinned_user_ids, creator_id, name, start_date, end_date, start_date_from, start_date_to, end_date_from, end_date_to, private: private_, exclude_empty, include_unassigned, include_unmaterialized, collapse_recurring, include_assignees, min_days, include_drafts, cf_filter, user_cf_filter, page, per_page, order_by, xTimelineFetchTrigger } = {}, signal) {
|
|
17062
17068
|
return (await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/tasks/groups/${group}`, {
|
|
17063
17069
|
signal,
|
|
17064
17070
|
headers: { "X-Timeline-Fetch-Trigger": xTimelineFetchTrigger },
|
|
@@ -17073,6 +17079,7 @@ async function getTaskGroupsClassic(httpClient, organization_id, workspace_id, g
|
|
|
17073
17079
|
team_id,
|
|
17074
17080
|
user_tag_id,
|
|
17075
17081
|
group_id,
|
|
17082
|
+
pinned_user_ids,
|
|
17076
17083
|
creator_id,
|
|
17077
17084
|
name,
|
|
17078
17085
|
start_date,
|
|
@@ -18674,6 +18681,37 @@ const generatedFocusOperations = [
|
|
|
18674
18681
|
]));
|
|
18675
18682
|
}
|
|
18676
18683
|
},
|
|
18684
|
+
{
|
|
18685
|
+
id: "focus.archived-clients.restore",
|
|
18686
|
+
family: "focus",
|
|
18687
|
+
resource: "archived-clients",
|
|
18688
|
+
action: "restore",
|
|
18689
|
+
title: "Restore Archived Clients",
|
|
18690
|
+
description: "Restore Archived Clients.",
|
|
18691
|
+
safety: "update",
|
|
18692
|
+
destructive: false,
|
|
18693
|
+
cli: {
|
|
18694
|
+
group: ["archived-clients"],
|
|
18695
|
+
command: "restore",
|
|
18696
|
+
interactive: "default"
|
|
18697
|
+
},
|
|
18698
|
+
mcp: { entityTool: "archived-clients" },
|
|
18699
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
18700
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
18701
|
+
payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() })
|
|
18702
|
+
}),
|
|
18703
|
+
execute: (input, { client }) => {
|
|
18704
|
+
const data = input;
|
|
18705
|
+
return client.runGeneratedRequest("restoreArchivedClient", () => callGeneratedRequest(restoreArchivedClient, [
|
|
18706
|
+
client.httpClient,
|
|
18707
|
+
client.organizationId,
|
|
18708
|
+
client.workspaceIdNumber,
|
|
18709
|
+
data.client_id,
|
|
18710
|
+
data.payload ?? data.data ?? data,
|
|
18711
|
+
void 0
|
|
18712
|
+
]));
|
|
18713
|
+
}
|
|
18714
|
+
},
|
|
18677
18715
|
{
|
|
18678
18716
|
id: "focus.archived-projects.get",
|
|
18679
18717
|
family: "focus",
|
|
@@ -28258,6 +28296,7 @@ const generatedFocusOperations = [
|
|
|
28258
28296
|
order_by: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
28259
28297
|
page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
28260
28298
|
per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
28299
|
+
pinned_user_ids: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
28261
28300
|
priority: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
28262
28301
|
private: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
28263
28302
|
project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
@@ -31789,9 +31828,6 @@ const generatedFocusOperations = [
|
|
|
31789
31828
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
31790
31829
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
31791
31830
|
pomodoro_mode_sound_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31792
|
-
project_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31793
|
-
reports_guide_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31794
|
-
reports_router_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31795
31831
|
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31796
31832
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31797
31833
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -31805,7 +31841,6 @@ const generatedFocusOperations = [
|
|
|
31805
31841
|
"always",
|
|
31806
31842
|
"ask"
|
|
31807
31843
|
])),
|
|
31808
|
-
task_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31809
31844
|
theme: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
31810
31845
|
"light",
|
|
31811
31846
|
"dark",
|
|
@@ -31814,7 +31849,6 @@ const generatedFocusOperations = [
|
|
|
31814
31849
|
time_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["12h", "24h"])),
|
|
31815
31850
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31816
31851
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31817
|
-
timeline_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31818
31852
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31819
31853
|
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
31820
31854
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -34081,4 +34115,4 @@ Common commands:
|
|
|
34081
34115
|
//#endregion
|
|
34082
34116
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
34083
34117
|
|
|
34084
|
-
//# sourceMappingURL=program-
|
|
34118
|
+
//# sourceMappingURL=program-KEO_tpBS.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-KEO_tpBS.js";
|
|
2
2
|
export { createProgram };
|