@togglhq/cli 1.13.96 → 1.13.97
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--A4oIMMI.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--A4oIMMI.js";
|
|
2
2
|
export { createProgram };
|
|
@@ -10856,8 +10856,11 @@ async function partialUpdateTimeEntryWithOrg(httpClient, organization_id, worksp
|
|
|
10856
10856
|
async function archiveTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10857
10857
|
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/archive`, { signal }).json();
|
|
10858
10858
|
}
|
|
10859
|
-
async function logPlannedTimeWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10860
|
-
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/log`, {
|
|
10859
|
+
async function logPlannedTimeWithOrg(httpClient, organization_id, workspace_id, time_entry_id, data, signal) {
|
|
10860
|
+
return await httpClient.post(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/log`, {
|
|
10861
|
+
signal,
|
|
10862
|
+
json: data
|
|
10863
|
+
}).json();
|
|
10861
10864
|
}
|
|
10862
10865
|
async function restoreTimeEntryWithOrg(httpClient, organization_id, workspace_id, time_entry_id, signal) {
|
|
10863
10866
|
return await httpClient.patch(`organizations/${organization_id}/workspaces/${workspace_id}/time-entries/${time_entry_id}/restore`, { signal }).json();
|
|
@@ -26870,10 +26873,13 @@ const generatedFocusOperations = [
|
|
|
26870
26873
|
cli: {
|
|
26871
26874
|
group: ["time-entries"],
|
|
26872
26875
|
command: "log-planned-time",
|
|
26873
|
-
interactive: "
|
|
26876
|
+
interactive: "hidden"
|
|
26874
26877
|
},
|
|
26875
26878
|
mcp: { entityTool: "time-entries" },
|
|
26876
|
-
inputSchema: /* @__PURE__ */ looseObject({
|
|
26879
|
+
inputSchema: /* @__PURE__ */ looseObject({
|
|
26880
|
+
payload: /* @__PURE__ */ unknown$1(),
|
|
26881
|
+
time_entry_id: /* @__PURE__ */ number$2()
|
|
26882
|
+
}),
|
|
26877
26883
|
execute: (input, { client }) => {
|
|
26878
26884
|
const data = input;
|
|
26879
26885
|
return client.runGeneratedRequest("logPlannedTimeWithOrg", () => callGeneratedRequest(logPlannedTimeWithOrg, [
|
|
@@ -26881,6 +26887,7 @@ const generatedFocusOperations = [
|
|
|
26881
26887
|
client.organizationId,
|
|
26882
26888
|
client.workspaceIdNumber,
|
|
26883
26889
|
data.time_entry_id,
|
|
26890
|
+
data.payload ?? data.data ?? data,
|
|
26884
26891
|
void 0
|
|
26885
26892
|
]));
|
|
26886
26893
|
}
|
|
@@ -31327,4 +31334,4 @@ Common commands:
|
|
|
31327
31334
|
//#endregion
|
|
31328
31335
|
export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
|
|
31329
31336
|
|
|
31330
|
-
//# sourceMappingURL=program
|
|
31337
|
+
//# sourceMappingURL=program--A4oIMMI.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--A4oIMMI.js";
|
|
2
2
|
export { createProgram };
|