@togglhq/cli 1.13.277 → 1.13.279
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-BBCJxpu6.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-BBCJxpu6.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) {
|
|
@@ -18674,6 +18680,37 @@ const generatedFocusOperations = [
|
|
|
18674
18680
|
]));
|
|
18675
18681
|
}
|
|
18676
18682
|
},
|
|
18683
|
+
{
|
|
18684
|
+
id: "focus.archived-clients.restore",
|
|
18685
|
+
family: "focus",
|
|
18686
|
+
resource: "archived-clients",
|
|
18687
|
+
action: "restore",
|
|
18688
|
+
title: "Restore Archived Clients",
|
|
18689
|
+
description: "Restore Archived Clients.",
|
|
18690
|
+
safety: "update",
|
|
18691
|
+
destructive: false,
|
|
18692
|
+
cli: {
|
|
18693
|
+
group: ["archived-clients"],
|
|
18694
|
+
command: "restore",
|
|
18695
|
+
interactive: "default"
|
|
18696
|
+
},
|
|
18697
|
+
mcp: { entityTool: "archived-clients" },
|
|
18698
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
18699
|
+
client_id: /* @__PURE__ */ number$2(),
|
|
18700
|
+
payload: /* @__PURE__ */ looseObject({ request_id: /* @__PURE__ */ string$1() })
|
|
18701
|
+
}),
|
|
18702
|
+
execute: (input, { client }) => {
|
|
18703
|
+
const data = input;
|
|
18704
|
+
return client.runGeneratedRequest("restoreArchivedClient", () => callGeneratedRequest(restoreArchivedClient, [
|
|
18705
|
+
client.httpClient,
|
|
18706
|
+
client.organizationId,
|
|
18707
|
+
client.workspaceIdNumber,
|
|
18708
|
+
data.client_id,
|
|
18709
|
+
data.payload ?? data.data ?? data,
|
|
18710
|
+
void 0
|
|
18711
|
+
]));
|
|
18712
|
+
}
|
|
18713
|
+
},
|
|
18677
18714
|
{
|
|
18678
18715
|
id: "focus.archived-projects.get",
|
|
18679
18716
|
family: "focus",
|
|
@@ -31789,9 +31826,6 @@ const generatedFocusOperations = [
|
|
|
31789
31826
|
pomodoro_mode_break_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
31790
31827
|
pomodoro_mode_session_duration_mins: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
|
|
31791
31828
|
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
31829
|
send_daily_brief: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31796
31830
|
send_timer_notifications: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31797
31831
|
shortcuts_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
@@ -31805,7 +31839,6 @@ const generatedFocusOperations = [
|
|
|
31805
31839
|
"always",
|
|
31806
31840
|
"ask"
|
|
31807
31841
|
])),
|
|
31808
|
-
task_privacy_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31809
31842
|
theme: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1([
|
|
31810
31843
|
"light",
|
|
31811
31844
|
"dark",
|
|
@@ -31814,7 +31847,6 @@ const generatedFocusOperations = [
|
|
|
31814
31847
|
time_format: /* @__PURE__ */ optional$1(/* @__PURE__ */ picklist$1(["12h", "24h"])),
|
|
31815
31848
|
time_tracking_mode_enabled: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31816
31849
|
time_tracking_mode_fullscreen: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31817
|
-
timeline_education_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31818
31850
|
tooltip_onboarding_dismissed: /* @__PURE__ */ optional$1(/* @__PURE__ */ boolean$1()),
|
|
31819
31851
|
tos_ack_decoupled_licenses: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
31820
31852
|
trial_ended_modal_seen: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
|
|
@@ -34081,4 +34113,4 @@ Common commands:
|
|
|
34081
34113
|
//#endregion
|
|
34082
34114
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
34083
34115
|
|
|
34084
|
-
//# sourceMappingURL=program-
|
|
34116
|
+
//# sourceMappingURL=program-BBCJxpu6.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-BBCJxpu6.js";
|
|
2
2
|
export { createProgram };
|