@togglhq/cli 1.13.74 → 1.13.76

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-vWv4sVQX.js";
2
+ import { a as CommanderError, i as shutdownCliTelemetry, n as captureCliException, r as initCliTelemetry, t as createProgram } from "./program-BklQ8ONG.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-vWv4sVQX.js";
1
+ import { t as createProgram } from "./program-BklQ8ONG.js";
2
2
  export { createProgram };
@@ -14986,6 +14986,21 @@ async function getArchivedProject(httpClient, organization_id, workspace_id, pro
14986
14986
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
14987
14987
  }
14988
14988
  //#endregion
14989
+ //#region ../focus-queries/dist/archived-time-entries/requests.ts
14990
+ async function getArchivedTimeEntriesClassic(httpClient, organization_id, workspace_id, { date_from, date_to, page = 1, per_page, task_id, project_id }, signal) {
14991
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries`, {
14992
+ signal,
14993
+ searchParams: buildSearchParams$2({
14994
+ date_from,
14995
+ date_to,
14996
+ page,
14997
+ per_page,
14998
+ task_id,
14999
+ project_id
15000
+ })
15001
+ }).json();
15002
+ }
15003
+ //#endregion
14989
15004
  //#region ../focus-queries/dist/attachments/requests.ts
14990
15005
  async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
14991
15006
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
@@ -17120,6 +17135,40 @@ const generatedFocusOperations = [
17120
17135
  ]));
17121
17136
  }
17122
17137
  },
17138
+ {
17139
+ id: "focus.archived-time-entries.get",
17140
+ family: "focus",
17141
+ resource: "archived-time-entries",
17142
+ action: "get",
17143
+ title: "Get Archived Time Entries",
17144
+ description: "Get Archived Time Entries.",
17145
+ safety: "read",
17146
+ destructive: false,
17147
+ cli: {
17148
+ group: ["archived-time-entries"],
17149
+ command: "get",
17150
+ interactive: "hidden"
17151
+ },
17152
+ mcp: { entityTool: "archived-time-entries" },
17153
+ inputSchema: /* @__PURE__ */ looseObject({
17154
+ date_from: /* @__PURE__ */ unknown$1(),
17155
+ date_to: /* @__PURE__ */ unknown$1(),
17156
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17157
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
17158
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
17159
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
17160
+ }),
17161
+ execute: (input, { client }) => {
17162
+ const data = input;
17163
+ return client.runGeneratedRequest("getArchivedTimeEntriesClassic", () => callGeneratedRequest(getArchivedTimeEntriesClassic, [
17164
+ client.httpClient,
17165
+ client.organizationId,
17166
+ client.workspaceIdNumber,
17167
+ data,
17168
+ void 0
17169
+ ]));
17170
+ }
17171
+ },
17123
17172
  {
17124
17173
  id: "focus.attachments.get-workspace-attachment-storage",
17125
17174
  family: "focus",
@@ -30865,4 +30914,4 @@ Common commands:
30865
30914
  //#endregion
30866
30915
  export { CommanderError as a, shutdownCliTelemetry as i, captureCliException as n, initCliTelemetry as r, createProgram as t };
30867
30916
 
30868
- //# sourceMappingURL=program-vWv4sVQX.js.map
30917
+ //# sourceMappingURL=program-BklQ8ONG.js.map
package/build/program.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as createProgram } from "./program-vWv4sVQX.js";
1
+ import { t as createProgram } from "./program-BklQ8ONG.js";
2
2
  export { createProgram };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/cli",
3
- "version": "1.13.74",
3
+ "version": "1.13.76",
4
4
  "description": "Toggl CLI for Toggl 2.0 API operations.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",