@togglhq/cli 1.13.119 → 1.13.120

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-DSif_ndK.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BH-uMw3C.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-DSif_ndK.js";
1
+ import { t as createProgram } from "./program-BH-uMw3C.js";
2
2
  export { createProgram };
@@ -16027,6 +16027,12 @@ async function searchMentions(httpClient, organization_id, workspace_id, { keywo
16027
16027
  }
16028
16028
  //#endregion
16029
16029
  //#region ../focus-queries/dist/sharedreports/requests.ts
16030
+ async function getMemberOwnedSharedReports(httpClient, organization_id, user_id, signal) {
16031
+ return await httpClient.get(`organizations/${organization_id}/users/${user_id}/shared-reports`, { signal }).json();
16032
+ }
16033
+ async function takeOverMemberSharedReports(httpClient, organization_id, user_id, signal) {
16034
+ return await httpClient.post(`organizations/${organization_id}/users/${user_id}/shared-reports/take-over`, { signal }).json();
16035
+ }
16030
16036
  async function shareSavedView(httpClient, workspace_id, id, data, signal) {
16031
16037
  return await httpClient.post(`workspaces/${workspace_id}/saved-views/${id}/share`, {
16032
16038
  signal,
@@ -23815,6 +23821,32 @@ const generatedFocusOperations = [
23815
23821
  ]));
23816
23822
  }
23817
23823
  },
23824
+ {
23825
+ id: "focus.sharedreports.get-member-owned-shared-reports",
23826
+ family: "focus",
23827
+ resource: "sharedreports",
23828
+ action: "get-member-owned-shared-reports",
23829
+ title: "Get Member Owned Shared Reports Sharedreports",
23830
+ description: "Get Member Owned Shared Reports Sharedreports.",
23831
+ safety: "read",
23832
+ destructive: false,
23833
+ cli: {
23834
+ group: ["sharedreports"],
23835
+ command: "get-member-owned-shared-reports",
23836
+ interactive: "available"
23837
+ },
23838
+ mcp: { entityTool: "sharedreports" },
23839
+ inputSchema: /* @__PURE__ */ looseObject({ user_id: /* @__PURE__ */ number$2() }),
23840
+ execute: (input, { client }) => {
23841
+ const data = input;
23842
+ return client.runGeneratedRequest("getMemberOwnedSharedReports", () => callGeneratedRequest(getMemberOwnedSharedReports, [
23843
+ client.httpClient,
23844
+ client.organizationId,
23845
+ data.user_id,
23846
+ void 0
23847
+ ]));
23848
+ }
23849
+ },
23818
23850
  {
23819
23851
  id: "focus.sharedreports.get-saved-view-shared-report",
23820
23852
  family: "focus",
@@ -24157,6 +24189,32 @@ const generatedFocusOperations = [
24157
24189
  ]));
24158
24190
  }
24159
24191
  },
24192
+ {
24193
+ id: "focus.sharedreports.take-over-member-shared-reports",
24194
+ family: "focus",
24195
+ resource: "sharedreports",
24196
+ action: "take-over-member-shared-reports",
24197
+ title: "Take Over Member Shared Reports Sharedreports",
24198
+ description: "Take Over Member Shared Reports Sharedreports.",
24199
+ safety: "update",
24200
+ destructive: false,
24201
+ cli: {
24202
+ group: ["sharedreports"],
24203
+ command: "take-over-member-shared-reports",
24204
+ interactive: "default"
24205
+ },
24206
+ mcp: { entityTool: "sharedreports" },
24207
+ inputSchema: /* @__PURE__ */ looseObject({ user_id: /* @__PURE__ */ number$2() }),
24208
+ execute: (input, { client }) => {
24209
+ const data = input;
24210
+ return client.runGeneratedRequest("takeOverMemberSharedReports", () => callGeneratedRequest(takeOverMemberSharedReports, [
24211
+ client.httpClient,
24212
+ client.organizationId,
24213
+ data.user_id,
24214
+ void 0
24215
+ ]));
24216
+ }
24217
+ },
24160
24218
  {
24161
24219
  id: "focus.sharedreports.unshare-shared-report",
24162
24220
  family: "focus",
@@ -31376,4 +31434,4 @@ Common commands:
31376
31434
  //#endregion
31377
31435
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
31378
31436
 
31379
- //# sourceMappingURL=program-DSif_ndK.js.map
31437
+ //# sourceMappingURL=program-BH-uMw3C.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-DSif_ndK.js";
1
+ import { t as createProgram } from "./program-BH-uMw3C.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.119",
3
+ "version": "1.13.120",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",